海外ubuntu,lamp,ftp,phpmyadmin配置

时间:2023-03-09 01:57:03
海外ubuntu,lamp,ftp,phpmyadmin配置

海外ubuntu,lamp,ftp,phpmyadmin配置


1. 更换源

1.1 clean /etc/apt/sources.list file

1.2 Ubuntu Sources List Generator:

https://repogen.simplylinux.ch/

1.3 copy the sources from the link above in the sources.lists

1.4 sudo apt-get update

2. 安装lamp

一键安装LAMP服务:
sudo tasksel install lamp-server

一键卸载LAMP:

sudo tasksel remove lamp-server

3. 安装FTP

http://linux-sys-adm.com/ubuntu-16.04-lts-how-to-install-and-configure-vsftpd-on-ubuntu/

http://www.cnblogs.com/CSGrandeur/p/3754126.html

4. 安装phpmyadmin

https://linux.cn/article-7463-1.html

sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf-enabled/phpmyadmin.conf