Ruisu one-click installation script under Linux and Centos, Debian kernel replacement tutorial

Ruisu one-click installation script under Linux and Centos, Debian kernel replacement tutorial

1. Installation :

 wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh 'install'

2. Change kernel method :
(I) Changing the kernel of CentOS system
1. The kernel of CentOS 6 32-bit system is changed to: 2.6.32-504.el6

 rpm -ivh http://vault.centos.org/6.6/os/i386/Packages/kernel-firmware-2.6.32-504.el6.noarch.rpm --nodeps --force rpm -ivh http://vault.centos.org/6.6/os/i386/Packages/kernel-2.6.32-504.el6.i686.rpm --force

2. The kernel of CentOS 6 64-bit system is changed to: 2.6.32-642.el6.x86_64

 rpm -ivh http://vault.centos.org/6.8/os/x86_64/Packages/kernel-firmware-2.6.32-642.el6.noarch.rpm --nodeps --force rpm -ivh http://vault.centos.org/6.8/os/x86_64/Packages/kernel-2.6.32-642.el6.x86_64.rpm --force

3. The kernel of CentOS 7 system is changed to: 3.10.0-229.1.2.el7.x86_64

 rpm -ivh http://vault.centos.org/7.0.1406/os/x86_64/Packages/kernel-3.10.0-123.el7.x86_64.rpm --force

4. Check whether the kernel is replaced successfully

 rpm -qa | grep kernel

If successful, restart your VPS.

(II) Replacing the kernel of Debian system
Debian 8 64 changes the kernel to 3.16.0.4-deb kernel
1. Install a new kernel

 wget http://security-cdn.debian.org/pool/updates/main/l/linux/linux-image-3.16.0-4-amd64_3.16.43-2+deb8u5_amd64.deb dpkg -i linux-image-3.16.0-4*.deb

2. Delete the kernel

 dpkg -l|grep linux-image

All kernels will be displayed, delete all except 3.16.0.4

 apt-get remove 內核

Update system boot

 update-grub

Just restart

3. Force installation of the specified kernel version of Ruisu :

Check the kernel uname -r and find that the version number is 3.10.0-514.2.2.el7.x86_64
Check the version library: https://github.com/0oVicero0/serverSpeeder_kernel/blob/master/serverSpeeder.txt, find the closest one to start installing

 wget --no-check-certificate -O appex.sh https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && chmod +x appex.sh && bash appex.sh install '3.10.0-123.el7.x86_64'

Check whether it is started: /appex/bin/serverSpeeder.sh start
If not, change the version and repeat the above steps.

4. Uninstall :

 wget --no-check-certificate -qO /tmp/appex.sh "https://raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh" && bash /tmp/appex.sh 'uninstall'

5. Use :

啟動命令/appex/bin/serverSpeeder.sh start停止加速/appex/bin/serverSpeeder.sh stop狀態查詢/appex/bin/serverSpeeder.sh status更新許可/appex/bin/serverSpeeder.sh renewLic重新啟動/appex/bin/serverSpeeder.sh restart

Features: 0.#0 Only for Linux.

 *.從根本原因上解決斷流問題.(加速模塊開啟后驗證狀態造成的,掌聲在哪里?) *.斷流的根本原因是沒有完全破解驗證機制,延遲啟動是一個解決辦法.現在已經完全解決了這個問題(鍋是銳速啟動腳本不規范). 1.支持自動檢測公網網卡,多個網卡也能區分.(非正常網卡名字會提示自行輸入) 2.支持自動匹配內核(為了穩定運行,絕對匹配,需銳速支持). 3.添加詢問是否開啟accppp功能.(實測并開啟后沒有效果.) 4.默認設置為G口寬帶.(聽說設置大點可以提高速度) 5.支持一鍵完全卸載(此腳本安裝的無殘留). 6.所需文件均來自GiuHub,不放心可自行查閱.(完全公開,適合新手學習) 7.不支持自動更換內核,請自行更換.(網上教程非常多) 8.不支持OpenVZ,不需要嘗試,會告訴你找不到網卡. 9.吐槽: CentOS 居然連which 都要自己安裝,心好累.腳本將就著看吧.從解決斷流原因看打開accppp參數還是有點作用的. ##.除此腳本外,所有內容均來自互聯網.本人不負任何法律責任,僅供學習使用. #1.安裝文件appex.zip 為lotServer的, 增加了一些lotServer 加速模塊。(感謝@lotServer 提供安裝文件.) #2.使用前請日常update; 歡迎反饋bug. #3.確認銳速支持的情況下,如果不能成功安裝,請貼出error log , uname -a 以及ifconfig 方便我為您適配腳本.(別忘了給IPv4,IPv6打碼)

vi: https://moeclub.org/2017/03/08/14/

<<:  Swiftnode: $6.99/month/1GB memory/256GB space/2TB traffic/OpenVZ/Los Angeles

>>:  iWF Hosting: $8.99/month/2GB RAM/25GB SSD space/1.5TB bandwidth/KVM/Los Angeles

Recommend

OptimizedVPS 1GB RAM SSD Hard Drive Los Angeles KVM VPS Review

Details: OptimizedVPS: $15/year/512MB RAM/5GB SSD...

G-CORE 2GB RAM 200Mbps Bandwidth Russia Khabarovsk KVM VPS Review

Details : G-CORE: €4.99/month/1GB memory/512MB SS...

WeLoveServers: $8/year/256MB/10GB space/250GB traffic/OpenVZ

WeLoveServers has recently updated its version an...

Serve By Design: $15/year/128MB/10GB space/250GB traffic/OpenVZ

Serve By Design is an American hosting company fo...

Hetzner Cloud: Get 5 Euros for free and use VPS for 2 months

Hetzner, a long-established German hosting compan...

ALIENVPS USD 3.75 VPS. Contains coupon code

VPS – Unmanaged – UFO 1 -Plan Hard disk: 25GB Dat...

Tencent Cloud: 10 yuan/month/2GB memory/50GB space/unlimited traffic/1Mbps/domestic

Tencent Cloud’s activities are quite impressive. ...

Cloudflare Pages tutorial

Cloudflare Pages is a new service launched by Clo...