Skip to content

Instantly share code, notes, and snippets.

View cadyrayller's full-sized avatar

MaxWell cadyrayller

View GitHub Profile
@cadyrayller
cadyrayller / install_docker.sh
Created September 12, 2021 16:54 — forked from sunny352/install_docker.sh
CentOS 7 安装 docker-ce 和 docker-compose 并设置腾讯云容器镜像源的脚本
#!/usr/bin/env bash
# 安装docker(使用阿里云源)
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum -y install docker-ce
systemctl start docker
# 迁移docker目录(可选)
systemctl stop docker
Centminmod - CentOS 7 Quick Commands
Commands for CentOS / centminmod / and other various items
##############################################
## CENTOS 7 COMMANDS
##############################################
Cron: checking log for what is running
# tail -f /var/log/cron
@cadyrayller
cadyrayller / keybase.md
Created December 12, 2020 03:26
keybase.md

Keybase proof

I hereby claim:

  • I am cadyrayller on github.
  • I am cadyrayller (https://keybase.io/cadyrayller) on keybase.
  • I have a public key whose fingerprint is D39D 9BE3 C6A9 B66F 5BC0 FBFE DF07 6FF6 CF63 13FD

To claim this, I am signing this object:

@cadyrayller
cadyrayller / install_chevereto.md
Created November 16, 2020 17:27 — forked from hellokaton/install_chevereto.md
自建图床 chevereto

在 VPS 上搭建自己的图床,这次我们使用 chevereto 这个程序。你需要在服务器上有 Nginx、PHP、MySQL,我们使用一键安装包进行安装。

安装 LNMP

yum -y install wget screen curl python git
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz
tar xzf lnmp-full.tar.gz
cd lnmp
screen -S lnmp