Jack Posted November 27, 2020 Share Posted November 27, 2020 (edited) 官网的升级教程 https://lnmp.org/faq/lnmp1-2-upgrade.html ---------------------------------------- MariaDB升级脚本 ---------------------------------------- 命令 screen -S lnmp cd /root/lnmp1.8/ ./upgrade.sh mariadb Enter current root password of Database (Password will not shown): 输入数据库root密码 Current MariaDB Version:10.4.19 当前你的MariaDB版本 You can get version number from https://downloads.mariadb.org/ Please enter MariaDB Version you want. (example: 10.0.35 ): 到MariaDB官网获知最新版本号 虽然有10.6的版本,不过我用10.5 输入 10.5.11 Do you want to install the InnoDB Storage Engine? (Default yes, if you want please enter: y , if not please enter: n): 启用InnoDB 输入 y ================================== You will upgrade MariaDB V10.4.19 to V10.5.11 ================================== Press any key to start...or Press Ctrl+c to cancel 敲任意键开始 开始漫长的升级过程,若断线 因为一开始就用命令 screen -S lnmp 去升级 那么恢复连线,可以敲命令继续 screen -r lnmp Starting LNMP... Starting nginx... done Starting php-fpm done ======== upgrade MariaDB completed ====== 重启 sudo reboot ---------------------------------------- PHP升级脚本 ---------------------------------------- 命令 screen -S lnmp cd /root/lnmp1.8/ ./upgrade.sh php Current PHP Version:8.0.8 当前你的PHP版本 You can get version number from http://www.php.net/ 到官网获知最新版本号 Please enter a PHP Version you want: PHP 8有新的版本号 输入 8.0.9 Press any key to start...or Press Ctrl+c to cancel 敲任意键开始 开始漫长的升级过程,若断线 因为一开始就用命令 screen -S lnmp 去升级 那么恢复连线,可以敲命令继续 screen -r lnmp Starting LNMP... Starting nginx... done Starting php-fpm done ======== upgrade php completed ====== 重启 sudo reboot Edited July 30, 2021 by Jack Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now