Author: Kenn
-
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…
-
Setup Web Server
Install Apache2 Install Apache2 web server. Configure Firewall Check the configuration Visit http://192.168.10.108 from a Web browser. The IP address should be modified to yours. Enable User Directory Make User Directory
-
Change SSH Port Number
Configure Firewall First, you should allow a secret port number to access the server. Configure SSHd Setting Edit the “Port” option to your allowed port number. Restart SSHd server Edit local config file Edit the configuration file on the local machine. Login with config file Delete rule of 22 port
-
Set up a Firewall (UFW)
What is UFW UFW (Uncomplifed FireWall) is a firewall software that is default firewall on Ubuntu Linux. Here I show the basic usage of UFW. Install UFW To install UFW, type following. Enable UFW You should enable firewall to block dangerous access from outside. To enable UFW, type following. Check the status of the fiewall…
-
Key Authentication
Generate a key (on Local) Copy the key on server Login with the key Set Key Authentication Only Notice: The file to edit is sshd_config not ssh_config. In the file, edit below option from yes to no. After edit the file, you must restart sshd. On Windows client On windows client, install ssh-copy-id command first.…
-
Login with SSH
Login Raspberry Pi with SSH For example Rename ubuntu user For security rename ubuntu user to another one. Change user name