Category: Ubuntu
-
optimize Linux server performance
Compress components with gzip Compression reduces response times by reducing the size of the HTTP response. Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today’s Internet traffic travels through browsers that claim to support gzip. Use cookie-free domains When the…
-
check last success login attempts ubuntu
In order to display extra information about the failed SSH logins, issue the command as shown in the below example.
-
check last failed login attempts ubuntu
In CentOS or RHEL, the failed SSH sessions are recorded in /var/log/secure file. Issue the above command against this log file to identify failed SSH logins. A slightly modified version of the above command to display failed SSH logins in CentOS or RHEL is as follows.
-
how to check zombie process in ubuntu
Find the zombie What you get is Zombies and anything else with a Z in it, so you will also get the grep: Find the zombie’s parent: Will give you: kill process ubuntu sudo kill -9 process_id Kill all processes you can kill. working your way up to -9
-
low performance of wordpress on ubuntu server slow
how to increase wordpress website speed without plugin
-
Apache Web Server start, stop, restart methods
systemctl command – Only works on systemd based Ubuntu like version 16.04 LTS and above. /etc/init.d/apache2 – A sys v init style script to start / stop / restart the Apache2 service under Debian or Ubuntu Linux. service command – This command work in most Linux distributions including Debian and Ubuntu. upstart command – Only works on certain version of Ubuntu. apache2ctl command –…
-
www-data is safe or not
For security. The files are not world writeable. They are restricted to the owner of the files for writing. The web server has to be run under a specific user. That user must exist. If it were run under root, then all the files would have to be accessible by root and the user would…
-
website enable and disable command in ubuntu
Command for enable website Your choices are: 000-default default-ssl soa-ssl soatechnologyWhich site(s) do you want to enable (wildcards ok)? Command for disable website Your choices are: 000-default default-ssl soa-ssl soatechnologyWhich site(s) do you want to enable (wildcards ok)? To list all enabled virtual hosts on the web server, run the following command in a terminal.
