Category Archives: Linux

Linux discussions

How to resolve bash or shellshock vulnarability

This command will show you if your bash is vulnerable. # env x=’() { :;}; echo vulnerable’ bash -c “echo not vulnerable” If you get ” vulnerable ” then you need to upgrade and if you get ” not vulnerable” … Continue reading

Posted in Linux | Leave a comment

How to enable tab command completion on linux

1 login to user in which you want to set command completion. 2 after that check its shell by typing following command echo $SHELL 3 If you get /bin/sh than you need to change its shell and if you get … Continue reading

Posted in Linux | Leave a comment

How to install Cpanel in CentOS

Here are the steps to install Cpanel on CentOS server. It is recommended to have clean OS installation before you start installing Cpanel. iptables -F /etc/init.d/iptables save cd /home wget http://httpupdate.cpanel.net/latest chmod +x latest screen ./latest I can take 30 mins … Continue reading

Posted in Linux | Leave a comment

Install clamav on debian

Here are the quick steps to install clamav on Debian. 1) Login to your server 2) Edit /etc/apt/sources.list and add this line at the bottom of the file. deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free 3) Then run “apt-get update; apt-get … Continue reading

Posted in Linux | 5 Comments

Warning: mysql_connect() [function.mysql-connect]: User already has more than ‘max_user_connections’ active connections in

Here are the steps. Login to your server. # vi /etc/mysql/my.cnf Then add these lines in the config line. max_connections = 100 max_user_connections = 10000 Save and exit from the configuration file and restart mysql using this command. /etc/init.d/mysql restart … Continue reading

Posted in Linux | 7 Comments

How to create mysql database in cpanel

1) Login to your cpanel control panel. 2) You will find a main tab called “Databases” 3) Under that you will find a link called “Mysql Databases”. Just click on it and it will take you to the next page. … Continue reading

Posted in Linux | 25 Comments