換到了ucloud香港主機芙沥,17ce發(fā)現(xiàn)除了四川和湖北速度不佳,其他的還不錯,比國外快不少胳泉,你覺得呢
openresty
官網(wǎng):https://openresty.org/cn/linux-packages.html
vim /etc/yum.repos.d/OpenResty.repo:
yum install openresty
Vim
插件管理工具: https://github.com/VundleVim/Vundle.vim
MySQL:
yum install mariadb-server mariadb -y
yum install mysql-devel
systemctl enable mariadb
vim /etc/my.conf:
systemctl start mariadb
/usr/bin/mysqladmin -u root password 'new-password'
mysql -uroot -p 'new-password'
create database myblog; GRANT ALL PRIVILEGES ON myblog.* TO 'the5fire'@'localhost' IDENTIFIED BY '123456';
導(dǎo)入數(shù)據(jù): mysql -uthe5fire -p '123456'
Python
yum install python-devel
yum install python-setuptools
easy_install pip
pip install virtualenv
Redis
yum install redis
no root user
useradd the5fire
passwd 'suibianshishenmeba'
su - the5fire
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
- from the5fire.com?
文章轉(zhuǎn)自:https://www.the5fire.com/