サーバリブートと確認
Nid: 833
サーバをリブートし、サービス状態の再確認。また、ブラウザからWebページにアクセスして、表示や挙動に問題無いか確認します。
$ sudo reboot
$ systemctl status nginx mysql redis memcached php7.0-fpm ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2017-05-17 20:59:35 EDT; 5min ago Process: 1998 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 1992 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 2001 (nginx) Tasks: 5 Memory: 31.9M CPU: 888ms CGroup: /system.slice/nginx.service ├─2001 nginx: master process /usr/sbin/nginx -g daemon on; master_process on ├─2002 nginx: worker process ├─2003 nginx: worker process ├─2004 nginx: worker process └─2005 nginx: worker process ● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled) Active: active (running) since Wed 2017-05-17 20:51:10 EDT; 13min ago Docs: man:systemd-sysv-generator(8) Process: 1188 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS) Tasks: 36 Memory: 2.2G CPU: 29.976s CGroup: /system.slice/mysql.service ├─1331 /bin/bash /usr/bin/mysqld_safe ├─1494 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file=/var/run/ └─1495 logger -t mysqld -p daemon error ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2017-05-17 20:50:57 EDT; 13min ago Docs: http://redis.io/documentation, man:redis-server(1) Process: 1278 ExecStartPost=/bin/run-parts --verbose /etc/redis/redis-server.post-up.d (code=exited, status=0/SUCCESS) Process: 1206 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS) Process: 1118 ExecStartPre=/bin/run-parts --verbose /etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS) Main PID: 1277 (redis-server) Tasks: 3 Memory: 4.7G CPU: 1min 25.954s CGroup: /system.slice/redis-server.service └─1277 /usr/bin/redis-server 127.0.0.1:6379 ● memcached.service - memcached daemon Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2017-05-17 20:50:57 EDT; 13min ago Main PID: 1133 (memcached) Tasks: 6 Memory: 53.0M CPU: 665ms CGroup: /system.slice/memcached.service └─1133 /usr/bin/memcached -m 4096 -p 11211 -u memcache -l 127.0.0.1 ● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2017-05-17 20:50:58 EDT; 13min ago Docs: man:php-fpm7.0(8) Main PID: 1087 (php-fpm7.0) Status: "Processes active: 10, idle: 0, Requests: 63, slow: 0, Traffic: 0.2req/sec" Tasks: 11 Memory: 927.9M CPU: 33.522s CGroup: /system.slice/php7.0-fpm.service ├─1087 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf) ├─1436 php-fpm: pool www ├─1437 php-fpm: pool www ├─1440 php-fpm: pool www ├─2006 php-fpm: pool www ├─2007 php-fpm: pool www ├─2010 php-fpm: pool www ├─2127 php-fpm: pool www ├─2130 php-fpm: pool www ├─2134 php-fpm: pool www └─2135 php-fpm: pool www