2.0安装 除了MySQL其它都失败了
Debian 12 除了MySQL其它都失败了[0;32mPress any key to install...or Press Ctrl+c to cancel[0m
You will install lnmp stack.
nginx-1.24.0
mysql-8.0.33
php-8.2.6
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: https://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
Database Directory: /usr/local/mysql/var
Default Website Directory: /home/wwwroot/default
LNMP Version: 2.0
Debian 12
Debian GNU/Linux 12 \n \l
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Linux debian 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux
Memory is: 15941 MB
Filesystem SizeUsed Avail Use% Mounted on
udev 7.8G 07.8G 0% /dev
tmpfs 1.6G1.2M1.6G 1% /run
/dev/sdb2 273G1.4G257G 1% /
tmpfs 7.8G 07.8G 0% /dev/shm
tmpfs 5.0M 05.0M 0% /run/lock
/dev/sdb1 511M 12M500M 3% /boot/efi
tmpfs 1.6G 01.6G 0% /run/user/0
OpenSSL 3.0.9 30 May 2023 (Library: OpenSSL 3.0.9 30 May 2023)
Server Location: CN
Hosts: ok.
PING lnmp.org (47.254.56.155) 56(84) bytes of data.
--- lnmp.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
DNS...ok
Try http://soft.vpser.net ...
http://soft.vpser.net http code: 302
PING in.vpser.net (81.70.180.148) 56(84) bytes of data.
64 bytes from 81.70.180.148 (81.70.180.148): icmp_seq=1 ttl=54 time=38.9 ms
64 bytes from 81.70.180.148 (81.70.180.148): icmp_seq=2 ttl=54 time=38.6 ms
64 bytes from 81.70.180.148 (81.70.180.148): icmp_seq=3 ttl=54 time=38.8 ms
--- in.vpser.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 38.565/38.746/38.858/0.129 ms
[0;34mSetting timezone...[0m
Hit:1 https://mirrors.aliyun.com/debian bullseye InRelease
Hit:2 https://mirrors.aliyun.com/debian-security bullseye-security InRelease
Hit:3 https://mirrors.aliyun.com/debian bullseye-updates InRelease
Hit:4 https://mirrors.aliyun.com/debian bullseye-backports InRelease
Reading package lists...
Installing ntp...[0m
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
ntpdate
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 156 kB of archives.
After this operation, 245 kB of additional disk space will be used.
Get:1 https://mirrors.aliyun.com/debian bullseye/main amd64 ntpdate amd64 1:4.2.8p15+dfsg-1
Fetched 156 kB in 1s (312 kB/s)
Selecting previously unselected package ntpdate.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 28935 files and directories currently installed.)
Preparing to unpack .../ntpdate_1%3a4.2.8p15+dfsg-1_amd64.deb ...
Unpacking ntpdate (1:4.2.8p15+dfsg-1) ...
Setting up ntpdate (1:4.2.8p15+dfsg-1) ...
Processing triggers for man-db (2.11.2-2) ...
6 Sep 14:48:50 ntpdate: adjust time server 119.28.183.184 offset -0.000976 sec
Wed Sep6 02:48:50 PM CST 2023
apt-get remove packages...[0m
Hit:1 https://mirrors.aliyun.com/debian bullseye InRelease
Hit:2 https://mirrors.aliyun.com/debian-security bullseye-security InRelease
Hit:3 https://mirrors.aliyun.com/debian bullseye-updates InRelease
Hit:4 https://mirrors.aliyun.com/debian bullseye-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2-doc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2-utils' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2.2-common' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2.2-bin' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package apache2-mpm-prefork
Reading package lists...
Building dependency tree...
Reading state information...
Package 'apache2-doc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package apache2-mpm-worker
Reading package lists...
Building dependency tree...
Reading state information...
Package 'php5' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php5-common
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php5-cgi
Reading package lists...
Building dependency tree...
Reading state information...
Package 'php5-cli' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'php5-mysql' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
============================== Check install ==============================
Checking ...
[0;31mError: Nginx install failed.[0m
[0;32mMySQL: OK[0m
[0;31mError: PHP install failed.[0m
[0;31mSorry, Failed to install LNMP![0m
[0;31mPlease visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.[0m
https://t.wss.ink/f/c49l10o80ar 复制链接到浏览器打开
https://t.wss.ink/f/c49l10o80ar日志文件 Debian 12的系统设置Debian 11的源怎么可能会安装成功 licess 发表于 2023-9-6 20:33
Debian 12的系统设置Debian 11的源怎么可能会安装成功
:$ 阿里云没看到有12的源呀,怎么设置12的源 确实源的问题,记录一下方法
我用的是清华源:https://mirror.tuna.tsinghua.edu.cn/help/debian/
工具自己的版本现在源,我用的是 12
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
# deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
编辑 /etc/apt/sources.list 文件,把上面的源地址添加到文件中
vi /etc/apt/sources.list
保存退出然后更新一下:
apt-get update
页:
[1]