Running a home Linux Server on AREDN is pretty simple.
sudo hostnamectl set-hostname VA7FI-Linux
sudo aptitude install curl apache2
If you're here because you're installing Mesh Chat, you can now go back to the Mesh Chat Install page. The rest of this page is optional.
The website folder is located here:
/var/www/html/ Anything you put in there (with the right permissions) will be visible to others on AREDN. Let's get a few things out of the way first.
ln -s /var/www/html ~/
aredn, which you should replace with your own username.
sudo chown aredn:www-data -R /var/www/html/
sudo chmod 770 -R /var/www/html/
In general, those permissions are ok, but depending on what you're running as a web service, they could be too permissive. That being said, since you're not exposing our site to the open internet, you're probably ok with those.
You're now ready to write our fist webpage! You can delete the
index.html file that's already in the webfolder and create one of your own. There's a simple online html editor that's very convenient to use for small pages: simply edit the text you want on the left, and copy the html code on the right into your
Here's VA7FI's page as an example:
When you manually create new files in your web folder, you might have to correct the ownership and permissions using the lines with
chmod above. Often times, if you can't see a page, it's because the ownership or permissions are wrong.
At this point, you should test that you can view your webpage locally on your Linux computer: http://localhost/
Now that the site is working locally, we can share it on AREDN.
Port Forwarding, DHCP, ans Services page:
Here, I'm doing three different things:
Linkcheckbox marked because it's only a title, not a link.
/var/www/html/web folder. By default, the
index.htmlfile gets read when opening a folder. “Home Page” is the title displayed, and everything that follows is how to link to it.
wiki/folder that I have in the
/var/www/html/folder, and its display name is “Wiki”.