码迷,mamicode.com
首页 >  
搜索关键字:systemctl    ( 2804个结果
zabbix server和zabbix agent的安装
阿里云要开放10050和10051端口 (一).zabbix server 1.安装zabbix包 1.设置主机名 hostnamectl set-hostname zabbix_server systemctl stop firewalld.service #关闭防火墙 systemctl dis ...
分类:其他好文   时间:2020-05-27 00:48:01    阅读次数:72
ubuntu18.04.4安装k8s
k8s部署 1.集群所有主机关闭swap sudo swapoff -a sudo sed -i 's/.*swap.*/#&/' /etc/fstab 如果重启后swap还是自动挂载执行systemctl mask dev-sda3.swap(dev-sdax为swap磁盘分区) 2.集群中所有服 ...
分类:系统相关   时间:2020-05-26 16:39:51    阅读次数:193
centos7--制作java微服务为系统服务!
背景 公司项目使用java构建,服务器使用linux--centos7,项目中使用了众多微服务快速成型,随着时间推移,xxx.jar 每次通过命令启动比较繁琐,本着轻松懒的方式,将这些服务通通制作成系统级别的服务,也就是"systemctl start service_name" ,本人使用pyth ...
分类:编程语言   时间:2020-05-26 15:18:09    阅读次数:109
docker启动WARNING:IPv4 forwarding is disabled. Networking will not work. 报错解决办法
docker容器里面只能访问本机网络,访问不了外部的ip centos 7 docker 启动了一个web服务 但是启动时 报 WARNING: IPv4 forwarding is disabled. Networking will not work. #需要做如下配置 解决办法: vi /etc ...
分类:Web程序   时间:2020-05-26 12:23:41    阅读次数:92
centos7-关闭 rpcbind 服务
1、关闭 rpcbind 服务 sudo systemctl disable rpcbind 2、关闭开机自启动 sudo systemctl disable rpcbind 3、立即执行关闭 systemctl stop rpcbind.socket 4、 验证是否监听 netstat -anup ...
分类:其他好文   时间:2020-05-25 15:34:16    阅读次数:114
Nginx高可用
Nginx高可用 准备工作: 两条虚拟机。安装好Nginx 什么是高可用? 在生产环境上很多时候是以Nginx做反向代理对外提供服务,但是一天Nginx难免遇见故障,如:服务器宕机。当Nginx宕机那么所有对外提供的接口都将导致无法访问。 虽然我们无法保证服务器百分之百可用,但是也得想办法避免这种悲 ...
分类:其他好文   时间:2020-05-25 00:20:09    阅读次数:66
MySQL多实例配置
1.1 准备配置文件 [root@localhost ~]# mkdir /data/330{7..9}/data -p [root@localhost ~]# mkdir -p /data/mysql/binlog_330{7..9} [root@localhost ~]# chown -R my ...
分类:数据库   时间:2020-05-25 00:17:23    阅读次数:79
centos安装mysql
参考文章 https://blog.csdn.net/wohiusdashi/article/details/89358071 wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm rpm -ivh mys ...
分类:数据库   时间:2020-05-24 13:28:36    阅读次数:79
查看Linux防火墙状态
环境:VMware、CentOS8 从centos7开始使用systemctl.firewalld来管理服务和程序,包括了service和chkconfig。 防火墙状态:systemctl status firewalld.service Active: inactive (dead)/activ ...
分类:系统相关   时间:2020-05-22 19:43:38    阅读次数:88
openSUSE Leap 15通过windows rdp访问
参考 https://www.hiroom2.com/2018/06/14/opensuse-15-xrdp-kde-en/ 如果通过windoes访问,需要安装xrdp sudo zypper -n in xrdp sudo systemctl enable xrdp sudo systemctl ...
分类:Windows程序   时间:2020-05-22 13:09:41    阅读次数:79
2804条   上一页 1 ... 33 34 35 36 37 ... 281 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!