Centos7上面已经把/etc/init.d/服务的启动方式更改为systemctl启动。 当然编译安装仍然可以/etc/init.d/手动启动但是chkconfig –add named就用不了。 【环境】:CentOS Linux release 7.5.1804 (Core) 【BIND】: ...
分类:
其他好文 时间:
2019-07-28 18:09:46
阅读次数:
763
1.在/etc/init.d/目录下创建tomcat服务脚本文件 内容如下 2.赋权 3.加入系统自启 4.reboot,验证 一般情况下,启动是没有问题的。 这里多说点儿,因为CentOS7的自启动服务开始由systemctl逐渐替代了早期版本中的chkconfig和service形式。 这里我尝 ...
分类:
其他好文 时间:
2019-07-20 13:05:58
阅读次数:
162
第一步,安装vsftpd这款ftp服务器软件,yum install -y vsftpd 第二步,设置vsftpd服务开机自启动,然后重启服务,查看ftp服务端口,centos6命令如下:#chkconfig vsftpd on#service vsftpd restart#netstat -ant ...
分类:
其他好文 时间:
2019-07-17 10:51:28
阅读次数:
137
1 #!/bin/bash 2 #chkconfig: - 85 15 3 #by zhangjia 4 #2019年2月20日11:53:25 5 #shell_name:nginx_system_service.shell_name 6 #install nignx system service... ...
分类:
其他好文 时间:
2019-07-17 00:33:30
阅读次数:
111
1 #!/bin/bash 2 #date:2019/1/17 3 #by zhangjia 4 #sheel_name:mysql_auto_install.sh 5 #auot install mysql 6 7 set -e 8 yum install -y vim gcc wget cmak... ...
分类:
数据库 时间:
2019-07-17 00:21:18
阅读次数:
132
一、安装: cd /etc/init.d/ vi nginx 把下面东西放进去: #!/bin/bash# chkconfig: - 30 21# description: http service.# Source Function Library. /etc/init.d/functions# ...
分类:
其他好文 时间:
2019-07-12 18:30:35
阅读次数:
135
nginx环境下的php的安装步骤系统环境:CentOS6.5/7.0x86_64Fedora20x86_64一.yum安装依赖包程序包yuminstallzliblibxmllibjpegfreetypelibpnggdcurllibiconvzlib-devellibxml2-devellibjpeg-develfreetype-devellibpng-develgd-develcurl-de
分类:
Web程序 时间:
2019-07-05 09:36:40
阅读次数:
124
Linux默认允许任何人按下Ctrl+Alt+Del来重启系统。但是在生产环境中,应该停用按下Ctrl-Alt-Del 重启系统的功能。 会linux的技术牛们都知道前面的centos版本都是在/etc/inittab中配置,而centos7/RHEL7查看/etc/inittab文件,它会告诉你C ...
分类:
其他好文 时间:
2019-07-01 15:41:57
阅读次数:
177
检查atd进程是否启动 [root@centos61 桌面]# service atd status atd (pid 2274) 正在运行... [root@centos61 桌面]# chkconfig |grep atd atd 0:关闭 1:关闭 2:关闭 3:启用 4:启用 5:启用 6: ...
分类:
系统相关 时间:
2019-06-30 14:22:19
阅读次数:
179
启动引导程序配置文件 LILO /etc/lilo.conf GRUB /boot/grub/menu.lst 系统启动文件核脚本 主启动控制文件 /etc/inittab SysV启动脚本的位置 /etc/init.d、/etc/rc.d/init.d或/etc/rc.d SysV启动脚本链接的位 ...
分类:
系统相关 时间:
2019-06-30 14:12:35
阅读次数:
129