文章分类 -  Linux

服务器之性能王
摘要:1、切换到要处理的根文件夹 cd /某某文件夹 2、打印出当前根目录下所有子目录存在后缀为exe的文件 find . -name '*.exe' -type f -print 3、执行删除 find . -name '*.exe' -type f -print -exec rm -rf {} \; 阅读全文
posted @ 2020-01-08 11:52 我在地球凑人数的日子 阅读(1253) 评论(0) 推荐(0)
摘要:apache httpd 启动 systemctl start httpd 停止 systemctl stop httpd 重启 systemctl restart httpd mysql 启动 systemctl start mysqld 停止 systemctl stop mysqld 重启 systemctl restart mysqld php-fpm 启动 systemctl ... 阅读全文
posted @ 2019-06-18 18:51 我在地球凑人数的日子 阅读(94) 评论(0) 推荐(0)
摘要:直接yum 安装的redis 不是最新版本 yum install redis 如果要安装最新的redis,需要安装Remi的软件源,官网地址:http://rpms.famillecollet.com/ yum install -y http://rpms.famillecollet.com/en 阅读全文
posted @ 2019-03-29 17:01 我在地球凑人数的日子 阅读(79) 评论(0) 推荐(0)
摘要:apache apache apache httpd 启动 systemctl start httpd 停止 systemctl stop httpd 重启 systemctl restart httpd mysql 启动 systemctl start mysqld 停止 systemctl st 阅读全文
posted @ 2019-03-29 17:00 我在地球凑人数的日子 阅读(165) 评论(0) 推荐(0)
摘要:linux下的任务调度分为两种类型:系统任务调度和用户任务调度,Linux系统任务是由cron (crond)这个系统服务来控制的,这个系统服务是默认启动的,用户自己设置的计划任务则使用crontab命令,在centos系统中。 cat /etc/crontab 配置文件中可以看到如下解释: SHE 阅读全文
posted @ 2019-03-29 16:18 我在地球凑人数的日子 阅读(114) 评论(0) 推荐(0)
摘要:yum install supervisord 安装supervisord 修改/user/bin/supervisorctl和supervisord加载python2.7,只能使用python2跑python3程序 启动supervisord supervisord -c /etc/supervi 阅读全文
posted @ 2019-03-29 16:17 我在地球凑人数的日子 阅读(117) 评论(0) 推荐(0)
摘要:第一步:安装uwsgi pip install uwsgi 第二步:项目目录下新增.ini配置文件 # mysite_uwsgi.ini file [uwsgi] daemonize = /website/AutocareBaoLei/uwsgi.log logto = /website/Autoc 阅读全文
posted @ 2019-03-29 16:16 我在地球凑人数的日子 阅读(79) 评论(0) 推荐(0)