会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菜鸟web
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
···
11
下一页
2020年6月6日
redis安装和使用
摘要: 安装 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
阅读(236)
评论(0)
推荐(0)
2020年6月5日
memcached 配置与安装
摘要: 安装 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
阅读(339)
评论(0)
推荐(0)
2020年5月31日
mysql主从同步配置
摘要: 主: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
阅读(452)
评论(0)
推荐(0)
2020年5月29日
ansible playbook使用
摘要: - 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
阅读(272)
评论(0)
推荐(0)
ubuntu18创建rc.local
摘要: 因为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
阅读(1940)
评论(0)
推荐(0)
ubuntu dev/loop0 到 /dev/loop18占到100%的处理方法
摘要: apt autoremove --purge snapd 执行这条命令,然后再次查看磁盘
阅读全文
posted @ 2020-05-29 12:34 菜鸟web
阅读(3557)
评论(1)
推荐(0)
2020年5月20日
routeos firewall 规则使用
摘要: 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
阅读(1737)
评论(0)
推荐(0)
2020年5月19日
firewall启动失败问题
摘要: Failed to start firewalld.service: Unit is masked. 出现这个提示说明防火墙被锁,用了这条命令 systemctl mask firewalld 解锁命令:systemctl unmask firewalld
阅读全文
posted @ 2020-05-19 23:17 菜鸟web
阅读(987)
评论(0)
推荐(0)
2020年5月18日
nginx负载均衡
摘要: 安装忽略 配置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
阅读(249)
评论(0)
推荐(0)
2020年5月17日
centos 密钥登陆
摘要: 第一种配置方法 服务端生成密钥和公钥 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
阅读(2505)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
11
下一页