上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: vim /etc/sysctl.conf --以下是阿里云的设置 阅读全文
posted @ 2017-08-23 14:15 网络终结者 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 编辑文件/etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 =1net.ipv6.conf.default.disable_ipv6 =1 sysctl -p编码 /etc/sysconfig/networkNETWORKING_IPV6=no重启网卡:s 阅读全文
posted @ 2017-08-23 11:55 网络终结者 阅读(255) 评论(0) 推荐(0) 编辑
摘要: show variables like'%log%' show status like '%thread%'; show global variables like '%time%'; show variables like '%time%'; 设置general_log SET GLOBAL log_output=FILE; SET GLOBAL general_log_file='... 阅读全文
posted @ 2017-08-16 18:14 网络终结者 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 添加映射表: netsh interface portproxy add v4tov4 listenport=(监听端口) connectaddress=(虚机IP) connectport=(虚机端口) 删除映射表: netsh interface portproxy delete v4tov4 阅读全文
posted @ 2017-08-15 16:22 网络终结者 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 1:查看当前连接 mysql> show status like 'Threads%'; + + + | Variable_name | Value | + + + | Threads_cached | 58 | | Threads_connected | 57 | ###这个数值指的是打开的连接数 阅读全文
posted @ 2017-08-15 11:16 网络终结者 阅读(12786) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # #chkconfig: 2345 80 90 #description: mongodb start() { /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/mongo_data --logpath=/usr/local/mongodb/logs/mongodb.log --logap... 阅读全文
posted @ 2017-08-10 12:01 网络终结者 阅读(233) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh # chkconfig: 2345 10 90 # description: Start and Stop redis REDISPORT=6379 EXEC=/usr/local/redis/src/redis-server REDIS_CLI=/usr/local/redis/src/redis-cli PIDFILE=/var/run/redis_6379... 阅读全文
posted @ 2017-08-10 11:17 网络终结者 阅读(836) 评论(0) 推荐(1) 编辑
摘要: 添加mysql到service服务 阅读全文
posted @ 2017-08-09 17:48 网络终结者 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1:进入vim /etc/sysconfig/network-scripts目录 2:先编辑网卡的配置文件将里面的NAME DEVICE项修改为eth0 vim /etc/sysconfig/network-scripts/ifcfg-eno16777736 3:修改name和device值为eth 阅读全文
posted @ 2017-08-08 17:33 网络终结者 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1:下载haproxy 官网:http://www.haproxy.org/ 下载地址:http://www.haproxy.org/download/1.7/src/haproxy-1.7.8.tar.gz 创建用户: 2:安装 3:配制haproxy.cfg文件 在目录/usr/local/ha 阅读全文
posted @ 2017-08-01 20:31 网络终结者 阅读(693) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页