General

Sever setup of apache vhots, php with different versions, varnish, redis, proFTPD, Webmin, OpenVPN on CentOS 7

Install CentOS 7 and login in via putty. Change Password passwd Check for new updates yum check-update Update your server yum update Install commonly used programs yum install -y links htop nano Install the EPEL repository sudo yum install epel-release More info on https://support.rackspace.com/how-to/install-epel-and-additional-repositories-on-centos-and-red-hat/ Install Development Tools yum groupinstall "Development Tools" Command to list groups yum group list   Install PHP Install PHP-FPM and dependancies from base...

Read more...

Find linux command to get all extensions in a directory

Find all extensions in a directory find . -type f | sed -e 's/.*\.//' | sed -e 's/.*\///' | sort -u Find all extensions in a directory with count find . -type f | sed -e 's/.*\.//' | sed -e 's/.*\///' | sort | uniq -c | sort -rn Find all extensions in...

Read more...

Server Management Articles

How To Share PHP Sessions on Multiple Memcached Servers on Ubuntu 14.04 How To Set Up a Firewall Using IPTables on Ubuntu 14.04 How To Setup a Firewall with UFW on an Ubuntu and Debian Cloud Server

Read more...