会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Old Artist
活在只承认实力的世界,可能的确是布满靳棘。
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
11
下一页
2022年12月19日
自动备份mysql数据库 - shell脚本
摘要: 以下是自动备份mysql数据库的全过程: 使用mysqldump程序连接到MySQL服务器。 将指定的数据库存储到SQL文件。 压缩SQL文件以节省空间。 要使用此脚本,您需要修改脚本顶部的变量以匹配MySQL服务器、数据库和备份目录。 #!/bin/bash # Variables MYSQL_H
阅读全文
posted @ 2022-12-19 13:21 Old·Artist
阅读(233)
评论(0)
推荐(0)
2022年11月30日
Centos7下LNMP环境安装Nextcloud
摘要: 这里前提是已经安装好LNMP环境。如何安装这里不赘述,可以查看我之前写的博客。 1:下载Nextcloud文件 https://nextcloud.com/install/ 2:解压 unzip latest.zip -d /home/ 3:设置Nginx配置文件 在/usr/local/nginx
阅读全文
posted @ 2022-11-30 15:57 Old·Artist
阅读(507)
评论(0)
推荐(0)
2022年11月12日
Centos 设置密钥登陆并禁用密码
摘要: 1:备份文件 cd /etc/ssh/ scp sshd_config sshd_config.bak 2:生成密钥 一路回车按下去就可以了。 [root@centos7-1 ssh]# ssh-keygen -t rsa Generating public/private rsa key pair
阅读全文
posted @ 2022-11-12 00:10 Old·Artist
阅读(678)
评论(0)
推荐(0)
2022年5月9日
Centos5.x 更换yum源
摘要: 修改CentOs-Base.repo文件: [base] name=CentOS-5.7 - Base - mirrors.aliyun.com failovermethod=priority baseurl=http://mirrors.aliyun.com/centos-vault/5.7/os
阅读全文
posted @ 2022-05-09 16:48 Old·Artist
阅读(126)
评论(0)
推荐(0)
2022年1月24日
Shell 脚本常用案例示例!
摘要: 1.Dos攻击防范(自动屏蔽攻击IP) #!/bin/bash DATE=$(date +%d/%b/%Y:%H:%M) LOG_FILE=/usr/local/nginx/logs/demo2.access.log ABNORMAL_IP=$(tail -n5000 $LOG_FILE |grep
阅读全文
posted @ 2022-01-24 15:23 Old·Artist
阅读(190)
评论(0)
推荐(0)
2022年1月16日
神秘的探险森林彩蛋
摘要: https://markdown-images-william.oss-cn-shanghai.aliyuncs.com/music/Happy_birthday.mp3
阅读全文
posted @ 2022-01-16 21:28 Old·Artist
阅读(38)
评论(0)
推荐(0)
2021年3月18日
centos编译php时出现make: *** [sapi/fpm/php-fpm] Error 1
摘要: 只需要安装一条命令就可以了 yum -y install libtool* libtool-* 这样就可以继续进行编译了。 还有一种方法就是编辑Makefile文件 找到Makefile文件,在EXTRA_LIBS最后添加-liconv EXTRA_LIBS = -lcrypt -lz -lexsl
阅读全文
posted @ 2021-03-18 11:45 Old·Artist
阅读(179)
评论(0)
推荐(0)
php Make编译PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
摘要: 在编译安装php的时候,make完之后,出现了如下报错: Generating phar.php Generating phar.phar PEAR package PHP_Archive not installed: generated phar will require PHP's phar e
阅读全文
posted @ 2021-03-18 11:43 Old·Artist
阅读(2469)
评论(0)
推荐(0)
2021年3月17日
Centos 安装 vim
摘要: 只需要一条命令就可以了 yum -y install vim-enhanced 然后可以查看下 [root@server-008 openssl-1.1.1g]# vim --version VIM - Vi IMproved 7.0 (2006 May 7, compiled Jan 8 2013
阅读全文
posted @ 2021-03-17 11:14 Old·Artist
阅读(207)
评论(0)
推荐(0)
mysql-5.6.45-linux-glibc2.12-x86_64.tar.gz下载安装
摘要: 一 :mysql下载 需要注册,可以通过组合url越过注册下载需要的包。下载地址:https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz 或 wget https://dev.my
阅读全文
posted @ 2021-03-17 09:45 Old·Artist
阅读(234)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
11
下一页
公告