Monthly Archives: July 2013

Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using for ServerName Linux [Redhat, Fedora, CentOS]

It’s because your server-name is missing in httpd.conf file.. sudo vim /etc/apache2/httpd.conf Insert the following line at the httpd.conf: ServerName localhost Just restart the Apache: sudo /etc/init.d/apache2 restart if you don’t have httpd.conf under /etc/apache2, you should have apache2.conf – … Continue reading

Yum Command Install, Uninstall, Update, List Packages : Linux [Redhat, CentOS, Fedora]

To install a package using yum use following command # yum install # yum install mysql To uninstall a package using yum use following command # yum remove # yum remove mysql To update a package using yum use following … Continue reading

Linux : How to Change User Password and Lock Unlock User

To change your own password, use following command: $ passwd To change other users password, your login must be as root: # passwd # passwd linuxuser1 To lock user account, use following command, your login must be as root: # … Continue reading