Category: Raspberry Pi
-
Configure Nginx for WordPress
Deploy config files WordPress config file Site specific config file Enable the Web site
-
Nginx standard configuration
Here is a Nginx standard configuration that supports multi sites and php-fpm. Make directories Configure Nginx Edit /etc/nginx/nginx.conf Edit restriction.conf Add site specific configuration file Enable site specific configuration Check the configuration Restart Nginx
-
Setup AutoFS
You can use AutoFS to mount HDD dynamically. Install AutoFS Configure AutoFS Start and Enable AutoFS Check the configuration
-
Add a new HDD
Install gdisk Search HDD drives Make partitions Make a file system Check the partitions
-
Add required PHP modules
Install required PHP modules Enable required PHP modules Edit /etc/php/php.ini file uncomment following modules curl, dom, exif, fileinfo, hash, imagick, json, mbstring, mysqli, openssl, pcre, sodium, xml, zip, bcmath, filter, gd, iconv, intl, mcrypt, simplexml, xmlreader, zlibssh2, ftp, sockets Restart PHP-FPM Install Ghostscript
-
Install PHP and PHP-FPM
Install PHP Install PHP-FPM PHP-FPM (PHP FastCGI Process Manager) is a PHP implementation of CGI that is useful for heavy-loaded system. Install PHP-FPM Start and Enable PHP-FPM
-
Install Database server
Install MariaDB MariaDB is a Open Source Database server. Setup MariaDB server Start and Enable Database server Secure Installation For security issue, secure installation script should be run at first before using MariaDB. Notice: The first root password is set empty. So If you are requested the root password, you should only hit a Enter…
-
PPPoE pass-through
Setup PPPoE pass-through to connect to external with regular port via IPv6 environment. Install PPP Now a days, using PPP and PPPoE module is a trend for PPPoE pass-through. Create connection configuration file Notice: Here, LOGIN NAME is your login name of your provider. And the login name should be double quated. Create secrets file…
-
Setup Web server
Setup Web server for Web service. Install Nginx Install Nginx. Nginx is a high performance web server. Configure firewall Check the webserver Browse the webserver on a web browser. The IP address should replaced your servers one.