Ubuntu下Mariadb安裝配置

2021-10-24 12:41:53 字數 1662 閱讀 2363

sudo apt update

sudo apt install mariadb-server mariadb-client

設為開機自啟

sudo systemctl enable mariadb

啟動mariadb

sudo systemctl start mariadb

初始化mariadb

sudo mysql_secure_installation

按照指引完成配置

enter current password for root (enter for none): 

change the root password? [y/n] y

new password:

re-enter new password:

remove anonymous users? [y/n] y

disallow root login remotely? [y/n] y

remove test database and access to it? [y/n] y

reload privilege tables now? [y/n] y

all done! if you』ve completed all of the above steps, your mariadb

installation should now be secure.

thanks for using mariadb!

看到all done就知道mariadb配置完成

sudo mysql -uroot

即可進入mariadb

sudo apt update

sudo apt install mariadb-server mariadb-client

設為開機自啟

sudo systemctl enable mariadb

啟動mariadb

sudo systemctl start mariadb

初始化mariadb

sudo mysql_secure_installation

按照指引完成配置

enter current password for root (enter for none): 

change the root password? [y/n] y

new password:

re-enter new password:

remove anonymous users? [y/n] y

disallow root login remotely? [y/n] y

remove test database and access to it? [y/n] y

reload privilege tables now? [y/n] y

Ubuntu下的Adobe Reader安裝過程

ubutun下的adobe reader 安裝過程 命令顯示 tmp adobe目錄中的所有檔案,會發現有個adobereader的目錄,cd進入該目錄,執行命令.install安裝adobe reader 安裝過程中會給出提示,根據提示選這相應的安裝步驟完成安裝過程。3 假如剛才adobe rea...

在ubuntu下安顯示卡驅動

在ubuntu下安顯示卡驅動 第一步 首先檢查顯示卡驅動是否安裝好,執行 glxinfo head 第二步 刪除原來的驅動包,執行 sudo apt get purege remove nvidia glx nvidia glx new 然後刪除 lib linux restricted modul...

ubuntu下postgreSQL9 6安裝配置

1 安裝postgresql sudo add apt repository deb xenial pgdg main wget quiet o sudo apt key add sudo apt get update sudo apt get install postgresql 9.6 2 修改...