curl -O http://vestacp.com/pub/vst-install.sh Additional Repository 选 remi ---php7 php -v wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-releas…
curl -O http://vestacp.com/pub/vst-install.sh Additional Repository 选 remi ---php7 php -v wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-releas…
wget https://raw.github.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh chmod +x dropbox_uploader.sh ./dropbox_uploader.sh info vi backup.sh #!/bin/bash SCRIPT_DIR="/root" DROPBOX_DIR="/ovh_zq_1" BACKUP_SRC="/var/www" BACKUP_DST="/tmp" NOW…
vboxmanage clonehd original-disk.vmdk new-disk.vdi --format VDI 需要转换为vdi 清理 vboxmanage modifyhd new-disk.vdi --compact
apt-get install xfce4 xfce4-goodies gnome-icon-theme tightvncserver iceweasel adduser vnc apt-get install sudo gpasswd -a vnc sudo su - vnc 运行 vncserver 停止 vncserver -kill :1 ---黑屏处理 vi /root/.vnc/xstartup #!/bin/sh unset SESSION_MA…
yum groupinstall "GNOME Desktop" yum install tigervnc-server cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service vi /etc/systemd/system/vncserver@:1.service 更改 #ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i" #…
vim /etc/yum.repos.d/virtualbox.repo [virtualbox] name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch enabled=1 gpgcheck=1 gpgkey=http://download.vi…
yum groupinstall xfce-4.4 yum install vnc vnc-server vi /etc/sysconfig/vncservers 添加 VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 1024x768" vncserver 配置环境 vi /root/.vnc/xstartup 替换 #!/bin/sh # Uncomment the following two lines for normal desktop: uns…
vim /etc/yum.repos.d/CentOS-Base.repo [google] name=Google - i386 baseurl=http://dl.google.com/linux/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub [google64] name=Google - x86_64 baseurl=http://…
In 64 bit CentOS (x86_64) # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm In 32 bit CentOS (i386) # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm…
关闭SELinux vi /etc/sysconfig/selinux SELINUX=disabled SELINUXTYPE=targeted reboot 2. 搭建网桥 yum install bridge-utils vi /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE="br0" NM_CONTROLLED="yes" ONBOOT=yes TYPE=Bridge #bootproto=dhcp BOOTPROTO=none IPADDR=192.168.…