- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2016-7-17 13:23:53
|
显示全部楼层
[0;32mPress any key to install...or Press Ctrl+c to cancel[0m
You will install lnmp stack.
nginx-1.10.0
mysql-5.5.48
php-5.4.45
Enable InnoDB: y
Print lnmp.conf infomation...
Download Mirror: http://soft.vpser.net
Nginx Additional Modules:
PHP Additional Modules:
Database Directory: /usr/local/mysql/var
Default Website Directory: /home/wwwroot/default
CentOS release 6.3 (Final)
Kernel \r on an \m
CentOS release 6.3 (Final)
LSB_VERSION=base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
CentOS release 6.3 (Final)
CentOS release 6.3 (Final)
Linux localhost.localdomain 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
Memory is: 1006 MB
文件系统 容量 已用 可用 已用%% 挂载点
/dev/sda5 17G 3.3G 13G 21% /
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 194M 26M 158M 15% /boot
/dev/sda2 2.0G 74M 1.8G 4% /home
Hosts: ok.
PING lnmp.org (104.238.141.224) 56(84) bytes of data.
64 bytes from lnmp.org (104.238.141.224): icmp_seq=1 ttl=50 time=279 ms
--- lnmp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 1407ms
rtt min/avg/max/mdev = 279.177/279.177/279.177/0.000 ms
DNS...ok
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
Package redhat-lsb-4.0-7.el6.centos.i686 already installed and latest version
Nothing to do
CentOS 6.3
[0;34mSetting timezone...[0m
[0;34m[+] Installing ntp...[0m
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
Package ntp-4.2.6p5-10.el6.centos.1.i686 already installed and latest version
Nothing to do
17 Jul 12:14:59 ntpdate[1786]: adjust time server 115.28.122.198 offset -0.461018 sec
2016年 07月 17日 星期日 12:14:59 CST
[0;34m[-] Yum remove packages...[0m
error: package httpd is not installed
error: package httpd-tools is not installed
error: package mysql is not installed
error: package mysql-libs is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: httpd*
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Package(s) httpd* available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: mysql-server
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Package(s) mysql-server available, but not installed.
No Match for argument: mysql
Package(s) mysql available, but not installed.
No Match for argument: mysql-libs
Package(s) mysql-libs available, but not installed.
No Packages marked for removal
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: php5.2.17.sh
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
No Packages marked for removal
Loaded plugins: fastestmirror, security
Cleaning repos: base c6-media extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[0;34m[+] Yum installing dependent packages...[0m
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* base: mirrors.163.com
* extras: ftp.sjtu.edu.cn
* updates: mirrors.163.com
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: ftp.sjtu.edu.cn
* updates: mirrors.163.com
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/cdrom/repodata/repomd.xml
Trying other mirror.
日志上很明了从lnmp一开始就没法yum安装,除了rhel其他系统的源相关的配置lnmp都不会去更改
你是centos 6,国内的话可以尝试
mkdir /root/repo
mv /etc/yum.repos.d/* /root/repo/
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo -O /etc/yum.repos.d/CentOS6-Base.repo
yum clean all
yum makecache
后尝试yum install 安装软件包试试 |
|