随手记chkconfigiptableson#永久开启防火墙chkconfigiptablesoff#永久关闭防火墙serviceiptablesstop/start/restart#防火墙临时关闭开启重启telnet127.0.0.180#检查本机80端口是否开启
分类:
系统相关 时间:
2014-12-10 18:17:37
阅读次数:
205
1.1 设置ip地址 执行命令 service network restart 验证: ifconfig1.2 关闭防火墙 执行命令 service iptables stop 验证: service iptables status1.3 关闭防火墙的自动运行 执行命令 chkconfig ipt....
分类:
其他好文 时间:
2014-12-10 17:41:36
阅读次数:
248
一、问题如下图所示The connection to adb is down, and a severe error has occured.You must restart adb and Eclipse.Please ensure that adb is correctly located at...
分类:
数据库 时间:
2014-12-05 10:45:45
阅读次数:
156
配置SSH 有了网络SSH服务默认是打开的,可以用客户端测试一下,如果没有打开使用以下的命令: [root@www ~]# /etc/init.d/sshd restart
正在停止 sshd: [ 确定 ]
正在激活 sshd: [ 确定 ] #也可以使用service sshd ...
分类:
其他好文 时间:
2014-12-05 10:30:56
阅读次数:
296
# /etc/init.d/mysql restart# /etc/init.d/php-fpm restart# /etc/init.d/nginx restart
分类:
数据库 时间:
2014-12-03 18:46:21
阅读次数:
215
su root //进入root账户 su -/etc/init.d/httpd start //启动apache/etc/init.d/mysqld start //启动mysql/etc/init.d/httpd restart //重启apachechkconfig iptables off ...
分类:
系统相关 时间:
2014-12-03 17:07:58
阅读次数:
186
转自:http://blog.csdn.net/zwhfyy/article/details/1605151启动smb start重新启动root 用户登陆CHQ_WEB:/etc/init.d # ./smb restart通常我们都用VMware Workstation来安装系统,当然你一个机器...
分类:
其他好文 时间:
2014-12-03 12:08:23
阅读次数:
171
1,centos7 使用 systemctl 替换了 service命令
查看全部服务命令:
systemctl list-unit-files --type service
查看服务
systemctl status name.service
启动服务
systemctl start name.service
停止服务
systemctl stop name.service
重启服务
systemctl restart name.service
增加开机启动
systemctl enable...
分类:
其他好文 时间:
2014-12-01 14:22:42
阅读次数:
286
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.116
NETMASK=255.255.0.0
GATEWAY=192.168.0.1
ONBOOT=yes
TYPE=Ethernet
重启配置文件使之生效
# /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutt...
分类:
系统相关 时间:
2014-11-29 14:40:52
阅读次数:
205
安装mysql[root@ultraera~]#yuminstallmysqlmysql-servermysql-devel2.启动mysql,并设置开机自启动[root@ultraera~]#servicemysqldstart/stop/restart/status#启动/关闭/重启/状态
chkconfigmysqldon/off
[root@ultraera~]#chkconfig--list|grepmysqld
mysqld 0:off 1:off 2:o..
分类:
数据库 时间:
2014-11-28 06:30:47
阅读次数:
183