第一步:关闭linux防火墙 永久性关闭:lokkit--disabled 第二步:就是先把SSHD服务开启了。 执行这个就行: /etc/init.d/sshd restart
分类:
系统相关 时间:
2015-07-14 00:17:15
阅读次数:
351
How do I start, restart, or stop Apache 2.x web server on Ubuntu Linux operating systems using command line options?You can use any one of the followi...
分类:
Web程序 时间:
2015-07-13 22:17:05
阅读次数:
227
在使用php时,报错:Fatal error: Call to undefined functionmcrypt_cbc()原因:没有安装或配置好php相关的软件解决: 1)安装: php-mcrypt 2)重启php-fpm service php-fpm restart 3)重启ngingx或a...
分类:
Web程序 时间:
2015-07-13 20:28:54
阅读次数:
1438
Start Apache 2 Server /启动apache服务# /etc/init.d/apache2 startor$ sudo /etc/init.d/apache2 start Restart Apache 2 Server /重启apache服务# /etc/init.d/apache...
分类:
Web程序 时间:
2015-07-13 17:52:19
阅读次数:
149
方法,网上的办法是在my.ini的“[mysqld]”下面加入一行“skip-name-resolve”,就像这样:然后保存并重启mysql服务即可。service mysqld restart所谓反向解析是这样的:mysql接收到连接请求后,获得的是客户端的ip,为了更好的匹配mysql.user...
分类:
数据库 时间:
2015-07-12 18:51:40
阅读次数:
172
前言:我的系统是ubuntu,默认不支持mysql远程链接。接下来的步骤改变这点。1,首先取消mysql本机绑定编辑/etc/mysql/my.cnf将”bind-address = 127.0.0.1“注释sudo /etc/init.d/mysql restart重启即可远程访问,或 sudo ...
分类:
数据库 时间:
2015-07-12 18:46:01
阅读次数:
177
安装apt-get install nagios-nrpe-server nagios-plugins修改nrpe.cfgvi/etc/nagios/nrpe.cfg修改Allow Host,添加监控机的IPservice nagios-nrpe-server restart安装流量监控下载插件ch...
分类:
移动开发 时间:
2015-07-11 21:22:43
阅读次数:
137
1.安装apache2 #apt-get install apache2.2-common apache2 #apache2ctl start //启动apache #apache2ctl stop //关闭apahce #apache2ctl restart //重启apache ...
分类:
其他好文 时间:
2015-07-10 11:14:48
阅读次数:
119
[root@iZ25yepqfvvZ logs]# service mysqld stop
bash: service: command not found
使用su root切换到root用户,并同时使用/sbin/service来操作,如/sbin/service mysql restart....
分类:
数据库 时间:
2015-07-09 18:09:08
阅读次数:
151
作者:小波QQ:463431476redhat6.4企业版用的centos的yum源。下面进行apache的安装与配置。1、yum在线安装Apache命令:yum install httpd* -y2、启动httpd服务命令:/etc/init.d/httpd restart出现如图情况:要修改主机...
分类:
Web程序 时间:
2015-07-09 00:36:15
阅读次数:
149