跳轉到內容
PHP論壇人

3.升级MariaDB版本、PHP版本


Jack

推薦的文章

----------------------------------------
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

 

本文章最後於,由Jack編輯
意見的連結

建立帳號或登入後發表意見

你需要成為會員才能發表意見

建立帳號

在我們的論壇註冊新帳號,只需要幾個簡單步驟!

註冊帳號

登入

已有帳號?請登入。

現在登入
×
×
  • 建立新的...