AWS 下 Ubuntu 安裝最新XAMPP 實操

2021-07-03 05:49:46 字數 2734 閱讀 5570

一.安裝前檢查更新

> $ sudo apt-get update
sudo apt-get install axel

axel  

/xampp/files

/xampp%20linux/

5.6.8/xampp-linux-x64-5.6.8-0-installer.run

三.安裝xampp:

安裝成功!

四.啟動

啟動成功!

五.安全設定:

xampp預設安裝之後是很不安全的,普通使用者不用任何密碼就可以訪問其web管理頁面,修改資料庫。 下面是xampp安裝後的一些軟體的預設使用者名稱及密碼:mysql的超級使用者是root,無密碼;允許通過網路訪問mysql資料庫;proftpd 使用者為daemon,密碼為lampp;允許通過網路訪問xampp管理頁面,使用者是lampp,無密碼。

安全設定,命令:

/opt/lampp/lampp security

xampp: quick security check…

xampp: your xampp pages are not secured by a password.

xampp: do you want to set a password? [yes]

xampp: password:

xampp: password (again):

xampp: password protection active. please use 『lampp』 as user name!

xampp: mysql is accessable via network.

xampp: normaly that』s not recommended. do you want me to turn it off? [yes]

xampp: turned off.

xampp: the mysql/phpmyadmin user pma has no password set!!!

xampp: do you want to set a password? [yes]

xampp: password:

xampp: password (again):

xampp: mysql has no root passwort set!!!

xampp: do you want to set a password? [yes]

xampp: write the password somewhere down to make sure you won』t forget it!!!

xampp: password:

xampp: password (again):

xampp: setting new mysql root password.

xampp: change phpmyadmin』s authentication method.

xampp: the ftp password is still set to 『lampp』.

xampp: do you want to change the password? [yes]

xampp: password:

xampp: password (again):

xampp: reload proftpd…

xampp: done.

「your xampp pages are not secured by

a password.」-為xampp頁面設定密碼;

「mysql is accessable via network.」-指設定是否允許通過網路訪問mysql資料庫,為了**資料的安全需要將其設為no;
「mysql

hasno

root

passwort

set!

!!」指mysql的超級使用者root沒有設定密碼,設密碼;

「the ftp password is still set

to'lampp'.」指ftp 當前密碼為lampp,改密碼。

安全配置done!

最新版 Ubuntu下安裝posgtresql

一 安裝並配置,並設定遠端登陸的使用者名稱和密碼 1 安裝postgresql sudo apt get update sudo apt get install postgresql 2 修改postgres資料庫使用者的密碼為123456 開啟客戶端工具 psql sudo u postgres ...

ubuntu 下安裝x264庫

安裝依賴的包 code sudo apt get update sudo apt get install build essential git core checkinstall texi2html libfaac dev libopencore amrnb dev libopencore amr...

ubuntu 下安裝使用mysql,最新教程

先上乙個安裝指南 安裝mysql 1,sudo apt get update ubuntu系統安裝什麼軟體,一定要先執行這一步 3,安裝過程會提示輸入root密碼兩次,只需輸入你想設定的密碼 4,mysql version 檢視版本,安裝成功 5,sudo mysql u root p 登入mysq...