会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
璇
博客园
首页
新随笔
联系
订阅
管理
2021年6月21日
centos7.5-nginx-1.20.1安装教程
摘要: 1.安装编码依赖包 nginx在linux安装的前提需要:wget、gcc、pcre、openssl、zlib [root@master ~]# yum -y install gcc gcc-c++ [root@master ~]# yum install -y pcre pcre-devel [r
阅读全文
posted @ 2021-06-21 17:12 璇璇~~
阅读(1306)
评论(0)
推荐(0)
2021年4月7日
CentOS系统基本命令
摘要: 1.系统版本的查询 [root@master ~]# cat /etc/redhat-release CentOS release 6.9 (Final) [root@master ~]# cat /etc/issueCentOS release 6.9 (Final)Kernel \r on an
阅读全文
posted @ 2021-04-07 18:57 璇璇~~
阅读(86)
评论(0)
推荐(0)
2021年3月10日
点击图片放大
摘要:
阅读全文
posted @ 2021-03-10 17:01 璇璇~~
阅读(62)
评论(0)
推荐(0)
2021年3月2日
ssh漏洞修复
摘要: 注意:升级前多开几个窗口,避免升级失败后,无法远程连接服务器。 1.使用的服务器系统: [root@master ~]# cat /etc/redhat-release CentOS release 6.9 (Final) 2.使用服务器内核:[root@master ~]# cat /proc/v
阅读全文
posted @ 2021-03-02 17:42 璇璇~~
阅读(737)
评论(0)
推荐(0)
linux挂载移动硬盘ntfs格式
摘要: 移动硬盘插到服务器上后,磁盘加载不出来。 1.下载ntfs-3g包。 地址在网上可以找到 2.安装 ./configure make && make instsall 3.挂载移动硬盘 mount –t ntfs-3g /dev/sdv1 /mnt
阅读全文
posted @ 2021-03-02 17:31 璇璇~~
阅读(383)
评论(0)
推荐(0)
xshell关闭导致正在后台运行的数据库命令关闭
摘要: 背景: xshell连接服务器,执行以下命令: /data/mysql/bin/mysqldump -uxxx -pxxx xxx < xxx.sql & 直接关闭xshell后,后台命令同时关闭。 解决方法: 后台执行命令后,执行exit命令退出服务器,再关闭xshell 重新连接后后台命令仍在。
阅读全文
posted @ 2021-03-02 17:28 璇璇~~
阅读(806)
评论(0)
推荐(0)
nginx日志切割
摘要: 1.切割日志脚本 cat /home/nginx/logs/cut_access.sh #!/bin/bash#日志文件存放目录log_path=/home/nginx/logs/access.log#日志文件存储目录save_path=/home/nginx/logs/access_$(date
阅读全文
posted @ 2021-03-02 17:04 璇璇~~
阅读(62)
评论(0)
推荐(0)
2021年3月1日
linux 安装mysql-8.0.21安装至/home/mysql目录下
摘要: 操作系统版本:CentOS Linux release 7.5.1804 (Core) 一、下载MySQL数据库包mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz 下载地址:1.官网地址:https://downloads.mysql.com/archives/c
阅读全文
posted @ 2021-03-01 17:12 璇璇~~
阅读(805)
评论(0)
推荐(0)
2021年1月20日
nginx判断是手机端还是pc端的请求(实测有效)
摘要: location ^~ / { #index logon.do; if ($http_user_agent !~* "(MIDP)|(WAP)|(UP.Browser)|(Smartphone)|(Obigo)|(Mobile)|(AU.Browser)|(wxd.Mms)|(WxdB.Browse
阅读全文
posted @ 2021-01-20 16:06 璇璇~~
阅读(1398)
评论(0)
推荐(0)
2021年1月13日
CenTos7.4版本openssh版本更新至8.1
摘要: 1.检查目前服务器上的openssh的版本 ssh -V 2.下载依赖包yum install -y gcc openssl-devel pam-devel rpm-build 3.下载OpenSSH最新版本 wget https://ftp.openbsd.org/pub/OpenBSD/Open
阅读全文
posted @ 2021-01-13 11:34 璇璇~~
阅读(335)
评论(0)
推荐(0)
下一页
公告