January 25, 2022 in Tips and Tricks, 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.
July 24, 2021 in Tips and Tricks, 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
July 24, 2021 in Tips and Tricks, Ubuntu
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 – […]
July 24, 2021 in Only Happened In India, Php, Tips and Tricks, Ubuntu
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 […]
July 24, 2021 in Tips and Tricks, 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.
July 16, 2021 in Technology, Tips and Tricks, Ubuntu
Here we will install and configure vsftpd (Very Secure File Transfer Protocol Daemon) on Ubuntu. Install vsftpd Update the package list and dependencies for vsftpd. Then second command download and Install vsftpd. Check the status of vsftpd ● vsftpd.service – vsftpd FTP server Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2020-04-27 […]