Linux VPS 一键安装锐速(LotServer)脚本

安装

Github地址:https://github.com/MoeClub/lotServer

锐速目前支持的操作系统和内核查看→传送门

 

安装锐速

#常规自动安装
bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install

#指定内核安装
bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install <Kernel Version>

#完全卸载
bash <(wget --no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) uninstall

使用命令

#启动命令
/appex/bin/lotServer.sh start 

#状态查询
/appex/bin/lotServer.sh status

#停止加速
/appex/bin/lotServer.sh stop

#更新许可,使用ifconfig查看网卡mac地址,替换00:00:00:00:00:00 
wget -qO /appex/etc/apx.lic 'https://api.moeclub.org/lotServer?mac=00:00:00:00:00:00'


更换内核
#CentOS 6 32位系统更换内核为2.6.32-504.el6
rpm -ivh http://vault.centos.org/6.6/centosplus/i386/Packages/kernel-firmware-2.6.32-504.el6.centos.plus.noarch.rpm
rpm -ivh http://vault.centos.org/6.6/centosplus/i386/Packages/kernel-2.6.32-504.el6.centos.plus.i686.rpm --force

#CentOS 6 64位系统更换内核为2.6.32-504.3.3.el6.x86_64
rpm -ivh http://vault.centos.org/6.6/centosplus/x86_64/Packages/kernel-firmware-2.6.32-504.3.3.el6.centos.plus.noarch.rpm
rpm -ivh http://vault.centos.org/6.6/centosplus/x86_64/Packages/kernel-2.6.32-504.3.3.el6.centos.plus.x86_64.rpm --force

#CentOS 7系统更换内核为3.10.0-229.1.2.el7.x86_64
rpm -ivh http://dev.centos.org/c7.01.u/kernel/20150327030147/3.10.0-229.1.2.el7.x86_64/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force

查看内核是否更换成功,使用命令:

rpm -qa | grep kernel

如果成功,重启VPS即可。

文章地址:https://www.moerats.com/archives/36/

璃羽

所有文章采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可 如有疑问或需求请在下方留言!!!

留下你的评论

*评论支持代码高亮<pre class="prettyprint linenums">代码</pre>

相关推荐