
2019年2月13日,搬瓦工(bandwagonhost)正式推出助推电子商务企业的企业级VPS服务;接入10Gbps cn2 gia带宽,一起搬瓦工(bandwagonhost)也考虑到中国大陆的联通和移动用户的需求,针对中国联通和中国移动线路,由中国电信提供企业级的专线对接中国联通和中国移动,保证中国大陆的三网都是优化线路。 搬瓦工cn2怎么样?搬瓦工是...

需要让docker启动时在tcp端口2375上监听api服务 vi /etc/systemd/system/docker-tcp.socket [Unit]Description=Docker Socket for the API [Socket]ListenStream=2375BindIPv6Only=both Service=docker.servi...

<pre class="prism-highlight" prism-language-bash="">systemctl stop docker; //每个liunx版本的命令不一样。 2、创建新的docker目录,执行命令df -h,找一个大的磁盘。我的是放在/home目录下面,我的/home目录大小有...


Enable the remote API on a new socket Create a file called /etc/systemd/system/docker-tcp.socket to make Docker available on a TCP socket on port 2375. [Unit] Description=Docker So...

<pre class="prism-highlight" prism-language-bash="">/ip firewall filter add action=drop chain=input comment="Drop Invalid connections" connectio...

<pre class="prism-highlight" prism-language-bash="">/ip firewall mangle add action=mark-connection chain=forward in-interface=pppoe-out1 new-connection-ma...

最近发现linux下改了时区,同步到了硬件,ntpdate cn.pool.ntp.org怎么都没反应,时间还是不对。最后在牛人的blog中搜到了这样的方式。 <pre class="prism-highlight" prism-language-bash="">yum -y update yum -y i...


1.如我博客上篇Nginx安装指南,首先我的执行Nginx路径为:/home/nginx/sbin/nginx; 2.我的Nginx配置文件路径为:/home/nginx/conf/nginx.conf。 下面为nginx服务开机自启动文件,将放在/etc/init.d/目录下,文件名为:nginx。 #!/bin/sh # # nginx - this s...