
linux 应用
phrnet
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
centos6升级openssh-8.6p1 一键脚本
#/usr/bin/sh #wget http://mirr.ngzb.com.cn/repo/Centos6/repo/update.sh && bash update.sh yum update -y yum install -y gcc openssl-devel pam-devel rpm-build pam-devel #yum -y install pam-devel wget http://.*.com.cn/s/repo/tar/pam-devel-1.1.1-24.el6原创 2021-05-06 15:10:10 · 770 阅读 · 0 评论 -
rsync 使用代理服务器同步mirrors的脚本
#!/bin/sh #RSA.LOG #export RSYNC_PROXY="http:/*:1088" #rsync -avHz linux.dell.com::repo/hardware export RSYNC_PROXY="" export RSYNC_PROXY=ip:1088(http端口的) #rsync -avHz /home/mirrors/dell_omsa/ linux.dell.com::repo/community/openmanage/930/bionic rsync -aP原创 2021-05-06 15:08:14 · 1354 阅读 · 0 评论 -
monibuca运行在centos8/7下
官方的demo: bash <(curl -s -S -L https://monibuca.com/demo.sh) 没法用 真的很神奇,1.41.1的go,但是只支持1.35.1的 我魔改了下也不一定能用 cd /opt wget https://studygolang.com/dl/golang/go1.13.15.linux-amd64.tar.gz export PATH=$PATH:/opt/go/bin:/usr/local/go/bin tar -vxf go1.13.15.lin原创 2020-11-11 15:28:57 · 777 阅读 · 0 评论 -
SRS自启动脚本
在 /etc/init.d/run.sh 创建文件 #!/bin/bash #chkconfig: 2345 80 90 # 运行记录日志 runlog=/root/srs/trunk/reload.log # 切换到脚本的工作目录 cd /root/srs/trunk # 首先以正常的方式(尝试)结束掉srs服务的进程,静默结束 pgrep srs |xargs kill -15 &>/dev/null # 休息1秒,让出1秒时间充分地停止进程 sleep 1 # 检查一原创 2020-09-17 17:14:27 · 1416 阅读 · 0 评论 -
centos8 mysql8 yum安装修改密码
skip-grant-tables 加入到mysqld中 mysql -uroot -p 查看root的位置 select user,host from user; use mysql; update user set authentication_string='' where user='root'; flush privileges; alter user 'root'@'localhost' identified by 'newpassword'; flush privileges; 完成后Ct原创 2020-09-08 17:26:49 · 235 阅读 · 0 评论 -
centos8 mysql8 国内镜像
wget http://mirrors.ustc.edu.cn/mysql-repo/mysql80-community-release-fc32-1.noarch.rpm rpm -ivh mysql80-community-release-fc32-1.noarch.rpm mysql-community-source.repo [mysql80-community-source] name=MySQL 8.0 Community Server - Source baseurl=http://mir原创 2020-09-08 16:25:14 · 594 阅读 · 0 评论 -
centos8 安装gui并使用windows的rdp远程连接桌面 Server with GUI
安装 参考 (https://blog.csdn.net/zzzjjjfff/article/details/105203359) yum groupinstall “Server with GUI” systemctl set-default graphical rdp部分:(参考https://www.cnblogs.com/lenmom/p/9516210.html) yum install -y epel-release yum install -y xrdp tigervnc-server s原创 2020-08-28 16:41:17 · 2019 阅读 · 0 评论 -
debian pve 升级 proxmox ve升级
修改pve为国内的 no subscription,不使用企业更新源 mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bk echo 'deb https://mirrors.ustc.edu.cn/proxmox/debian/pve/ buster pve-no-subscription' >> /etc/apt/sources.list.d/pve-no-s原创 2020-08-06 16:23:03 · 1799 阅读 · 0 评论 -
redis-shake redis同步 迁移 工具使用方法 centos8
mkdir -p /home/redis/sync cd /home/redis/sync 到这里下载最新版的 https://github.com/alibaba/RedisShake/releases/ wget xxx.tar.gz tar xzf redis-shake-v2.0.3.tar.gz cd redis-shake-v2.0.3 mkdir ./log 修改 log.file = ./log/redis-shake.log 同步的配置参考 # this is the conf原创 2020-08-20 16:27:57 · 513 阅读 · 0 评论 -
centos8 lxc 虚拟化安装redis
yum install wget -y 下载最新的redis 这个更新比较慢 http://www.redis.cn/download.html 官网 https://redis.io/download yum install wget gcc-c++ gcc automake autoconf libtool make -y wget http://download.redis.io/releases/redis-6.0.6.tar.gz tar xzf redis-6.0.6.tar.gz cd re原创 2020-08-20 14:05:28 · 505 阅读 · 4 评论