checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... none
configure: error: in `/root/lanmp/mysql-5.1.63':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
checking for gcc... no
checking for cc... no
checking for cl.exe... no
----Install Error: mysql configure err -----------
每次到这里都过不去,怎么处理? 看教程或FAQ,有你要的答案 看了这么多兄弟经常断,,,使用这个命令就不怕了··除非死机、停电。
【screen命令是什么?】
刚接触Linux时最怕的就是SSH远程登录Linux VPS编译安装程序时(比如安装lnmp)网络突然断开,或者其他情况导致不得不与远程SSH服务器链接断开,远程执行的命令也被迫停止,只能重新连接,重新运行。相信现在有些VPSer也遇到过这个问题,今天就给VPSer们介绍一款远程会话管理工具 - screen命令。
一、screen命令是什么?
Screen是一个可以在多个进程之间多路复用一个物理终端的全屏窗口管理器。Screen中有会话的概念,用户可以在一个screen会话中创建多个screen窗口,在每一个screen窗口中就像操作一个真实的telnet/SSH连接窗口那样。
二、如何安装screen命令?
除部分精简的系统或者定制的系统大部分都安装了screen命令,如果没有安装,CentOS系统可以执行:yum install screen ;Debian/Ubuntu系统执行:apt-get install screen 。
三、screen命令使用方法?
1、常用的使用方法
用来解决文章开始我们遇到的问题,比如在安装lnmp时。
1.1 创建screen会话
可以先执行:screen -S lnmp ,screen就会创建一个名字为lnmp的会话。
1.2 暂时离开,保留screen会话中的任务或程序
当需要临时离开时(会话中的程序不会关闭,仍在运行)可以用快捷键Ctrl+a d(即按住Ctrl,依次再按a,d)
1.3 恢复screen会话
当回来时可以再执行执行:screen -r lnmp 即可恢复到离开前创建的lnmp会话的工作界面。如果忘记了,或者当时没有指定会话名,可以执行:screen -ls screen会列出当前存在的会话列表,如下图:
11791.lnmp即为刚才的screen创建的lnmp会话,目前已经暂时退出了lnmp会话,所以状态为Detached,当使用screen -r lnmp后状态就会变为Attached,11791是这个screen的会话的进程ID,恢复会话时也可以使用:screen -r 11791
1.4 关闭screen的会话
执行:exit ,会提示:[screen is terminating],表示已经成功退出screen会话。
2、远程演示
首先演示者先在服务器上执行 screen -S test 创建一个screen会话,观众可以链接到远程服务器上执行screen -x test 观众屏幕上就会出现和演示者同步。
3、常用快捷键
Ctrl+a c :在当前screen会话中创建窗口
Ctrl+a w :窗口列表
Ctrl+a n :下一个窗口
Ctrl+a p :上一个窗口
Ctrl+a 0-9 :在第0个窗口和第9个窗口之间切换 支持一下啊!我说奇怪了!等了半个小时,原来是垃圾硬盘啊!!! 请先安装screen这个命令
http://www.sun3.cn/330.htm 没有出现这个问题~~~ [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=15269&ptid=65]32#[/url] [i]金玖策业[/i] [/b]
[url=http://www.wdlinux.cn/bbs/viewthread.php?tid=2460&rpid=20491&ordertype=0&page=1#pid20491]http://www.wdlinux.cn/bbs/viewthread.php?tid=2460&rpid=20491&ordertype=0&page=1#pid20491[/url]缺少编译环境 --2013-05-16 22:56:12-- (try: 6) http://dl.wdlinux.cn:5180/rpms/lanmp_wdcp-2-5.el6.i386.rpm
Connecting to dl.wdlinux.cn|61.146.178.5|:5180...
connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 90711430 (87M), 56800662 (54M) remaining [text/plain]
Saving to: 鈥渓anmp_wdcp-2-5.el6.i386.rpm鈥?
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,071,056 3.04K/s eta 4h 10m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,071,056 --.-K/s eta 4h 21m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,215,596 6.06K/s eta 3h 52m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,221,436 --.-K/s eta 4h 21m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,221,436 --.-K/s eta 4h 32m ^37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,221,436 --.-K/s eta 4h 32m ^37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,221,436 --.-K/s eta 4h 38m ^37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,221,436 --.-K/s eta 4h 44m ^37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,221,436 --.-K/s eta 5h 7m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,222,896 --.-K/s eta 5h 33m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,222,896 --.-K/s eta 5h 44m
37% [+++++++++++++++++++++++++++++++++++++++++++ ] 34,231,656 4.61K/s in 2m 7s
2013-05-16 22:58:29 (2.47 KB/s) - Connection closed at byte 34231656. Retrying.
--2013-05-16 22:58:35-- (try: 7) http://dl.wdlinux.cn:5180/rpms/lanmp_wdcp-2-5.el6.i386.rpm
Connecting to dl.wdlinux.cn|61.146.178.5|:5180... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 90711430 (87M), 56479774 (54M) remaining [text/plain]
Saving to: 鈥渓anmp_wdcp-2-5.el6.i386.rpm鈥?
38% [+++++++++++++++++++++++++++++++++++++++++++> ] 34,799,284 --.-K/s eta 3h 28m
38% [+++++++++++++++++++++++++++++++++++++++++++> ] 34,799,284 --.-K/s eta 3h 31m
38% [+++++++++++++++++++++++++++++++++++++++++++=> ] 35,291,304 6.18K/s eta 3h 30m
疯掉了!!!! 我在这里卡了两个小时,都没跳过。 installing mysql,this may take a few minutes,hold on plz...
configure in progress ...
make in progress ... 以前安装很快成功,今天安装却卡住了,我还以为是其它原因,我再等等看 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=28421&ptid=65]41#[/url] [i]xfwl[/i] [/b]
我也是这步.快一个小时了. 建议加一个进度显示。 太好了,不虚此行。 今天也试试! 安装N次,都提示Install Error: mysql configure err 根本安装不了! 不装MYSQL 很快过,哈哈 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=196&ptid=65]2#[/url] [i]sddincom[/i] [/b]
4核28G安装也是很慢的 没有其它安装方法么? 我在这里卡住不动了,是什么情况啊
[attach]5129[/attach] php-5.2.17/README.WIN32-BUILD-SYSTEM
2
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
ln: 创建符号链接 "/usr/lib/libmysqlclient.a": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.a": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.so": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.so.18": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient_r.so.18.0.0": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient.so": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient.so.18": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlclient.so.18.0.0": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqld.a": 文件已存在
ln: 创建符号链接 "/usr/lib/libmysqlservices.a": 文件已存在
phps.sh: line 82: /usr/bin/make: 权限不够
x86_64
CentOS release 6.5 (Final)
----Install Error: 5.2.17 -----------
这是什么原因?
页:
1
[2]