Category: Raspberry Pi
-
Configure php.ini
Write a page to output the phpinfo Make a file named phpinfo.php and place it in the document root. The contents of the file is below. Display phpinfo Visit http://192.168.10.108/phpinfo.php IP address should be modified to yours. Find out the item “Loaded Configuration File”. In this section, you can find the path of php.ini that…
-
Let’s Encrypt
Install Certbot Add a Certification Renew Certbot Make a script to renew the certification. In the certbot-renew script, you should write like that. Then you must change the permission.
-
Install Redis
Install Redis module Enable socket communications In redis.conf file Redis Bug fix Redis have a bug on loading the service. So fix the bug by editing the service file. Edit the redis.service file like following. Reload deamon Permission modify Reload redis-server Check the configuration If you got “OK”, settings are correct.
-
Install MariaDB
Install MariaDB Initialize MariaDB Notice: First root password is not set.(none). So you should only type Enter when you are prompted to enter that. On all other questions, it is recommended to answer “yes”.
-
Add a new HDD
Search the HDD Make partition Make a file system Mount the file system Use autofs. Check
-
Setup AutoFS
Install autofs Edit /etc/auto.master Search External HDD Copy the UUID Edit auto.misc In this file, Enable Autofs Debug Configuration
-
Using DDNS by MyDNS
Resister your information At first, visit MyDNS site https://www.mydns.jp/ and resister your information. Information Records IP Notification The contents of the file is This script notify IP to MyDNS and log the result to log file. Here, ID is your ID and PASSWORD is your password. Change the permission of the file Add the script…
-
PPPoE Pass Through
Install PPPoE Configure Check the configuration Add default gateway Turn On and Off Create startup script The contents of the file is Configure the permission of the script Auto connect after reboot Notice: Insert a sleep timer between reboot and connection script. It is required to guarantee the time for network system starting before connection…