deb 中标麒麟_银河麒麟4.0.2桌面版(arm平台)搭建Tomcat+Apache+nginx 环境

1、安装银河麒麟操作系统

2、更换系统源

deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib

#deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib

deb http://mirrors.aliyun.com/debian-security stretch/updates main

#deb-src http://mirrors.aliyun.com/debian-security stretch/updates main

deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib

#deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib

deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib

#deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe

3、更新源

apt update

4、安装Nginx

apt-getb install nginx-common

0074123568f9bfe4862eaaf49da9f7a6.png

apt-get install nginx-core

affc20653c0f6c48003e0cd9355aeef7.png

apt-get install nginx

5ccc8611cdd21ae30d2d57c6283bb344.png

查看nginx状态:

8107089c3ed3ab97a3f3817071739ec5.png

5、安装Tomcat

apt-get install tomcat8 tomcat8-docs tomcat8-examples tomcat8-admin

ca2b1fb05ba7d3d14dae0a2c8e7ccada.png

6、安装Apache

apt-get install apache2

7、修改nginx端口号为81


版权声明:本文为weixin_36238706原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。