[Solved] phpMyAdmin not found Ubuntu

php logo

Installing phpMyAdmin using apt-get utility in Ubuntu is easy. While browsing phpMyAdmin link, your browser may start displaying error message as Not Found The requested URL /phpmyadmin was not found on this server. Considering that apache2 is used to access phpMyAdmin: 1) Open apache2 configuration in any editor vi /etc/apache2/apache2.conf 2) Include following line in the configuration file Include /etc/phpmyadmin/apache.conf ... Read More »

[How To] Clear bash history in Linux

shell image

Sometimes, sensitive commands are present in your server bash history. Another user logging in the server will be able to access history of your commands as Linux stores command in the .bash_history file of the user. To delete / clear the bash history of a user, execute following command: history -c && history -w The above command will clear bash ... Read More »

[How To] Enable MySQL Event Scheduler status

mysql logo

The event scheduler in MySQL needs to be enabled for some applications to work flawlessly. In this case, a small change is required in the MySQL configuration file my.cnf. Steps: 1. Open my.cnf file in your favourite editor vi /etc/my.cnf 2. Add following line event_scheduler=on This will enable MySQL event scheduler on the server. 3. Restart MySQL service /etc/init.d/mysql restart ... Read More »

[How To] Allow htaccess override in Apache

apache logo

The htaccess override is by default disabled in the Apache Webserver. If you wish to enable htaccess override then small change is required in the Apache configuration file. 1) CentOS/RHEL: Backup the Apache configuration file "http.conf" Open the "http.conf" file in your favourite editor and look for the string "AllowOverride". Change it from "AllowOverride None" to "AllowOverride All". Make sure ... Read More »