首页| 论坛| 消息
主题:docker
回帖:deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service -> /lib/systemd/system/nginx.service
deb http://ftp.cn.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ stable main contrib non-free
deb http://ftp.cn.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main
deb http://ftp.debian.org/debian buster-backports main
deb-src http://ftp.debian.org/debian buster-backports main

http://mirrors.ustc.edu.cn/debian
deb http://ftp.cn.debian.org/debian/ stretch main contrib non-free
deb http://ftp.cn.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main
deb http://ftp.debian.org/debian stretch-backports main
deb http://ftp.cn.debian.org/debian/ oldstable main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ oldstable main contrib non-free
deb http://ftp.cn.debian.org/debian/ oldstable-updates main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ oldstable-updates main contrib non-free
deb http://security.debian.org/ oldstable/updates main
deb-src http://security.debian.org/ oldstable/updates main
deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main

deb http://mirrors.ustc.edu.cn/debian stretch main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stretch-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stretch-backports main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free

apt install -y php php-fpm php7.3-mysql php7.3-gd php7.3-curl php7.3-mbstring

php-apcu : Conflicts: php-yac but 2.0.1+0.9.2-1 is to be installed
php-yac : Conflicts: php-apcu but 5.1.8+4.0.11-1 is to be installed
Conflicts: php-user-cache
php7.0-dev : Depends: libpcre3-dev (>= 1:8.20) but it is not going to be installed
php7.0-interbase : Depends: libfbclient2 (>= 2.5.0.25784~ReleaseCandidate1.ds2) but it is not going to be installed
php7.0-readline : Depends: libncurses5 (>= 6) but it is not going to be installed
Depends: libtinfo5 (>= 6) but it is not going to be installed
php7.0-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1.7+deb9u3~dfsg) but it is not going to be installed

aptitude install -y php7.0 php7.0-fpm php7.0-mysql php7.0-gd php7.0-curl php7.0-mbstring
apt install php7.3-fpm php7.3-mysql php7.3-curl php7.3-gd php7.3-mbstring php7.3-xml php7.3-xmlrpc php7.3-zip php7.3-opcache -y
https://packages.sury.xyz/php/
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.xyz/php/apt.gpg --no-check-certificate

wget -c http://xxxxxxxxx.pth --no-check-certificate
docker pull mysql:5.7
docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=qq165s8.com -d mysql/mysql-server
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'qq165s8.com';
docker run --name nginx -p 8080:80 -d nginx
docker pull php:7.3-fpm

create user root@'%' identified by 'qq165s8.com';
grant all privileges on *.* to root@'%' with grant option;
ALTER USER 'root'@'%' ID
下一页 (1/3)
下一楼›:# 忽略
docker rm Portainer -f
docker volume rm Portainer_data
# 创建卷
doc ..
‹上一楼:aptitude install -y php7.0 php7.0-fpm php7.0-mysql php7.0-gd php7.0-curl php7.0-mbstring

查看全部回帖(9)