<pre class="prism-highlight" prism-language-bash="">systemctl stop docker; //每个liunx版本的命令不一样。 2、创建新的docker目录,执行命令df -h,找一个大的磁盘。我的是放在/home目录下面,我的/home目录大小有...
https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce/
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...
找了很多类似的答案,都是扯犊子的,下面的方案完美解决: 打开终端------>在终端输入 scutil --set HostName "localhost" 在弹出的对话框中输入密码即可,作者的解释是 需要更新hosts文件(具体原因待我日后查明再分享给大家,不懂也不影响大家解决问题) 另外,修改内存的快捷方式为: 打开 idea,...
网上找到许多一键安装脚本都不好使,唯独这个,怎么用怎么爽 <a href="https://github.com/hwdsl2/setup-ipsec-vpn">https://github.com/hwdsl2/setup-ipsec-vpn</a>
Phil
一直以来 我只有前进才能忘记羞辱的历史 所以 还有很多事情 需要我去做 也有很多事情 我必须要做