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