免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1504 | 回复: 9
打印 上一主题 下一主题

linux9在命令行怎么起动ftp和mysql [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-07 10:18 |只看该作者 |倒序浏览
linux9在命令行怎么起动ftp和mysql
我装的linux9 redhat 没有装图形化界面,请问怎么在shell下边起动ftp和mysql。我安装系统的时候已经选择这两个了。还有http服务怎么调试,麻烦大家了。
我运行mysql命令的时候提示error 2002:can't connect to local mysql server through socket '/var/lib/mysql/mysql.sock'(2)

论坛徽章:
0
2 [报告]
发表于 2006-04-07 10:20 |只看该作者
两种启动方式
一种service 一种是Init的方式

论坛徽章:
0
3 [报告]
发表于 2006-04-07 10:20 |只看该作者
#service vsftpd start
#service mysqld start
#service httpd start;在浏览器输入http://本机ip/

论坛徽章:
0
4 [报告]
发表于 2006-04-07 10:47 |只看该作者
ftp起动起动可以正常使用,
但mysql和http起动的时候都提示错误
mysql提示的时候提示initializing mysql database:sorry,the host ,hn.kd,py.adsl' could not be looked up
please configure the 'hostname' command to return a correct hostnae.
if you want to solve this at a later stage, restart this script with the --force option

起动http的时候,提示could not etermine the server's fully qualified domain name, using 127.0.0.1 for servername

论坛徽章:
0
5 [报告]
发表于 2006-04-07 11:00 |只看该作者
  1. mysql提示的时候提示initializing mysql database:sorry,the host ,hn.kd,py.adsl' could not be looked up
  2. please configure the 'hostname' command to return a correct hostnae.
  3. if you want to solve this at a later stage, restart this script with the --force option
复制代码


確認了my.cnf都配置好了沒

论坛徽章:
0
6 [报告]
发表于 2006-04-07 11:24 |只看该作者
不知道怎么配,麻烦老兄说一下。

论坛徽章:
0
7 [报告]
发表于 2006-04-07 12:02 |只看该作者
你的mysql是系统自带的还是你自己后来装的

http 你把/etc/hosts文件加上127.0.0.1

论坛徽章:
0
8 [报告]
发表于 2006-04-07 13:44 |只看该作者
原帖由 upxshell 于 2006-4-7 10:47 发表
ftp起动起动可以正常使用,
但mysql和http起动的时候都提示错误
mysql提示的时候提示initializing mysql database:sorry,the host ,hn.kd,py.adsl' could not be looked up
please configure the 'hostname' c ...


named服务配置的问题

论坛徽章:
0
9 [报告]
发表于 2006-04-07 14:41 |只看该作者
mysql是系统自带的,
named服务配置,具体怎么配,谢了。

论坛徽章:
0
10 [报告]
发表于 2006-04-07 15:08 |只看该作者
please configure the 'hostname' c

让你配置主机名

配置成local.localhost就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP