码迷,mamicode.com
首页 >  
搜索关键字:chkconfig    ( 1438个结果
centos下mysql的安装和配置
我是通过yum来进行安装的,方便快捷 1.yum install -y mysql-server 等待安装完成即可 2.chkconfig mysqld on 设置MySQL服务随系统启动自启动 3.[root@local ~]# chkconfig --list mysqld  确认MySQL自启动 mysq...
分类:数据库   时间:2015-07-31 16:31:41    阅读次数:257
Hadoop2的伪分布式的安装
准备linux环境【java、ip、hostname、hosts、iptables、chkconfig、ssh】下载稳定版2.2.0修改etc/hadoop目录下的配置文件core-site.xml、hdfs-site.xml、yarn-site.xml、mapred-site.xml启动验证文件c...
分类:其他好文   时间:2015-07-30 23:04:00    阅读次数:138
squid安装和配置(centos6.5)
1 检查squid软件是否安装 # rpm -qa|grep squid 2 如果未安装,则使用yum 方式安装 # yum -y install squid 3 设置开机自启动 # chkconfig --level 35 squid on???????????? //在3、5级别上自动运行s...
分类:其他好文   时间:2015-07-30 19:38:40    阅读次数:134
Another MySQL daemon already running with the same unix socket
Mysql服务器掉电之后发现网站链接数据库失败,查看数据集状态之后[root@dbserver1~]#servicemysqldstatusmysqldisstopped[root@dbserver1~]#chkconfig--listmysqldmysqld0:off1:off2:on3:on4:on5:on6:off[root@dbserver1~]#servicemysqldstartAnotherMySQLdaemonalreadyrunning..
分类:数据库   时间:2015-07-30 15:08:43    阅读次数:169
LANMP安装
LAMP平台的优点成本低;可定制;易于开发;方便易用;安全稳定LAMP安装1.安装mysqlyuminstallmysqlmysql-server安装完毕后,让mysql随机启动chkconfig--levels235mysqldon/etc/init.d/mysqldstart启动完毕mysql_secure_installation设置mysql数据root账户的密码:会出现选择提..
分类:其他好文   时间:2015-07-28 14:43:45    阅读次数:166
Tomcat启动脚本
#!/bin/sh # # chkconfig: 2345 10 90   # description: Tomcat start or stop or restart # 根据实际情况填写 export JAVA_HOME=/home/www/jdk1.7.0_79 TOMCAT_HOME=/home/www/tomcat-cluster/tomcat-8080 T...
分类:其他好文   时间:2015-07-27 21:06:01    阅读次数:92
LINUX关闭防火墙
(1) 重启后永久性生效: 开启:chkconfig iptables on 关闭:chkconfig iptables off (2) 即时生效,重启后失效: 开启:service iptables start 关闭:service iptables stop 需要说明的是对于Linux下的其它服...
分类:系统相关   时间:2015-07-27 12:29:12    阅读次数:114
CentOS开机自动运行程序的脚本
有些时候我们需要在服务器里设置一个脚本,让他一开机就自己启动。方法如下: cd /etc/init.d vi youshell.sh #将youshell.sh修改为你自己的脚本名 编写自己的脚本后保存退出。 在编写脚本的时候,请先加入以下注释 #add for chkconfig #chkconf...
分类:其他好文   时间:2015-07-27 07:02:18    阅读次数:160
将nginx加入系统服务
编写脚本 1,vi?/etc/init.d/nginx #!/bin/sh? # nginx - this script starts and stops the nginx daemon? #? # chkconfig: - 85 15? # description: Nginx is an HTTP(S) server, HTTP(S) reverse? # pr...
分类:其他好文   时间:2015-07-25 20:13:46    阅读次数:152
阿里云ECS上ftp的安装与配置
1、安装 使用chkconfig --list查看系统是否已经安装有vsftpd服务,若有,跳过此步骤。 使用yum命令直接安装,并为塔创建日志文件 [root@iZ23o5qv2ozZ?/]#?yum?-y?install?vsftpd  ...... [root@iZ23o5qv2o...
分类:其他好文   时间:2015-07-25 15:24:52    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!