[Solved] libxslt is missing. please visit http://nokogiri.org

While installing Nokogiri on Ubuntu, you may get stuck with error libxslt is missing. please visit http://nokogiri.org/ The error occurs due to missing dependencies required for installing Nokogiri on Ubuntu. Install dependencies: sudo apt-get install libxslt-dev libxml2-dev Install Nokigiri: sudo gem install nokogiri The more information related to Nokogiri installation can be found here. Read More »

[Solved] phpmyadmin connection reset error

php logo

phpMyAdmin is a web interface use to work with MySQL database. It is possible to import/export database using phpMyAdmin. Sometimes, while importing/exporting database connection reset error may occur. Possible Reason: The error may occur due to network interruption or PHP memory limit. Solution: If there is no problem with the network connection then try increasing the PHP memory limit by ... Read More »

[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 »