Jack 发布于5月13日 分享 发布于5月13日 LNMP一鍵包官網的升級教學 https://lnmp.org/faq/lnmp1-2-upgrade.html ---------------------------------------- MariaDB升級腳本 ---------------------------------------- screen -S lnmp cd /root/lnmp2.0/ ./upgrade.sh mariadb Enter current root password of Database (Password will not shown): 輸入資料庫root密碼 lnmp.org#XXXXX Current MariaDB Version:10.6.13 目前你的MariaDB版本 You can get version number from https://downloads.mariadb.org/ Please enter MariaDB Version you want. (example: 10.0.35 ): 到MariaDB官網可以獲得最新版本號 輸入 10.6.17 Using Generic Binaries [y/n]: 按 y Do you want to install the InnoDB Storage Engine? (Default yes, if you want please enter: y , if not please enter: n): 按 y ===================================================================== You will upgrade MariaDB V10.6.13 to V10.6.17 ===================================================================== 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/lnmp2.0/ ./upgrade.sh php Current PHP Version:8.1.19 目前你的PHP版本 You can get version number from http://www.php.net/ 到http://www.php.net/downloads.php 官網可以獲得最新版本號 Please enter a PHP Version you want: PHP有新的版本號 輸入 8.1.28 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 PHP升級後,如果phpmyadmin無法使用,就需要升級phpmyadmin 意见的链接 分享到其他网站 更多分享选项…
推荐的帖子
创建帐户或登录后发表意见
你需要成为会员才能发表意见
创建帐户
在我们的论坛注册新帐户,只需要几个简单步骤!
注册帐户登录
已有帐户?请登录。
立刻登录