Category: How To

  • Using Fail2ban to Secure Your Server

    Fail2ban is a log-parsing application that monitors system logs for symptoms of an automated attack on your Server Fail2ban is primarily focused on SSH attacks, although it can be further configured to work for any service that uses log files and can be subject to a compromise.   Installing Fail2ban apt-get install fail2ban General Settings […]

  • mysql service stops automatically

    The most common reason why MySQL is not running is that it stopped or failed to start as a result of not enough memory. This can usually be seen by attempting to start the mysql server (“service mysql start” on Ubuntu and some other systems) and then reviewing the mysql error log (usually in /var/log/mysql/error.log […]

  • Download WordPress through terminal and cleanup

    Remove Ftp Connection from plugin installation define(‘FS_METHOD’, ‘direct’);

  • cpu and memory overload too many /usr/sbin/apache2 -k start

    Limit the Number of Apache Processes and Children Most operating systems’ default Apache configurations are not well suited for smaller servers– 25 child processes or more is common. If each of your Apache child processes uses 120MB of RAM, then your VPS would need 3GB just for Apache. One visitor’s web browser may request 4 […]

  • Twitter Verification

    Twitter is now inviting any and all users to upgrade their accounts to verified status, a designation that until today was exclusively used to identify key individuals (celebrities, public figures and so on) and organizations on the microblogging platform as authentic. Verified accounts are designated by a blue badge icon with a white checkmark inside. […]

  • WordPress Email Not Sending in VPS

    You will need to install an MTA (Mail Transfer Agent) on your droplet in order to route mail for PHP. You can do this simply by installing postfix or sendmail on your droplet.   sudo apt-get install sendmail Configure hosts file correctly: nano /etc/hosts And make sure the line looks like this: 127.0.0.1 localhost localhost.localdomain […]

  • set up email in Outlook

    Requirements Before you start, be sure you have these handy: Your domain name: example.com Your email address: [email protected] Your email password. Configure Outlook 2011   If you are adding another email account to Outlook, from the top menu, click on Tools. Then click on Accounts. Click on the Email Account icon This window is where […]

  • Say Hello World In 27 Different Coding Languages

    Around 95% Programmer/Coder starts their programming life with a simple program that says “Hello, World“. I’m one of those 95% Programmer/Coder, and today I’ll show you how you can say “Hello, World” in 27 coding languages. 1. Bash echo “Hello World” 2. Basic PRINT “Hello, world!” 3. C #include int main(void) { puts(“Hello, world!”); } […]

  • Hide Apache Information on Ubuntu VPS/Dedicated Web server

    1. Modify security.conf : sudo nano /etc/apache2/conf-enabled/security.conf Change “ServerTokens OS” to “ServerTokens Prod” then Change “ServerSignature On” to “ServerSignature Off” 2. Restart the apache2 : sudo service apache2 restart * Restarting web server apache2 [ OK ] 3. Perform the following command before change and after change the configuration : sudo curl -I http://192.xxx.x.123 Done!! […]

  • Apache Virtual Hosts on VPS

    How To Set Up Apache Virtual Hosts on Ubuntu Access to VPS Before you start install Ubuntu or other Os like Fedora,Debian etc,Your new Droplet is all set to go! You can access it using the following credentials: example IP Address: 1xx.xx.1.123 Username: root Password: xxxxxxx you will get ip address via mail or  vps […]