随笔分类 -  Linux

摘要:编写shell脚本实现 1.新建crontab.sh,插入以下内容 #!/bin/bash step=5 #间隔的秒数,不能大于60 for (( i = 0; i < 60; i=(i+step) )); do curl http://xxx.com/cron/test.php sleep $st 阅读全文
posted @ 2021-01-29 14:13 键盘上的艺术家 阅读(431) 评论(0) 推荐(0)
摘要:查到php-fpm.log有WARNING,如下: [04-Jan-2021 01:10:14] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_server 阅读全文
posted @ 2021-01-05 17:24 键盘上的艺术家 阅读(676) 评论(0) 推荐(0)
摘要:记录一下SVN迁移过程,方便以后查看. SVN的迁移有两种方式: 1)svnadmin dump(dump出源机器SVN的代码库,然后load到新服务器上去。) 2)svnadmin hotcopy 3) svnadmin svnsync (使用 svnsync 直接同步源机器代码库,)。 第一种  阅读全文
posted @ 2020-06-23 14:21 键盘上的艺术家 阅读(494) 评论(0) 推荐(0)
摘要:复制文件夹(目录) (1)将本地文件夹拷贝到远程 scp -r 目录名 用户名@计算机IP或者计算机名称:远程路径 scp -r /home/test1 root@192.168.1.1:/home/test2 Tips:test1为源目录,test2为目标目录,username@192.168.1 阅读全文
posted @ 2020-06-23 13:51 键盘上的艺术家 阅读(586) 评论(0) 推荐(0)
摘要:第一步.安装 1.以yum方式安装 yum install -y goaccess 2. 编译方式安装 (1). 安装依赖 yum install glib2 glib2-devel GeoIP-devel ncurses-devel zlib zlib-devel -y wget https:// 阅读全文
posted @ 2020-03-02 10:40 键盘上的艺术家 阅读(639) 评论(0) 推荐(0)
摘要:下载相关软件 wget http://subversion.tigris.org/downloads/subversion-1.6.6.tar.gz wget http://subversion.tigris.org/downloads/subversion-deps-1.6.6.tar.gz 编辑 阅读全文
posted @ 2020-02-17 09:49 键盘上的艺术家 阅读(1585) 评论(0) 推荐(0)
摘要:一. 安装 查看是否安装ftp rpm -qa | grep vsftpd安装ftp yum -y install vsftpd 启动 /bin/systemctl start vsftpd.service重启 /bin/systemctl restart vsftpd.service查看状态 /b 阅读全文
posted @ 2019-12-30 16:53 键盘上的艺术家 阅读(303) 评论(0) 推荐(0)