eyeOS: Your Own Private Linux Cloud that You Control (part 1) - page 2
Once you have the Web server ready to go, download the eyeOS server--we'll use the zip format. Then we have to extract the compressed file and upload the entire eyeOS folder to the Web server. In Ubuntu, save the file using the dialog box that appears. Then extract it to the server's root directory with the following command in Terminal when running with root privileges: unzip /home/yourusername/Desktop/eyeOS_18.104.22.168.zip -d /var/www. Make sure you input your Ubuntu user name. Plus correct the name file if you downloaded a different version.
Now you must give select directories and files full read/write permissions via the Terminal opened with root privileges using the following commands:
chmod 777 /var/www/eyeOS/
chmod 777 /var/www/eyeOS/index.html
chmod 777 /var/www/eyeOS/installer/
chmod 777 /var/www/eyeOS/package.eyepackage
Tip: If you close the root Terminal, you can get the root privileges back by typing sudo su, or prefix commands with sudo.
Once you have the eyeOS folder in place with the special permissions, you can bring it up in the Web browser. Simply type localhost/eyeOS into the browser and it will redirect to the installer.
When prompted, create a password for the root account. The System Name you can specify will appear on the title bar of the login page. Plus it will serve as the suffix for when usernames are displayed; for example joeuser@your_system_name. If you leave the Allow users to create accounts option unchecked, you can still set up users when logged into the root account. When you're done, hit the Install eyeOS! button.
Now you should change the permissions of the remaining directories to something more secure via a root Terminal:
chmod 755 /var/www/eyeOS/
chmod 755 /var/www/eyeOS/installer/
After the install it should take you to the login page (see Figure 4). You can bring up this page in the future by simply visiting the main eyeOS directory. On the same PC, you can type localhost/eyeOS. If connecting from other computers on the network, you'd type the local IP address of the Ubuntu machine, followed the the directory; for example: 192.168.1.100/eyeOS. To access it over the Internet, you must configure your router to allow access to your eyeOS server. On most consumer-level routers this means clicking a checkbox to enable port forwarding, and entering the IP address of your server. If your Internet connection is on a dynamic IP address, you'll need to sign up with a free forwarding service like Dyndns.com. Be sure to also check your router's configuration panel for Dyndns support. It's not necessary for your router to have Dyndns support, but most newer models do and it makes it a lot more reliable.
Stay tuned--next week we'll configure eyeOS to work over the Internet. We'll enable Office file support so you can use the word processor, spreadsheet, and presentation programs. Plus we'll see how to get our files onto the eyeOS system and set up user accounts.
Eric Geier is an author of many computing and networking books, including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Microsoft Windows Vista (Que 2007).