linux
辜单戈
本人对环境的适应能力强,不怕吃苦,并且能和周围人较好的沟通,具有很强的团队精神
有理想,有追求,敢于面对压力和挑战,渴望找到一个能展示自己能力的平台
对前端、python、大数据开发语言及各种处理库有浓厚的兴趣
展开
-
nginx启动报错: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
nginx启动报错: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)原创 2022-06-24 09:50:59 · 2082 阅读 · 0 评论 -
使用nohup设置后台进程
有时候需要在Linux上设置一个后台进程,但是当你关闭terminal之时,它会被系统kill掉,那该如何来实现其后台进程能一直运行下去呢?使用方式:nohup demo.py &当在屏幕上敲击上述命令之后,屏幕上会出现如下信息:$ nohup: ignoring input and appending output to `nohup.out’敲击回车,就退出了nohup.out当前的界面,进入正常的命令行。...原创 2021-02-14 18:42:40 · 167 阅读 · 0 评论 -
Centos查看端口占用情况
Centos查看端口占用情况命令,比如查看80端口占用情况使用如下命令:lsof -i tcp:80列出所有端口netstat -ntlp结束进程:kill 进程代码原创 2021-02-10 23:00:39 · 1008 阅读 · 0 评论 -
Centos7 安装 Anaconda3 及 常用的conda命令
参考地址:https://www.geek-share.com/detail/2773987341.html原创 2021-02-10 22:54:05 · 314 阅读 · 0 评论 -
opencv ImportError: libXext.so.6: cannot open shared object file: No such file or directory
在使用uwsgi的时候报错:uwsgi: error while loading shared libraries: libiconv.so.2: cannot open shared object file: no such file or directory解决办法:(需要安装anaconda)conda install -c conda-forge libiconv转载 2021-02-10 22:51:18 · 386 阅读 · 0 评论 -
./configure: error: C compiler cc is not found
CentOS 执行./configure 编译命令 时出现checking for C compiler ... not found解决方法:执行以下命令yum -y install gcc gcc-c++ autoconf automake make原创 2021-02-10 22:45:12 · 789 阅读 · 0 评论 -
centos make: *** No rule to make target `build‘, needed by `default‘. Stop.
在新的服务器安装nginx,在make编译时报错:make: *** No rule to make target `build', needed by `default'. Stop.处理方法https://blog.csdn.net/cailongbiaoyuli/article/details/84348866转载 2021-02-10 22:41:31 · 3762 阅读 · 0 评论 -
Linux关机和重启命令
1,shutdown命令**重启命令**shutdown -r now:立即重启shutdown -r 08:30 定时重启(占用前台终端)shutdown -r 08:30 & 定时重启(后台运行)shutdown -c 取消重启shutdown -r +10 10分钟后重启**关机命令**shutdown -h now 立即关机shutdown -h 00:30 定时关机2,reboot命令reboot 重启命令3,halt和poweroff命令halt 关机命原创 2020-07-17 14:04:54 · 93 阅读 · 0 评论 -
Linux关闭防火墙命令
1:关闭防火墙命令systemctl stop firewalld.service2:开启防火墙命令systemctl start firewalld.service3:关闭开机自启动命令systemctl disable firewalld.service4:开启开机启动命令systemctl enable firewalld.service原创 2020-07-17 13:55:33 · 139 阅读 · 0 评论