﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-alantop's blog -随笔分类-centos</title><link>http://www.cppblog.com/alantop/category/21349.html</link><description>量化趋势交易</description><language>zh-cn</language><lastBuildDate>Tue, 10 Sep 2019 14:17:29 GMT</lastBuildDate><pubDate>Tue, 10 Sep 2019 14:17:29 GMT</pubDate><ttl>60</ttl><item><title>centos分区</title><link>http://www.cppblog.com/alantop/archive/2019/09/10/216809.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 10 Sep 2019 11:50:00 GMT</pubDate><guid>http://www.cppblog.com/alantop/archive/2019/09/10/216809.html</guid><wfw:comment>http://www.cppblog.com/alantop/comments/216809.html</wfw:comment><comments>http://www.cppblog.com/alantop/archive/2019/09/10/216809.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/alantop/comments/commentRss/216809.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/alantop/services/trackbacks/216809.html</trackback:ping><description><![CDATA[1. 2个。/和swap为2G<br />2.&nbsp;<br />bios boot 2M 主分区<br />/boot 1G 主分区<br />/ 10G LVM方式<br />/home LVM方式<br />/var 10G LVM方式<br />/usr 10G LVM方式<br />swap 2G LVM方式<img src ="http://www.cppblog.com/alantop/aggbug/216809.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/alantop/" target="_blank">AlanTop</a> 2019-09-10 19:50 <a href="http://www.cppblog.com/alantop/archive/2019/09/10/216809.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos 7.6 监控网卡流量</title><link>http://www.cppblog.com/alantop/archive/2019/08/13/216675.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 13 Aug 2019 13:49:00 GMT</pubDate><guid>http://www.cppblog.com/alantop/archive/2019/08/13/216675.html</guid><wfw:comment>http://www.cppblog.com/alantop/comments/216675.html</wfw:comment><comments>http://www.cppblog.com/alantop/archive/2019/08/13/216675.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/alantop/comments/commentRss/216675.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/alantop/services/trackbacks/216675.html</trackback:ping><description><![CDATA[<div>1.安装</div><div>yum install iftop -y</div><div></div><div>2.查看网卡流量</div><div>iftop -i eth1</div><div></div><div>3.监控特定ip的流量</div><div>监控某个特定IP的带宽访问情况：</div><div>iftop -i eth1 -B -F 182.92.***.20</div><div>显示182.92.***.20这个IP与服务器的网卡eth1交互的数据量，单位是Byte。</div><div></div><div>4.退出</div><div>q</div><div></div><div>5.显示界面说明：</div><div>"&lt;="与"=&gt;"，表示的是流量的方向</div><div>"TX"：从网卡发出的流量</div><div>"RX"：网卡接收流量</div><div>"TOTAL"：网卡发送接收总流量</div><div>"cum"：iftop开始运行到当前时间点的总流量</div><div>"peak"：网卡流量峰值</div><div>"rates"：分别表示最近2s、10s、40s 的平均流量</div><img src ="http://www.cppblog.com/alantop/aggbug/216675.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/alantop/" target="_blank">AlanTop</a> 2019-08-13 21:49 <a href="http://www.cppblog.com/alantop/archive/2019/08/13/216675.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>frp内网穿透远程连接</title><link>http://www.cppblog.com/alantop/archive/2019/07/17/216561.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Wed, 17 Jul 2019 03:07:00 GMT</pubDate><guid>http://www.cppblog.com/alantop/archive/2019/07/17/216561.html</guid><wfw:comment>http://www.cppblog.com/alantop/comments/216561.html</wfw:comment><comments>http://www.cppblog.com/alantop/archive/2019/07/17/216561.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/alantop/comments/commentRss/216561.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/alantop/services/trackbacks/216561.html</trackback:ping><description><![CDATA[软件下载地址：https://github.com/fatedier/frp/releases<br />服务器 centos 7.6<br />客户机 windows 10<br /><br />服务器端配置文件 frps.ini<br /><br /><div># 编辑配置文件&nbsp;</div><div># frps.ini</div><div>#通用设置</div><div>[common]</div><div># frp 监听地址</div><div>bind_port = 7000</div><div>#访问客户端web服务自定义的端口号&nbsp;</div><div>vhost_http_port = 8110</div><div>#链接口令</div><div>token = 12345678</div><div></div><div>#frp 控制面板</div><div>dashboard_port = 7500</div><div># dashboard 用户名密码可选，默认都为 admin</div><div>dashboard_user = admin</div><div>dashboard_pwd = admin<br /><br /><div><div>服务器端运行 ./frps -c frps.ini</div><div>远程管理页面 http://ip:7500/</div><div></div><div>客户端配置文件</div><div></div><div>&nbsp;# 通用配置</div><div>&nbsp; &nbsp; [common]</div><div>&nbsp; &nbsp; # 服务器端地址 也可以填写域名</div><div>&nbsp; &nbsp; server_addr = 47.103.128.154</div><div>&nbsp; &nbsp; # 服务器端口</div><div>&nbsp; &nbsp; server_port = 7000&nbsp;</div><div>&nbsp; &nbsp; # 授权token 要与服务器端一致</div><div>&nbsp; &nbsp; token = 12345678</div><div>&nbsp; &nbsp;&nbsp;</div><div></div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; #内网穿透提供本地数据库给别人访问</div><div>&nbsp; &nbsp;[tcp3389]</div><div>&nbsp; &nbsp;type = tcp</div><div>&nbsp; &nbsp;local_ip = 10.2.3.110</div><div>&nbsp; &nbsp;#本地端口</div><div>&nbsp; &nbsp;local_port = 3389</div><div>&nbsp; &nbsp;#远程端口</div><div>&nbsp; &nbsp;remote_port =3389</div><div>&nbsp; &nbsp;</div><div>客户端运行&nbsp;<span style="color: #4d4d4d; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; font-variant-ligatures: common-ligatures; background-color: #ffffff;">frpc.exe -c frpc.ini</span></div></div><span style="background-color: #282c34; color: #abb2bf; font-family: &quot;Source Code Pro&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;Anonymous Pro&quot;, &quot;Droid Sans Mono&quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif; font-variant-ligatures: common-ligatures; white-space: pre;"><br /><br /></span></div><div></div><img src ="http://www.cppblog.com/alantop/aggbug/216561.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/alantop/" target="_blank">AlanTop</a> 2019-07-17 11:07 <a href="http://www.cppblog.com/alantop/archive/2019/07/17/216561.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos和debian的支持时间</title><link>http://www.cppblog.com/alantop/archive/2018/08/12/215839.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Sun, 12 Aug 2018 02:04:00 GMT</pubDate><guid>http://www.cppblog.com/alantop/archive/2018/08/12/215839.html</guid><wfw:comment>http://www.cppblog.com/alantop/comments/215839.html</wfw:comment><comments>http://www.cppblog.com/alantop/archive/2018/08/12/215839.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/alantop/comments/commentRss/215839.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/alantop/services/trackbacks/215839.html</trackback:ping><description><![CDATA[<div>centos 6 / RHEL 6 完整更新（2016年第二季度） 维护更新（2020年11月30日）</div><div>centos 7 / RHEL 7 完整更新（2019年第四季度） 维护更新（2024年06月30日）</div><div></div><div>Debian GNU/Linux 9 &#8220;Stretch&#8221;LTS版本 支持到 2020 年 6 月</div><img src ="http://www.cppblog.com/alantop/aggbug/215839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/alantop/" target="_blank">AlanTop</a> 2018-08-12 10:04 <a href="http://www.cppblog.com/alantop/archive/2018/08/12/215839.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos 7.0  samba配置文件</title><link>http://www.cppblog.com/alantop/archive/2018/05/29/215688.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 29 May 2018 05:04:00 GMT</pubDate><guid>http://www.cppblog.com/alantop/archive/2018/05/29/215688.html</guid><wfw:comment>http://www.cppblog.com/alantop/comments/215688.html</wfw:comment><comments>http://www.cppblog.com/alantop/archive/2018/05/29/215688.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/alantop/comments/commentRss/215688.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/alantop/services/trackbacks/215688.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/alantop/archive/2018/05/29/215688.html'>阅读全文</a><img src ="http://www.cppblog.com/alantop/aggbug/215688.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/alantop/" target="_blank">AlanTop</a> 2018-05-29 13:04 <a href="http://www.cppblog.com/alantop/archive/2018/05/29/215688.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos 7.0 samba 配置文件</title><link>http://www.cppblog.com/alantop/archive/2018/02/27/215529.html</link><dc:creator>AlanTop</dc:creator><author>AlanTop</author><pubDate>Tue, 27 Feb 2018 04:45:00 GMT</pubDate><guid>http://www.cppblog.com/alantop/archive/2018/02/27/215529.html</guid><wfw:comment>http://www.cppblog.com/alantop/comments/215529.html</wfw:comment><comments>http://www.cppblog.com/alantop/archive/2018/02/27/215529.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/alantop/comments/commentRss/215529.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/alantop/services/trackbacks/215529.html</trackback:ping><description><![CDATA[<div>admin 为更新目录，此目录可以读取，可以删除，需要密码，<br />public 目录只读，<br />upload 可以上传 可以删除 如果不允许删除 加mask属性即可。<br />[global]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; workgroup = SAMBA</div><div>&nbsp; &nbsp; &nbsp; &nbsp; security = user</div><div></div><div>&nbsp; &nbsp; &nbsp; &nbsp; passdb backend = tdbsam</div><div></div><div>&nbsp; &nbsp; &nbsp; &nbsp; printing = cups</div><div>&nbsp; &nbsp; &nbsp; &nbsp; printcap name = cups</div><div>&nbsp; &nbsp; &nbsp; &nbsp; load printers = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; cups options = raw</div><div>&nbsp; &nbsp; &nbsp; &nbsp; map to guest = bad user</div><div>&nbsp; &nbsp; &nbsp; &nbsp; #guest account=guest</div><div>[public]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; path = /home/user/public</div><div>&nbsp; &nbsp; &nbsp; &nbsp; browseable = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; read only = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; guest ok = yes</div><div>[admin]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; path=/home/user</div><div>&nbsp; &nbsp; &nbsp; &nbsp; valid users = ks</div><div>&nbsp; &nbsp; &nbsp; &nbsp; write list = ks</div><div>&nbsp; &nbsp; &nbsp; &nbsp; read only = no</div><div>&nbsp; &nbsp; &nbsp; &nbsp; guest ok = no</div><div>&nbsp; &nbsp; &nbsp; &nbsp; writable = yes</div><div>[upload]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; path=/home/user/upload</div><div>&nbsp; &nbsp; &nbsp; &nbsp; read only = no</div><div>&nbsp; &nbsp; &nbsp; &nbsp; guest ok = yes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; writeable = yes</div><div></div><img src ="http://www.cppblog.com/alantop/aggbug/215529.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/alantop/" target="_blank">AlanTop</a> 2018-02-27 12:45 <a href="http://www.cppblog.com/alantop/archive/2018/02/27/215529.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>