Check for config syntax error
Almost all web server including Apache supports config file syntax checking. To run syntax check for config files, enter:
# httpd –t
# httpd –S
Apache and httpd running but Can’t see website for Centos 6.x
There are several possibilities.
• firewall, iptables configuration
• apache listen address / port
Install a DNS Server on Windows 2008 R2 Dedicated / Cloud Server
1. Open Server Manager. To open Server Manager, click Start, and then click Server Manager.
2. In the results pane, under Roles Summary, click Add roles.
3. In the Add Roles Wizard, if the Before You Begin page appears, click Next.
4. In the Roles list, click DNS Server, and then click Next.
5. Read the information on the DNS Server page, and then click Next.
6. On the Confirm Installation Options page, verify that the DNS Server role will be installed, and then click Install.
Is my DNS Server an Open Resolver
A open dns resolver provides name resolution to any clients outside of its LAN / WAN or authoritative domains. Open DNS resolvers are a bad as they are usually involved in attacking DDoS attacks, spoofing, DNS cache poisoning, and much more. It allows everyone to use your network resources and bandwidth. Run the following command to test your BIND DNS (or any other DNS software) server for open recursion:
How to Mount a Filesystem with a Delay After a Reboot
All systems get rebooted at the same time, and network filesystems must wait for the servers to be available.
This can take more than 5 to 10 minutes, so the server boot process cannot be delayed that long and an alternative solution is desired.
Create and Delete Group in CentOS/Red Hat
Command to create and delete group in Red Hat and CentOS linux
To create new group ,use given below command
# groupadd groupname
Show User Account Password Expiration
To get details of user account show account aging, password expiration ,we use the command chage.
With chage command use the option -l or –list.
Squid Service Start/Restart in CentOS
Log into SSH on your dedicated or cloud server.
Start the Squid service
#/etc/init.d/squid start
Find Installation Date and Time of RPM Package
RPM stands for Red Hat Packet Manager. It is a package management system in all Red Hat based Operating System (RHEL/CentOS/Scientific Linux). In RPM known file format .rpm is used. rpm.org community is involve in maintenance and development of RPM.
How to Use chown in Linux
Use the chown command to change file owner and group information. Use the chmod command to change file access permissions such as read, write, and access.