howto:aredn:linuxserver:home
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:aredn:linuxserver:home [2021/11/09 16:56] – [Website] va7fi | howto:aredn:linuxserver:home [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Linux Server ====== | ||
- | ===== Prerequisites ===== | ||
- | |||
- | Running a home Linux Server on AREDN is pretty simple. | ||
- | |||
- | * Install [[https:// | ||
- | * Update and reboot it if necessary. | ||
- | |||
- | * Change the Linux hostname, which will identify the computer in various places on AREDN. | ||
- | sudo hostnamectl set-hostname VA7FI-Linux | ||
- | </ | ||
- | |||
- | * Install Apache:< | ||
- | sudo aptitude install curl apache2 | ||
- | </ | ||
- | |||
- | ===== Website ===== | ||
- | |||
- | ==== The html Folder ==== | ||
- | |||
- | The website folder is located here: ''/ | ||
- | * Create a link to your home folder for ease of access:< | ||
- | ln -s / | ||
- | </ | ||
- | |||
- | * Change the ownership of everything in that folder so you (the user) and the web process can access them easily. | ||
- | sudo chown aredn: | ||
- | </ | ||
- | |||
- | * Change the permissions:< | ||
- | 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. | ||
- | |||
- | ==== The index.html File ==== | ||
- | |||
- | You're now ready to write our fist webpage! | ||
- | |||
- | <WRAP center round info 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:// | ||
- | |||
- | ===== AREDN Node Configuration ===== | ||
- | Now that the site is working locally, we can share it on the AREDN network. | ||
- | |||
- | {{ serverportforwarding.png }} |