Categories

CentOS 6

Articles relating specifically to CentOS

Ubuntu 6

Articles relating specifically to Ubuntu

Articles

 Apache - Address already in use: make_sock: could not bind to address

Apache - Address already in use: make_sock: could not bind to address This error message can be...

 Backup mysql database

mysqldump -u root -p databasename > databasename.sql If you are using plesk, replace root...

 Clear postfix mail queue

Show QueuePostqueue -pDelete mail to/from mailboxpostqueue -p | tail -n +2 | awk 'BEGIN { RS = ""...

 FTP uploads have wrong permissions

When files are created in a folder via FTP, the permisions are not set to those of the folder....

 How to change mail server ip address for qmail

1) first check the domain names which are configured on the server by viewing following file...

 Improve ProFTPD performance

A quick fix to fix connectivity or slow connection issues when using ProFTPD is to edit some of...

 Increase MySQL Max Connections

To increase the maximum connections that mysql allows, you must edit the file /etc/my.cnf. Log...

 Install SNMP (Centos)

Centos6yum -y install snmp Centos7yum install net-snmp net-snmp-utils rename the file:...

 Online Backup installation

The Installation guide for Online Backup can be found here......

 Remove malicious web code

http://iscanner.isecur1ty.org/

 Run .cgi outside cgi-bin directory

By default runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from...

 SCP stalls when uploading

Centos: Enter the following at the command prompt:- echo "net.ipv4.tcp_sack = 0" >>...

 Setting pasv ports in PureFTP

  The PureFTP config file is here.... root@web-linux-cpanel [~]# grep -i passive...

 Slow ssh authentication

Problem: ssh login takes up to 30 seconds. Solution: It is likely to be a Reverse DNS issue....

 Using rsync to copy files

Here is a good guide on how to sync folders using...

 What can I use instead of TreeSize

There is a Windows program called Tree Size which shows disk usage. You can tell how much each...

 delete php sessions to free inodes.

Quick How To for the Impatient  1. Run following script to download clean-php-session-files.sh...