Browsed by
Month: April 2016

Phpmyadmin Not Working After Installing In Linux

Phpmyadmin Not Working After Installing In Linux

Its easy to install phpmyadmin in normal case but in some case you have to go through the following command. For normal case sudo apt-get install phpmyadmin but in some cases although the installation is successful, you can’t access phpmyadmin panel by localhost/phpmyadmin on browser. For that case just add one line below in apache2.conf file. gksu gedit /etc/apache2/apache2.conf Then add the following line to the end of the file. Include /etc/phpmyadmin/apache.conf Then restart apache…

Read full Article Read More

How to edit hostname and hosts on Linux ?

How to edit hostname and hosts on Linux ?

Lets get direct to the command what it means: To edit hostname for the user , go to the command line ( Ctrl + Alt + T)  then use the following ommands. sudo gedit /etc/hostname In place of gedit you can use any text editor. And, for hosts sudo gedit /etc/hosts which results 127.0.0.1 localhost 127.0.1.1 saggi # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1…

Read full Article Read More

Unable to restart apache2 sever on ubuntu 14.04

Unable to restart apache2 sever on ubuntu 14.04

Recently, when I was restarting apache2 server then I encountered following problem: **”AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message”** Solution for the given problem is below two lines: 1.echo “ServerName localhost” | sudo tee /etc/apache2/conf-available/fqdn.conf 2.sudo ln -s /etc/apache2/conf-available/fqdn.conf /etc/apache2/conf-enabled/fqdn.conf For more visit this site: https://help.ubuntu.com/community/ApacheMySQLPHP Enjoy !