码迷,mamicode.com
首页 >  
搜索关键字:restart    ( 3392个结果
Openstack镜像和密码
#!/bin/shpasswd ubuntu<<EOFubuntuubuntuEOFsed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_configservice ssh restart这样你...
分类:其他好文   时间:2015-12-03 20:42:32    阅读次数:166
linux Tomcat restart脚本简单版
linux系统下重启tomcat的shell脚本:tomcat_home=/opt/apache-tomcat-6.0.32 #找到tomcat进程的id并kill掉 ps -ef |grep tomcat |awk {'print $2'} | sed -e "s/^/kill -9 /g" |....
分类:系统相关   时间:2015-12-03 02:13:07    阅读次数:249
Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA 解决方案
ubuntu 上 今天安idea 社区版,报这个错,解决办法。1 首先删除掉配置目录,例如安装的是idea最新的15.1版本,就删除 .ideaIC这个文件夹,重启解决了2 而后,不大一会。又开始报无法保存配置的错。所以从命令行启动看看报什么错,启动后报我安的一个插件的错,就是这个插件 identi...
分类:其他好文   时间:2015-12-03 02:05:41    阅读次数:824
L10.2 keepalive 实现haproxy高可用(双主模型)
keepalived实现haproxy高可用。haproxy实现RS负载均衡。说明:1,当keepalive节点状态master时,haproxy应该是start状态,backup为restart,fault为stop状态;(注意脚本监测权限减5,这样会有数字计算优先级方面的问题,因此在backup状态也使用restarthaproxy)2,对haproxy的..
分类:其他好文   时间:2015-12-01 19:43:13    阅读次数:301
Redhat7 systemctl命令
Redhat7systemctl命令:启动、停止、重启、查看状态:#systemctlstart\stop\restart\statushttpd激活服务:#systemctlis-activehttpd开机启动httpd:#systemctlenablehttpd开机不启动httpd:#systemctldisablehttpd使用systemctl命令杀死服务:#systemctlkillhttpd列出所有服务..
分类:其他好文   时间:2015-12-01 01:51:37    阅读次数:739
ubuntu开启cron日志
通过更改设置,我们可以开启它:1.修改rsyslog文件,将/etc/rsyslog.d/50-default.conf 文件中的#cron.*前的#删掉;2.重启rsyslog服务service rsyslog restart3.重启cron服务service cron restart查看日志:m...
分类:系统相关   时间:2015-11-27 09:12:31    阅读次数:184
linux bash启动停止脚本,可以套用
先贴效果: #!/bin/bash #auth:chentp0601@qq.com source/etc/init.d/functions #判断参数个数 [$#-ne1]&&{ echo"usage:$0{start|stop|restart|status}" exit1 } #分支 case$1in start) nohupwatch-n1date"+%H:%M:%S"&>/tmp/date& action"starting$0"/bin/t..
分类:系统相关   时间:2015-11-25 19:37:03    阅读次数:198
MySQL的启动脚本
自己写的MySQL的启动脚本脚本一:#!/bin/sh. /etc/init.d/functions[ $# -ne 1 ] && {echo "USAGE:{start|stop|restart}"exit 1}start(){if [ -e /data/3307/mysqld.pid ]then...
分类:数据库   时间:2015-11-23 18:42:04    阅读次数:164
openwrt之snmpd
OpenWRT uses UCI (/etc/config/snmpd) to generate the /etc/snmp/snmpd.conf , so you cannot simply edit this file and restart snmpd.翻译:OpenWRT利用UCI(/etc...
分类:其他好文   时间:2015-11-23 13:19:36    阅读次数:263
service php-fpm restart
[18-Nov-201511:24:37]NOTICE:PHPmessage:PHPWarning:PHPStartup:Unabletoloaddynamiclibrary‘/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/gd.so‘-/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/gd.so:cannotopensharedobjectfile:Nosuchfil..
分类:Web程序   时间:2015-11-18 16:48:47    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!