Linux CentOS mount: Host is Down CentOS mount: Host is Down 问题描述: 将win10上共享文件夹挂载到centos上时,挂载命令正确,但出现如下报错 mount error(112): Host is do... 10月26日 热度5,094 度 发表评论 阅读全文
Linux Linux下修改.bash_profile文件后立即生效的方法 Linux下修改.bash_profile文件后立即生效的方法 方法一: source .bash_profile 方法二: ..bash_profile 方法三: exec bash --login 07月21日 热度4,362 度 发表评论 阅读全文
Linux Nginx环境301跳转 Nginx环境301跳转 方法1: if ($scheme = http ) { return 301 https://$host$request_uri; } 方法2: server_name ai... 02月12日 热度4,149 度 发表评论 阅读全文
Linux linux top命令VIRT,RES,SHR,DATA的含义 linux top命令VIRT,RES,SHR,DATA的含义 VIRT:virtual memory usage 虚拟内存 进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等 假如进程申请1... 02月01日 热度4,414 度 发表评论 阅读全文
C++ cc: Internal error: Killed (program cc1)解决方案 cc: Internal error: Killed (program cc1)解决方案 可能导致的原因,内存不足。 方法:使用交换分区(虚拟内存)。 以下的代码就是设置一个1G的虚拟内存。 sudo... 01月23日 热度4,313 度 发表评论 阅读全文
Linux centos下安装go以及websocket centos下安装go以及websocket 1.使用yum安装go yum install golang 2.修改环境 echo 'export PATH=$PATH:/usr/lib/golang... 11月07日 热度4,300 度 发表评论 阅读全文
Linux linux top命令 linux top命令VIRT,RES,SHR,DATA的含义 VIRT:virtual memory usage 虚拟内存 进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等 假如进程申请1... 10月25日 热度3,929 度 发表评论 阅读全文
Linux centos下apache/httpd服务的启动与停止 centos下apache/httpd服务的启动与停止 查看apache/httpd版本: 查看apache/httpd版本 代码 方法1 /usr/sbin/apachectl -v 方法2 /us... 10月19日 热度3,879 度 发表评论 阅读全文