You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Avoid having to manually change the permissions after adding files as root or another user. These commands have to be ran as root. After running these commands the files and directories inside www will inherit the ownership and permission given.
# add user to www-data
gpasswd -a user www-data
# change ownership
chown -R user:www-data /var/www/
# find all files, set permissions to rw-r-----
find /var/www -type f -exec chmod 0640 {} \;
Walkthrough for setting up MediaTemple's self managed server with VirtualMin and getting your websites running.
Setting up MediaTemple Self Managed VPS
I recently moved from MediaTemple's Legacy (dv) 4.0 VPS server to their new Self Managed DV server. You get to save up some money at the expense of all the software that comes pre installed on a server. All you get when you rent one of these badboys is an empty box with your choice of OS. Sounds exciting!? You bet your ass it does! It can also be a bitch if you're not as familiar with how things work in a web server. Getting this setup helped me understand servers unlike never before and having full control over everything that happens in your box does feel kinda nice.
Installing VirtualMin
The best free application I found for managing websites is Webmin + VirtualMin. Though I would like to mention Ajenti, which looks pretty badass and seems to be in active development.
I come from Plesk which was definitely a superior tool but so far I envy noth
I started this guide as I was building my web server but it was never finished. Nonetheless there's some valuable info for anyone starting a web server from scratch.
Steps
[download offline raspbian][0]
follow instructions for [no screen install of raspbian][1]
setup [static ip address][2], reserve in router, and update hosts file on remote computer
follow [secure web server][7], [secure ssh best practices][3], setup [ssh-copy-id in mac][4]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters