howto:aredn:linuxserver:home
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howto:aredn:linuxserver:home [2021/11/09 16:49] – [Website] va7fi | howto:aredn:linuxserver:home [2021/11/09 20:20] – [Prerequisites] va7fi | ||
---|---|---|---|
Line 8: | Line 8: | ||
* Update and reboot it if necessary. | * Update and reboot it if necessary. | ||
- | * Change the Linux hostname, which will identify the computer in various places on AREDN. | + | * Change the Linux hostname, which will identify the computer in various places on AREDN. |
sudo hostnamectl set-hostname VA7FI-Linux | sudo hostnamectl set-hostname VA7FI-Linux | ||
</ | </ | ||
Line 15: | Line 15: | ||
sudo aptitude install curl apache2 | sudo aptitude install curl apache2 | ||
</ | </ | ||
+ | |||
+ | <WRAP center round info 80%> | ||
+ | If you're hear because you're installing Mesh Chat, you can now go back to the [[../ | ||
+ | </ | ||
===== Website ===== | ===== Website ===== | ||
Line 25: | Line 29: | ||
</ | </ | ||
- | * Change the ownership of everything in that folder so we (the user) and the web process can access them easily. | + | * Change the ownership of everything in that folder so you (the user) and the web process can access them easily. |
sudo chown aredn: | sudo chown aredn: | ||
</ | </ | ||
Line 33: | Line 37: | ||
</ | </ | ||
- | In general, those permissions are ok, but depending on what you're running as a web service, they could be too permissive. | + | |
+ | In general, those permissions are ok, but depending on what you're running as a web service, they could be too permissive. | ||
==== The index.html File ==== | ==== The index.html File ==== | ||
- | We're now ready to write our fist webpage! | + | You're now ready to write our fist webpage! |
- | At this point, you should | + | <WRAP center round tip 80%> |
+ | When you manually create new files in your web folder, you might have to correct the ownership and permissions using the lines with '' | ||
+ | </ | ||
+ | |||
+ | |||
+ | At this point, you should | ||
===== AREDN Node Configuration ===== | ===== AREDN Node Configuration ===== | ||
+ | Now that the site is working locally, we can share it on the AREDN network. | ||
+ | From the '' | ||
+ | - Setup a DHCP Address Reservation for the Linux computer | ||
+ | - Advertise the services | ||
+ | - Forward WAN port 8080 to LAN port 80 | ||
+ | - Don't for get to < | ||
{{ serverportforwarding.png }} | {{ serverportforwarding.png }} | ||
+ | |||
+ | ==== About The Advertised Services Section ==== | ||
+ | Here, I'm doing three different things: | ||
+ | * The first line with " | ||
+ | * The second line is advertising the ''/ | ||
+ | * The third line is advertising a '' | ||
+ | |||
+ | Here's how that translates to the '' | ||
+ | {{ satuspage.png |