Https to http redirection

10 years ago

How to redirect domain from https://domain.com to http://domain.com ? Ans:  If you tried all the possibilities with the .htaccess file…

Make your shell colorful

10 years ago

You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server…

Email when access the server

10 years ago

Email when access the server It’s always a good practice & from the security point of view to get notified…

AWK Linux command

10 years ago

why awk? awk is small, fast, and simple, unlike, say, perl. awk also has a clean comprehensible C-like input language,…

Server Monitoring Scripts and commands

10 years ago

Script to delete a line from a file if it have a particular pattern sed -i "/"pattern"/d" filename find /home/…

Script to automatically start Nginx

10 years ago

You can use the following script to auto restart the nginx on the server. The following script check the status and…

Script to automatically start mysql

10 years ago

The following script is used to  start mysql automatically when it is failed or stopped on the server. You can set 2…

How to run bash scripts from local machine to remote linux machine

10 years ago

Q. How to run bash script from local machine to remote linux machine ? Ans : We can run the…

Script to restart any service automatically

10 years ago

We can set the cron to restart the server when it was down or not running. You can use following…

How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel

10 years ago

  Redirect HTTP to HTTPS using htaccess in Vesta Control Panel You can automatically redirect visitors to the secured (HTTPS)…