码迷,mamicode.com
首页 >  
搜索关键字:restart    ( 3392个结果
配置防火墙打开 80 端口
1.打开iptablesvi /etc/sysconfig/iptables2.增加一行-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT3.重启防火墙service iptables restart
分类:其他好文   时间:2015-06-08 18:42:11    阅读次数:107
用shell写的nginx服务程序
用shell写的nginx服务程序 可以先添加到/etc/init.d/目录下。 chkconfig --add nginxd chkconfig nginxd on service nginxd start service nginxd stop service nginxd " restart | reload | test | status " #!...
分类:系统相关   时间:2015-06-08 15:22:00    阅读次数:197
Hadoop之——CentOS配置ssh无密码登录注意事项
前提配置:使用root登录修改配置文件:/etc/ssh/sshd_config,将其中三行的注释去掉,如下 然后重启ssh服务:service sshd restart。最后退出root,以下所有操作都在hadoop用户下进行。 主机信息如下: 如上图,当前登录用户为hadoop,主机名为slave.hadoop,与master.hadoop主机的网络是通畅的。 当前未配...
分类:其他好文   时间:2015-06-06 16:39:03    阅读次数:161
no link present
今天装linux 系统,然后:service network restart的时候提示如下的错误: .................................................................................................. Determining IP information....no link present" ...
分类:其他好文   时间:2015-06-03 12:00:58    阅读次数:124
cd /umac apache 服务启动、关闭
命令:sudo /usr/sbin/apachectl [start | stop | restart] 或者:sudo httpd -k [start|restart|graceful|graceful-stop|stop]apache的配置文件:/etc/apapche2/httpd.conf
分类:Web程序   时间:2015-06-02 21:47:00    阅读次数:144
Nginx下修改php.ini
Nginx下修改php.ini配置文件,需要通过php-cgi的FastCGI来重新加载php.ini文件php-fpm -c | : 查找php.ini文件的目录命令:sudo php-fpm {start|stop | quit | restart | reload | logrotate}--...
分类:Web程序   时间:2015-06-02 01:41:59    阅读次数:161
ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Restart'
ADB not responding. If you'd like to retry, then please manually kill "adb.exe" and click 'Restart'Errors from ADB:ddms: 'I:\android-sdk\platform-tool...
分类:数据库   时间:2015-06-02 01:37:47    阅读次数:277
ubuntu修改ip获取方式(静态,动态)
1、直接修改系统配置文件 ubuntu的网络配置文件是:/etc/network/interfaces a、动态ip方式 auto eth0 iface eth0 inet dhcp 用下面的命令使网络设置生效: sudo /etc/init.d/networking restart ...
分类:系统相关   时间:2015-06-01 11:12:42    阅读次数:206
Hadoop1.x伪分布式详细安装步骤
1.hadoop的伪分布安装1.1 设置ip地址 执行命令 service network restart 验证: ifconfig1.2 关闭防火墙 执行命令 service iptables stop 验证: service iptables status1.3 关闭防火墙的自动运行 执行命令....
分类:其他好文   时间:2015-05-29 15:21:51    阅读次数:101
nginx 启动不了的小问题
nginx 配置的端口可能没打开linux打开端口:/sbin/iptables-IINPUT-ptcp--dport8011-jACCEPT#开启8011端口 /etc/rc.d/init.d/iptables save #保存配置/etc/rc.d/init.d/iptables restart...
分类:其他好文   时间:2015-05-28 15:37:38    阅读次数:131
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!