A install script for netspeeder
This script is based on netspeeder install script
Modified the dumped Netspeeder Code URL and respective install command , because the Project migrate from GoogleCode to GithubCode
-
Download the install script
wget https://github.com/windhyk/netspeeder-install/archive/master.zipunzip master.zip -
Execute install command
cd netspeeder-install-mastersh netspeeder.sh -
Result
type command
ps -Aorps -aux|grep netspeederyou should see 'net_speeder' process
xxx xxxx xx:xx:xx net_speederor
root xxx xxx x.x xxxxx~xxxx /usr/local/netspeeder/net_speeder venet0 ip
Netspeeder may shutdown sometimes, so we should use command 'crontab' to run a restart script automatic.
-
Download the bash script 'autorestart.sh'
-
Copy 'autorestart.sh' to /opt/ with command 'cp autorestart.sh /opt/autorestart.sh'
Make sure 'autorestart.sh' is executable with command 'chmod +x autorestart.sh'
-
Type 'crontab -e' to edit crontab command
-
Then type command
*/1 * * * * /opt/autorestart.sh
save and exit the crontab edit
-
Check crontab with 'crontab -l'
-
Start crontab service
service crond start or service cron start