上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 安装 yum install epel-release yum install -y redis yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #安装最新的版本 yum --enablerepo= 阅读全文
posted @ 2020-06-06 22:45 菜鸟web 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 安装 yum install libevent libevent-devel yum install memcached 配置 systemctl start memcached #启动 /etc/sysconfig/memcached #配置信息 memcached-tool 127.0.0.1: 阅读全文
posted @ 2020-06-05 01:50 菜鸟web 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 主:192.168.199.200 从:192.168.199.201 1.主mysql开启binlog功能 /etc/my.cnf #配置文件 [mysqld] log_bin = /data/mysql/mysql_m-bin #开启binlogserver_id=1 #设置id,避免丢失bin 阅读全文
posted @ 2020-05-31 17:02 菜鸟web 阅读(421) 评论(0) 推荐(0) 编辑
摘要: - hosts: home #对应/etc/ansible/hosts的组或者ip remote_user: root #执行用户 tasks: #任务 - name: install httpd #任务名 yum: name=httpd state=present - name: install 阅读全文
posted @ 2020-05-29 22:55 菜鸟web 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 因为ubuntu18已经没有用rc.local,因为日常用的习惯所以我们下面进行创建 1.创建rc.local软链接(因为system只会读取/etc/systemd/system下的文件) ln -fs /lib/systemd/system/rc-local.service /etc/syste 阅读全文
posted @ 2020-05-29 12:47 菜鸟web 阅读(1904) 评论(0) 推荐(0) 编辑
摘要: apt autoremove --purge snapd 执行这条命令,然后再次查看磁盘 阅读全文
posted @ 2020-05-29 12:34 菜鸟web 阅读(3216) 评论(1) 推荐(0) 编辑
摘要: ip firewall filter add chain=forward dst-port=135 protocol=tcp action=drop 丢掉所有经过ros访问目标135/tcp端口的数据包 ,但是不会限制访问ros本身135端口。 ip firewall filter add chai 阅读全文
posted @ 2020-05-20 15:31 菜鸟web 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: Failed to start firewalld.service: Unit is masked. 出现这个提示说明防火墙被锁,用了这条命令 systemctl mask firewalld 解锁命令:systemctl unmask firewalld 阅读全文
posted @ 2020-05-19 23:17 菜鸟web 阅读(963) 评论(0) 推荐(0) 编辑
摘要: 安装忽略 配置niginx.conf(轮询模式)注意:下面的配置要放在http模板里面否则会报错 upstream cs_web{ server 192.168.31.204:80; server 192.168.31.203:80; } server { listen 80; server_nam 阅读全文
posted @ 2020-05-18 01:30 菜鸟web 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 第一种配置方法 服务端生成密钥和公钥 ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase 阅读全文
posted @ 2020-05-17 00:13 菜鸟web 阅读(2461) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页