一、centos7下mysql 安装配置 yum -y install mariadb* systemctl start mariadb.service systemctl enable mariadb.service 二、初始化 ...
分类:
数据库 时间:
2016-12-06 20:39:05
阅读次数:
243
http://www.wenbin.cf/post/37/ 1. 安装nginx,createrepo 2. 修改nginx配置文件,/etc/nginx/nginx.conf 重启nginx, systemctl restart nginx 3. 在nginx根目录建立文件夹 4. 准备同步阿里云 ...
分类:
其他好文 时间:
2016-12-06 13:52:24
阅读次数:
277
1. tomcat 需要增加一个pid文件 在tomca/bin 目录下面,增加 setenv.sh 配置,catalina.sh启动的时候会调用,同时配置java内存参数。 2. 增加tomcat.service 3. 使用tomcat.service 配置开机启动 systemctl enabl ...
分类:
其他好文 时间:
2016-12-05 17:06:14
阅读次数:
206
1、启动、关闭、重置服务 (rhel7 为 systemctl)[root@rhel-6 ~]# service atd status #关闭atd服务 atd 已停[root@rhel-6 ~]# service atd start ... ...
分类:
其他好文 时间:
2016-12-05 14:47:34
阅读次数:
353
场景:在使用chkconfig查看vsftpd是否看机启动时候看不到启动项,用systemctl 才看到自己想要的结果 1 总结 from:https://linux.cn/article-5926-1.html(相当的详尽) Systemctl是一个systemd工具,主要负责控制systemd系 ...
分类:
其他好文 时间:
2016-11-24 06:40:55
阅读次数:
448
2、vi /etc/ntp.conf (修改ntpd服务的配置文件) 3、修改配置文件,指定和谁同步时间(140),上面的0-3前面都加#键 4、systemctl restart ntpd.service (重启ntpd服务) ...
分类:
其他好文 时间:
2016-11-22 20:42:26
阅读次数:
170
1.检查本地systemd的版本 [admin@localhost ~]$ systemctl --version systemd 208 +PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ 2.获 ...
分类:
其他好文 时间:
2016-11-19 15:36:09
阅读次数:
4419
Centos7 关闭防火墙 CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下 1、直接关闭防火墙 systemctl stop firewalld.service #停止firewall systemctl disable firewalld.serv ...
分类:
其他好文 时间:
2016-11-15 08:12:39
阅读次数:
231
Linux Systemctl是一个系统管理守护进程、工具和库的集合,用于取代System V、service和chkconfig命令,初始进程主要负责控制systemd系统和服务管理器。通过Systemctl –help可以看到该命令主要分为:查询或发送控制命令给systemd服务,管理单元服务的 ...
分类:
其他好文 时间:
2016-11-14 12:32:17
阅读次数:
277
docker的CentOS 7.2最新版官方镜像使用systemctl管理程序时会遇到如下错误: Failed to get D-Bus connection: Operation not permitted 解决这个问题的官方原文为: https://github.com/docker-libra ...
分类:
其他好文 时间:
2016-11-13 22:30:03
阅读次数:
194