CentOS mount: Host is Down 问题描述: 将win10上共享文件夹挂载到centos上时,挂载命令正确,但出现如下报错 mount error(112): Host is do...
centos npm安装报错
centos npm安装报错 报错信息如下: # sudo npm install -g gitbook-cli npm http GET https://registry.npmjs.org/git...
Nginx环境301跳转
Nginx环境301跳转 方法1: if ($scheme = http ) { return 301 https://$host$request_uri; } 方法2: server_name ai...
linux top命令VIRT,RES,SHR,DATA的含义
linux top命令VIRT,RES,SHR,DATA的含义 VIRT:virtual memory usage 虚拟内存 进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等 假如进程申请1...
cc: Internal error: Killed (program cc1)解决方案
cc: Internal error: Killed (program cc1)解决方案 可能导致的原因,内存不足。 方法:使用交换分区(虚拟内存)。 以下的代码就是设置一个1G的虚拟内存。 sudo...
linux top命令
linux top命令VIRT,RES,SHR,DATA的含义 VIRT:virtual memory usage 虚拟内存 进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等 假如进程申请1...
centos下apache/httpd服务的启动与停止
centos下apache/httpd服务的启动与停止 查看apache/httpd版本: 查看apache/httpd版本 代码 方法1 /usr/sbin/apachectl -v 方法2 /us...
Linux管道读写及重定向的一个简易代码
Linux管道读写及重定向的一个简易代码 先给出子进程执行的test程序(需先编译) // test.cpp #include <iostream> using namespace std...