随笔分类 -  linux

源码安装node8.11.1
摘要:源码下载地址:https://nodejs.org/zh-cn/download/ 该node版本需要gcc4.9.4以上,这里因为没有找到很好的yum安装地址,所以也用源码安装(这里我用的是5.3.0) gcc源码地址:http://www.netgull.com/gcc/releases/gcc 阅读全文

posted @ 2018-05-14 10:46 宇宙小飞机 阅读(830) 评论(0) 推荐(0)

LVM自动扩容
摘要:https://blog.csdn.net/u012439646/article/details/73380197 xfs文件系统用xfs_growfs 阅读全文

posted @ 2018-05-14 09:45 宇宙小飞机 阅读(114) 评论(0) 推荐(0)

sed用法
摘要:简单sed用法 阅读全文

posted @ 2018-03-21 16:16 宇宙小飞机 阅读(130) 评论(0) 推荐(0)

linux查看cpu参数
摘要:查看CPU信息(型号)[root@AAA ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz # 查看物理CPU个数[root@AAA ~]# cat / 阅读全文

posted @ 2018-02-01 15:37 宇宙小飞机 阅读(764) 评论(0) 推荐(0)

node&pm2部署
摘要:1.node.js下载地址https://nodejs.org/en/download/stable/ 建议下载编译版本 2.解压tar包至/usr/local/node-X.X.X 3.测试 /usr/local/node-X.X.X/bin/node -v 出现版本号即说明可以使用 4.添加全局 阅读全文

posted @ 2017-12-26 17:20 宇宙小飞机 阅读(130) 评论(0) 推荐(0)

ActiveMQ部署
摘要:下载地址http://activemq.apache.org/download.html 解压apache-activemq-5.15.2-bin.tar.gz至/usr/local/下 tar -xvf ~/apache-activemq-5.15.2-bin.tar.gz /usr/local/ 阅读全文

posted @ 2017-12-26 16:54 宇宙小飞机 阅读(141) 评论(0) 推荐(0)

ZooKeeper集群安装
摘要:转载http://blog.csdn.net/shirdrn/article/details/7183503 阅读全文

posted @ 2017-12-11 15:12 宇宙小飞机 阅读(73) 评论(0) 推荐(0)

SSH连接速度慢
摘要:系统:centos6.8 ssh调试 ssh -v ip 方法1.目标机更改sshd文件 vim /etc/ssh/sshd_conf 找到 #UseDNS yes 改为 UseDNS no 方法2,客户端更改ssh文件 vim /etc/ssh/ssh_config 找到 GSSAPIAuthen 阅读全文

posted @ 2017-05-25 19:33 宇宙小飞机 阅读(342) 评论(0) 推荐(0)

linux实现nat转发和内部端口映射
摘要:路由机 eth0:114.114.114.114(公网ip) eth1:192.168.1.1(内网ip) pc1 eth0:192.168.1.2(内网ip) eth1(拨号ip) pc2 eth0:192.168.1.3(内网ip) eth1(拨号ip) 1.配置路由机网卡信息 vim /etc 阅读全文

posted @ 2017-05-05 14:27 宇宙小飞机 阅读(30342) 评论(0) 推荐(0)

导航