VPS侦探论坛

 找回密码
 注册
查看: 5990|回复: 4

ubuntu的vm安装lnmp0.8,卡在ntpdate后面

[复制链接]
发表于 2011-12-17 23:05:38 | 显示全部楼层 |阅读模式

安装过程:
Press any key to start...
rc  libmysqlclient16                       5.1.58-1ubuntu1                         MySQL database client library
rc  mysql-server-5.1                       5.1.58-1ubuntu1                         MySQL database server binaries and system database setup
dpkg: warning: there's no installed package matching libmysqlclient15off
dpkg: warning: there's no installed package matching libmysqlclient15-dev
dpkg: warning: there's no installed package matching mysql-common
dpkg: warning: there's no installed package matching apache2
dpkg: warning: there's no installed package matching apache2-doc
dpkg: warning: there's no installed package matching apache2-mpm-prefork
dpkg: warning: there's no installed package matching apache2-utils
dpkg: warning: there's no installed package matching apache2.2-common
dpkg: warning: there's no installed package matching php
Ign http://cn.archive.ubuntu.com oneiric InRelease
Ign http://cn.archive.ubuntu.com oneiric-updates InRelease                     
Ign http://cn.archive.ubuntu.com oneiric-backports InRelease                  
Hit http://cn.archive.ubuntu.com oneiric Release.gpg                           
Hit http://cn.archive.ubuntu.com oneiric-updates Release.gpg                  
Ign http://extras.ubuntu.com oneiric InRelease                                 
Ign http://archive.canonical.com oneiric InRelease                             
Hit http://cn.archive.ubuntu.com oneiric-backports Release.gpg      
Ign http://security.ubuntu.com oneiric-security InRelease                     
Hit http://cn.archive.ubuntu.com oneiric Release                              
Hit http://extras.ubuntu.com oneiric Release.gpg                              
Hit http://archive.canonical.com oneiric Release.gpg                           
Hit http://cn.archive.ubuntu.com oneiric-updates Release                       
Hit http://security.ubuntu.com oneiric-security Release.gpg                    
Hit http://cn.archive.ubuntu.com oneiric-backports Release                     
Hit http://extras.ubuntu.com oneiric Release                                   
Hit http://archive.canonical.com oneiric Release                              
Hit http://cn.archive.ubuntu.com oneiric/main Sources                          
Hit http://cn.archive.ubuntu.com oneiric/restricted Sources           
Hit http://cn.archive.ubuntu.com oneiric/universe Sources            
Hit http://security.ubuntu.com oneiric-security Release               
Hit http://cn.archive.ubuntu.com oneiric/multiverse Sources           
Hit http://cn.archive.ubuntu.com oneiric/main i386 Packages           
Hit http://cn.archive.ubuntu.com oneiric/restricted i386 Packages     
Hit http://cn.archive.ubuntu.com oneiric/universe i386 Packages      
Hit http://cn.archive.ubuntu.com oneiric/multiverse i386 Packages     
Hit http://cn.archive.ubuntu.com oneiric/main TranslationIndex        
Hit http://cn.archive.ubuntu.com oneiric/multiverse TranslationIndex  
Hit http://cn.archive.ubuntu.com oneiric/restricted TranslationIndex  
Hit http://cn.archive.ubuntu.com oneiric/universe TranslationIndex   
Hit http://cn.archive.ubuntu.com oneiric-updates/main Sources         
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted Sources   
Hit http://cn.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse Sources            
Hit http://cn.archive.ubuntu.com oneiric-updates/main i386 Packages  
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://extras.ubuntu.com oneiric/main Sources                              
Hit http://cn.archive.ubuntu.com oneiric-updates/universe TranslationIndex     
Hit http://cn.archive.ubuntu.com oneiric-backports/main Sources      
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted Sources         
Hit http://cn.archive.ubuntu.com oneiric-backports/universe Sources            
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse Sources         
Hit http://cn.archive.ubuntu.com oneiric-backports/main i386 Packages         
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted i386 Packages   
Hit http://archive.canonical.com oneiric/partner i386 Packages                 
Hit http://cn.archive.ubuntu.com oneiric-backports/universe i386 Packages      
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Sources                  
Hit http://cn.archive.ubuntu.com oneiric-backports/universe TranslationIndex   
Hit http://cn.archive.ubuntu.com oneiric/main Translation-en         
Hit http://cn.archive.ubuntu.com oneiric/multiverse Translation-en   
Hit http://cn.archive.ubuntu.com oneiric/restricted Translation-en   
Hit http://cn.archive.ubuntu.com oneiric/universe Translation-en     
Hit http://extras.ubuntu.com oneiric/main i386 Packages                        
Ign http://extras.ubuntu.com oneiric/main TranslationIndex                     
Hit http://cn.archive.ubuntu.com oneiric-updates/main Translation-en           
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted Translation-en
Ign http://archive.canonical.com oneiric/partner TranslationIndex              
Hit http://cn.archive.ubuntu.com oneiric-updates/universe Translation-en      
Hit http://cn.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse Translation-en   
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted Translation-en   
Hit http://cn.archive.ubuntu.com oneiric-backports/universe Translation-en     
Hit http://security.ubuntu.com oneiric-security/restricted Sources            
Hit http://security.ubuntu.com oneiric-security/universe Sources     
Hit http://security.ubuntu.com oneiric-security/multiverse Sources   
Hit http://security.ubuntu.com oneiric-security/main i386 Packages   
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en  
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_US         
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://archive.canonical.com oneiric/partner Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package php
apache2: no process found
Reading package lists... Done
Building dependency tree      
Reading state information... Done
ntpdate is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-12-17 23:24:26 | 显示全部楼层

试了0.7



如下结果,ntpdate会出什么问题呢?locale的问题?
Reading package lists... Done
Building dependency tree      
Reading state information... Done
ntpdate is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
17 Dec 23:22:38 ntpdate[2358]: ntpdate 4.2.6p2@1.2194 Fri Sep  2 18:37:16 UTC 2011 (1)
Looking for host cn.pool.ntp.org and service ntp
host found : 114.80.81.1
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-17 23:44:08 | 显示全部楼层

奇怪,在局域网内另一个独立主机上运行sudo ntpdate ntp.ubuntu.com,会得到正常结果。
但在这个虚拟机上就卡住。这还有区别?因为ntpdate导致lnmp不能安装。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-12-18 00:03:26 | 显示全部楼层



发现ntp在虚拟机上还真不是个简单的问题。我用的是virtualbox。
看来vps上用xen等软件是早就做了调整,但个人虚拟机用户该怎么办呢?

请军哥关注下?
http://chenlinux.com/tag/ntp

[ 本帖最后由 thinkevd 于 2011-12-18 01:01 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-18 01:07:33 | 显示全部楼层

解决的办法是打开ubuntu.sh(或其他的)
找到ntpdate,把上下的一共3行都注释掉再安装即可。

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 06:56 , Processed in 0.026759 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表