※http://gerardmcgarry.com/blog/how-install-php-fpm-nginx-ubuntu-1004-server$sudo apt-get install php5-cli php5-common php5-mysql php5-suhosin php5-gd $sudo apt-get install php5-fpm php5-cgi php-pear php5-memcache php-apc $sudo /etc/init.d/php5-fpm start
$sudo vim /etc/nginx/sites-enabled/wordpress upstream phpfpm { server unix:/var/run/php-fpm.sock; } server{ root /home/wordpress/www/example.com/html; index index.html index.htm index.php; server_name example.com; access_log /home/wordpress/www/example.com/log/access.log; error_log /home/wordpress/www/example.com/log/error.log; location / { try_files $uri $uri/ /index.html; } error_page 404 /404.html; error_page 500 502 503 504 /50x.html; location ~ ^.*\.php$ { root /home/wordpress/www/example.com/html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
$ mysql -u username -p -h localhost < dump.sql
Streamlit is a …
I bought M5Stac…