The following script is used to start mysql automatically when it is failed or stopped on the server. You can set 2 min cron “*/2 * * * * /bin/sh /root/automysqlstart.sh” and it restart the mysql automatically. #!/bin/bash #Checking whether MySQL is alive or not if mysqladmin ping | grep -q “alive”; then echo “MySQL is up” […]
See MoreWeb Hosting Blog - Hostripples
How to run bash scripts from local machine to remote linux machine
Q. How to run bash script from local machine to remote linux machine ? Ans : We can run the bash script from our local machine to remote machine without login to remote server. We will get the result of some commands on our local machine. The syntax of this command is ssh [user]@[server] ‘[command]’ […]
See MoreScript to restart any service automatically
We can set the cron to restart the server when it was down or not running. You can use following script to detect and restart the httpd,ngnix,Serv-U or any other services. 1) Create the file vi /root/autorestart.sh and add the following code and save it. You can replace the Serv-U with any your service like […]
See MoreTop Categories
Write For Us
Share your knowledge and expertise with our audience.
Do you have a flair for writing? We are calling out all the authors to write a guest post on our blog. If that sounds interesting to you, email us with your previous work samples at mark@hostripples.com
30 Days Money Back Guarantee
We believe in our service and our customers too. Customer satisfaction is one of our priorities.
99.99% Uptime Guarantee
Our high power dedicated servers are built to provide the excellent performance and guarantee that all the web server applications should run smoothly without any interruptions.
24/7 Technical Phone Support
We are available for 365x24x7. You can ask for any query or a doubt with our technical support team.
Earn Money Simply With Hostripples Web Hosting Affiliate!
No Sign-up Fees.
Get sign-up bonus.
Earn 5% Commission on each Sale.
Our Managed Web Hosting Services are suitable for all types of websites & businesses.
Join Now









You must be logged in to post a comment.