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:54] – [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 32: | Line 36: | ||
sudo chmod 770 -R / | sudo chmod 770 -R / | ||
</ | </ | ||
+ | |||
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. | ||
Line 39: | Line 44: | ||
You're now ready to write our fist webpage! | You're now ready to write our fist webpage! | ||
- | When you manually create new files in your web folder, you might have to correct the ownership and permissions using the lines with '' | + | <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 test that you can view your webpage locally on your Linux computer: [[http:// | At this point, you should test that you can view your webpage locally on your Linux computer: [[http:// | ||
Line 45: | Line 53: | ||
===== AREDN Node Configuration ===== | ===== AREDN Node Configuration ===== | ||
Now that the site is working locally, we can share it on the AREDN network. | 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 |