AWK Linux command

11 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

11 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

11 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

11 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

11 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

11 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

11 years ago

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

How to replace MySQL with Percona Server Debian or Ubuntu in Vesta Control Panel

11 years ago

Replace MySQL with Percona Server Debian or Ubuntu  You can safely replace MySQL with Percona Server without lossing any data.…

How to replace MySQL with Percona Server on RHEL or CentOS in Vesta Control Panel

11 years ago

Replace MySQL with Percona Server on RHEL or CentOS in Vesta Control Panel You can safely replace MySQL with Percona…

How to configure Service (SRV) Records in Vesta Control Panel

11 years ago

Configure Service (SRV) Records in Vesta Control Panel For the typical XMPP infrastructure we will need 3 DNS recods. One…