Update env.sh

master
呓喵酱 4 years ago committed by GitHub
parent 9e39533b67
commit 9ab50bfce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      env.sh

@ -5,12 +5,24 @@ cd /
#
hostname $1
hostnamectl set-hostname $1
#
# active rc.local
#
chmod +x /etc/rc.d/rc.local
#
# yum update
#
yum -y update
yum install epel-release -y
#
# onedrive
#
yum install -y screen fuse fuse-devel
curl https://rclone.org/install.sh | sudo bash
rclone config
nohup rclone mount o:ushio /mnt --allow-other --allow-non-empty --vfs-cache-mode writes &
echo nohup rclone mount o:ushio /mnt --allow-other --allow-non-empty --vfs-cache-mode writes &>>/etc/rc.d/rc.local
#
# Development Tools
#
yum install -y wget git vim unzip zip openssl make gcc gcc-c++

Loading…
Cancel
Save