Jack 發表於2020年11月27日 分享 發表於2020年11月27日 (已編輯) ---------------------------------------- MariaDB升级脚本 ---------------------------------------- 命令 screen -S lnmp cd /root/lnmp1.9/ ./upgrade.sh mariadb Enter current root password of Database (Password will not shown): 输入数据库root密码 Current MariaDB Version:10.6.8 当前你的MariaDB版本 You can get version number from https://downloads.mariadb.org/ Please enter MariaDB Version you want. (example: 10.0.35 ): 到MariaDB官网获知最新版本号 输入 10.6.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.6.8 to V10.6.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.9/ ./upgrade.sh php Current PHP Version:8.1.7 当前你的PHP版本 You can get version number from http://www.php.net/ 到官网获知最新版本号 Please enter a PHP Version you want: 有新的版本号 输入 8.1.13 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 本文章最後於2022年12月6日,由Jack編輯 意見的連結
推薦的文章
建立帳號或登入後發表意見
你需要成為會員才能發表意見
建立帳號
在我們的論壇註冊新帳號,只需要幾個簡單步驟!
註冊帳號登入
已有帳號?請登入。
現在登入