Tag: ubuntu

  • 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 […]

  • Kill a Running Process in Ubuntu or any Linux Distro using Terminal

    Kill a Running Process in Ubuntu or any Linux Distro using Terminal

    How to kill a running process Open the Terminal Type: ps aux and press enter. long series of processes will appear in your Terminal. look for the application you want to kill find that process, you can see a PID number, example 3225 Now kill that process, type: sudo kill -9 process number (replaced ‘process […]