![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
追逐吾之所求
我就是我,最真的我!
展开
-
linux cron 解决:MAIL (mailed 317 bytes of output but got status 0x004b#012)
MAIL (mailed 317 bytes of output but got status 0x004b#012)原创 2024-07-18 09:46:20 · 64 阅读 · 1 评论 -
python3.7: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object解决方法
python3.7: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object解决方法转载 2022-03-07 14:18:47 · 2250 阅读 · 0 评论 -
You should consider upgrading via the ‘python -m pip install --upgrade pip‘ command解决方法
You should consider upgrading via the 'python -m pip install --upgrade pip' command解决方法转载 2022-03-07 14:14:04 · 5160 阅读 · 1 评论 -
Centos7部署PaddleOCR环境
Centos7部署PaddleOCR环境转载 2022-03-07 14:11:12 · 980 阅读 · 0 评论 -
Centos7安装mysql遇到的问题
Centos7安装mysql遇到的问题:The GPG keys listed for the “MySQL 5.7 Community Server” repository are already installed but they are not correct for this package.Check that the correct key URLs are configured for this repository.Failing package is: mysql-communit转载 2022-03-07 12:06:11 · 1226 阅读 · 3 评论 -
linux centos安装pip3
linux centos安装pip3转载 2022-03-07 11:48:17 · 4221 阅读 · 0 评论 -
CentOS7安装Git以及操作
CentOS7安装Git以及操作转载 2022-03-07 11:45:35 · 3126 阅读 · 1 评论 -
centos7 安装vim
centos7 安装vim转载 2022-03-07 11:37:22 · 933 阅读 · 0 评论 -
linux cron
1.启动cron服务检查是否已启动service crond status如未启动,则启动,代码如下:service crond start2.添加文件进入 /var/spool/cron目录,按照用户名添加文件,如root用户则添加文件名为 root的文件然后填写你需要的时间控制与命令具体代码可以参考:Linux Crontab 定时任务然后,注意一定要敲一下回车键,不然第二步会报错3.为用户注册crontab代码如下:crontab -u root.原创 2021-04-20 18:13:29 · 326 阅读 · 0 评论 -
linux jar 解压war包到指定目录
1.如下的命令会默认建 test.war 解压到当前目录jar -xvf test.war2.使用 unzip 命令解压到指定目录,如下面的代码会将test.war加压到 /usr/local/tomcat7.0/webapps/test 目录unzip test.war -d /usr/local/tomcat7.0/webapps/test补充下一些命令的说明:命令名: unzip功 能说明:解压缩zip文 件语 法:unzip [-cflptuvz][-agCjLMnoq原创 2020-10-23 15:15:16 · 8038 阅读 · 3 评论 -
php判断当前的操作系统是linux还是windows
PHP判断当前操作系统的方法很多,比如:1.使用PHP预定义常量PHP_OS来获取:<?phpheader("Content-type:text/html;charset=utf-8;");$os_name=PHP_OS;if(strpos($os_name,"Linux")!==false){ $os_str="Linux操作系统";}else if(strpos...转载 2020-03-23 17:26:22 · 2049 阅读 · 0 评论 -
Linux nodejs运行方法
1. screen -ls 查看现在运行的窗口2.screen -R onlinecar 如果有onlinecar这个窗口,则进入;无,则创建3.cd /home/nodeEvent 进入nodejs的目录4.node wssServer.js 后台运行wssServer.js、5.按键 Ctrl+A+D,保存窗口。如果没有这个操作,直接关闭连接,则会直接关闭窗口,在窗口内...原创 2020-03-20 16:24:21 · 916 阅读 · 0 评论 -
Linux 使用nohup不挂断地运行命令(一直运行)
语法:nohup Command [ Arg … ] [ & ]用途:不挂断地运行命令。 无论是否将 nohup 命令的输出重定向到终端,输出都将附加到当前目录的 nohup.out 文件中。 如果当前目录的 nohup.out 文件不可写,输出重定向到 $HOME/nohup.out 文件中。 如果没有文件能创建或打开以用于追加,那么 Command 参数指定...转载 2019-11-06 11:21:04 · 1511 阅读 · 0 评论