gongdear   gongdear的技术博客

欢迎大家参观我的博客

标签: Centos7 (14)

centos7_timemachine 有更新!

netatalk3111011el7centossrcrpm Install Time Machine service on CentOS 7 http://netatalk.sourceforge.net/wiki/index.php/Netatalk_3.1.7_SRPM_for_Fedora_and_CentOS http://confoundedtech.blogspot.com/2011/07/draft-draft-ubuntu-as-apple-time.html yum install -y rpm-build gcc make wget install netatalk yum install -y avahi-devel cracklib-devel dbus-devel dbus-glib-devel libacl-devel libattr-devel libdb-devel libevent-devel libgcrypt-devel krb5-devel mysql-devel openldap-devel openssl-devel pam-devel q....

Centos7安装docker环境

在此之前先设置代理 1 系统代理 全局+yum代理 2 docker代理 * 1 创建目录 mkdir /etc/systemd/system/docker.service.d 2 创建配置文件 touch /etc/systemd/system/docker.service.d/http-proxy.conf 3 编辑文件并加入以下内容 vim/vi http-proxy.conf [Service] Environment="HTTP_PROXY=http://ip:port" 4 更新重加载配置&重启Docker服务 systemctl daemon-reload systemctl restart docker 安装docker 安装需要的软件包, yum-util 提供yum-config-manager功能,另外两个是devicemapper驱动依赖的 sudo yum install -y yum-utils device-mapper-persistent-data lvm2 设置yum源 yum-config-manager –add-repo h....

Centos7安装docker环境

在此之前先设置代理 1 系统代理 全局+yum代理 2 docker代理 * 1 创建目录 mkdir /etc/systemd/system/docker.service.d 2 创建配置文件 touch /etc/systemd/system/docker.service.d/http-proxy.conf 3 编辑文件并加入以下内容 vim/vi http-proxy.conf [Service] Environment="HTTP_PROXY=http://ip:port" 4 更新重加载配置&重启Docker服务 systemctl daemon-reload systemctl restart docker 安装docker 安装需要的软件包, yum-util 提供yum-config-manager功能,另外两个是devicemapper驱动依赖的 sudo yum install -y yum-utils device-mapper-persistent-data lvm2 设置yum源 yum-config-manager –add-repo h....

Centos7下搭建shadowsocker服务器

yum -y install epel-release yum install Python yum install php yum install python-pip pip install shadowsocks 若 提示 pip级别太低,需升级 python -m pip install –upgrade pip 创建配置文件,使用vim vim /etc/shadowsocks.json * 单用户配置 { “server”: “0.0.0.0”,//输入公网IP “server_port”: 2018,//你准备的端口 “password”: “12345678”,//连接密码 “method”: “aes-256-cfb”//加密方式,可选 } 多用户配置 { “server”: “0.0.0.0”, “port_password”: { “8381”: “password1”, “8382”: “password2”, “8383”: “password3”, “8384”: “password4” }, “timeout”: 300, “method”: “aes....

Centos7命令行设置代理 有更新!

全局代理 vim /etc/profile http_proxy=http://username:password@yourproxy:8080或http_proxy=http://yourproxy:8080 ftp_proxy=http://username:password@yourproxy:8080或ftp_proxy=http://yourproxy:8080 export http_proxy export ftp_proxy yum proxy vim /etc/yum.conf proxy=http://username:password@yourproxy:8080/ wget proxy http_proxy=http://username:password@yourproxy:8080 https_proxy=http://username:password@yourproxy:8080 ftp_proxy=http://username:password@yourproxy:8080