Category: Raspberry Pi
-
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
-
Install Ubuntu on Raspberry Pi
Install Ubuntu Insert the SD card to Raspberry Pi and turn on the switch. After while, the installation will finish automatically. Initial account Initial account of Ubuntu on Raspberry Pi is user name: ubuntu password: ubuntu Change the password For security issue, you should change the password as soon as possible. Update the system Update…
-
Raspberry Pi Imager for Ubuntu
Download the Imager from the site. Download the Imager from the raspberrypi.org site. https://raspberrypi.org/software/ Install the Imager on Linux Install the Imager on Ubuntu. Run the Imager Insert a SD card to the PC and run the imager.
-
Markdown
Heading <h> (#) Break <br> (2 spaces) Paragraph <p> (blank line) Horizontal Rules <hr> (—, ___, ***) Emphasis <em>,<strong> (*, _) Orderd List <ol> (1. ) Any numbers are acceptable. If all the numbers are set to 1, then numbers are automatically order properly. Unorderd List <ul> (+, -, *) Preformatted Text <pre> (4 Spaces,…