1.Insltall python3.7.x
# curl -O https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz
# tar xf Python-3.7.3.tgz
# cd Python-3.7.3/
# ./configure
# make
# make altinstall
sources;
2.Install uwsgi, nginx
# pip install uwsgi
# yum install nginx
# yum install yum-cron
# vi/etc/yum/yum-cron.conf
[……]
# Whether updates should be applied when they are available. Note
# that download_updates must also be yes for the update to be applied.
#apply_updates = no ###defalut
apply_updates = yes
[……]
If you would like to see your nginx’s version, type the following commands,
# rpm -qi nginx
Name : nginx
Epoch : 1
Version : 1.12.2
Release : 2.el7
Architecture: x86_64
Install Date: Wed 17 Apr 2019 12:10:20 AM JST
Group : System Environment/Daemons
Size : 1574949
License : BSD
Signature : RSA/SHA256, Tue 06 Mar 2018 06:44:06 PM JST, Key ID 6a2faea2352c64e5
Source RPM : nginx-1.12.2–2.el7.src.rpm
Build Date : Tue 06 Mar 2018 06:27:44 PM JST
Build Host : buildhw-02.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://nginx.org/
Bug URL : https://bugz.fedoraproject.org/nginx
Summary : A high performance web server and reverse proxy server
Description :
Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
IMAP protocols, with a strong focus on high concurrency, performance and low
memory usage.
If you want to display files including the packages, type the commands as bellow;
# rpm -ql nginx
/etc/logrotate.d/nginx
/etc/nginx/fastcgi.conf
/etc/nginx/fastcgi.conf.default
/etc/nginx/fastcgi_params
/etc/nginx/fastcgi_params.default
[……]
/usr/share/vim/vimfiles/syntax/nginx.vim
/var/lib/nginx
/var/lib/nginx/tmp
/var/log/nginx
config files are bellow,
# ls /etc/nginx/
conf.d
fastcgi.conf.default
koi-utf
mime.types.default
scgi_params
uwsgi_params.default
default.d
fastcgi_params
koi-win
nginx.conf
scgi_params.default
win-utf
fastcgi.conf
fastcgi_params.default
mime.types
nginx.conf.default
uwsgi_params
cf. How To Set Up a Firewall Using FirewallD on CentOS 7
cf. How to install Jekyll on CentOS 7
https://www.rosehosting.com/blog/how-to-install-jekyll-on-centos-7/