2018-12-31lesson

Jan 1, 2019

一年的最后一天,补一个日记。
希望明年真正做到盈利。
汪汪汪

New VPS Centos6 config

//查看系统位数
file /bin/ls
getconf LONG_BIT
uname -a || uname -r

service docker start/stop (当前为1.7.1)
https://stackoverflow.com/questions/35385853/yum-install-error-docker
yum install http://yum.dockerproject.org/repo/main/centos/6/Packages/docker-engine-1.7.1-1.el6.x86_64.rpm
这个包才是存在的

yum install -y wget

centos 6 安装Nginx
https://www.cyberciti.biz/faq/install-nginx-centos-rhel-6-server-rpm-using-yum-command/

之上一直因为centos6 的epel-release 这个扩展源 老是装不进,所以在安装一堆东西时,总是显示“nothing to do”。
我一直以为EPEL 是装进去的,而且是最新的,然而并没有安装进去。
https://unix.stackexchange.com/questions/153566/installing-epel-repository-on-centos-fails

1
2
3
rpm -ev epel-release-6-8.noarch
yum update
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/$(uname -i)/epel-release-6-8.noarch.rpm

安装入这个后,yum 源就有python-pip 了