Diferència entre revisions de la pàgina «EyeOS installation»

De Cacauet Wiki
Salta a la navegació Salta a la cerca
Línia 40: Línia 40:
 
* Download EyeOS latest version with wget
 
* Download EyeOS latest version with wget
 
  <nowiki>$ wget <copy_the_download_link_here></nowiki>
 
  <nowiki>$ wget <copy_the_download_link_here></nowiki>
** (A new file called ''download'' will be created, check it with ls).
+
(A new file called ''download'' will be created, check it with the ''ls'' command).
* Change the downloaded filename to eyeos.zip  
+
* If the downloaded file is called "download", change its name to eyeos.zip . If the name is something like eyeos-....zip you can leave as it is.
 
  $ mv download eyeos.zip
 
  $ mv download eyeos.zip
 
* Unzip it  
 
* Unzip it  

Revisió del 22:02, 24 oct 2010

This is the first exercise of CMS installation. It is particulary interesting because EyeOS 1.x version doesn't need MySQL database support (uses local filesystem).

In this exercise you will install your first CMS in your local machine.

Pay attention to the teacher in the class, and after the explanations, follow the instructions below:

There are 4 steps (remember them fot the exam!):

  1. Preparing your server machine (local)
  2. Download the scripts
  3. Installation of EyeOS
  4. First account creation
  5. Configure

Preparing your server machine

  • Log into your Ubuntu machine
  • Install LAMPP server (using apt-get). The packages that you need are:
    • apache2
    • php5
  • Add additional packages for eyeOS: (apt-get)
    • php5-sqlite
    • php5-imap
  • Reboot apache2 service
    $ sudo service apache2 restart
  • Check apache with your browser at http://localhost and http://192.168...(your IP)
  • Enable the persmissions to the www folder:
$ cd /var/www$ sudo chmod 775 . <-- pay attention to the "." at the end)
$ sudo chown root:admin .
WARNING: that is not totally secure, but will be a lot more comfortable to work for the moment.
  • Rename the index.html file to index2.html (this way, we will be able to see the folder contents)
  • Edit the file index2.html and change something (put your name, or whatever). Use the nano command-line text editor:
$ nano index2.html
  • Check you see the directory with your browser in http://localhost and click the file index2.html to see its contents.

Download the scripts (EyeOS files)

We will use EyeOS version 1.x instead of 2.x since 1.x doesn't use MySQL and installation will be easier.

  • Browser: go to www.eyeos.org, look for downloads and copy the link for latest 1.x stable version (right click and "copy link location")
  • Open a TERMINAL and go to /var/www:
$ cd /var/www 
  • Download EyeOS latest version with wget
$ wget <copy_the_download_link_here>

(A new file called download will be created, check it with the ls command).

  • If the downloaded file is called "download", change its name to eyeos.zip . If the name is something like eyeos-....zip you can leave as it is.
$ mv download eyeos.zip
  • Unzip it
$ unzip eyeos.zip 
  • Check that unzipping the file has created a folder named eyeOS
$ ls

Install EyeOS

  • open the browser and go to http://localhost/eyeOS/
  • Follow the instructions to setup the system:
    • Fix the permimssions of the files (follow the instructions and commands in the screen)
    • TAKE CARE WITH THE ADMIN USER; REMEMBER THE PASSWORD
    • Check "users can create accounts"
  • Go to your new EyeOS system with your browser and create a new account.
    • If you cannot do it, log in as root (with your admin password) and go to
      EYE->System Preferences->System->Permissions
      ...and check "Allow user registration"

Create first account

  • Create a new user (from the main page) and log in
  • Sync your Gmail account. TAKE A SNAPSHOT (including the browser and your machine desktop)
  • Create an account in your friend's machine (using his IP). Log in and TAKE A SNAPSHOT (2nd)
  • Let your friend create the account in your machine.

Configure EyeOS

  • Log in as admin (root user, and the password you set in the installation)
  • TAKE A SNAPSHOT OF THE USER LIST 3rd): Go to
    EYE -> System_Preferences -> Manage Users -> Show All
    ...and take the snapshot (3rd)
  • Install Catalan Language support:
    • Go to http://www.eyeos.org and change language to Spanish
    • Go to Descargas -> 1.x -> Traducciones
    • Download Catalan package
    • Upload the package file to your eyeOS desktop with Office -> File Manager -> Upload
    • Click on the file and follow the instructions
  • Go to System Preferences -> Language and change it to Catalan
  • Logout and login to see the menus in catalan.
  • TAKE A SNAPSHOT (4th)


Another method for changing the language (it's in the documentation but doesn't work):

  • Install Catalan Language support (METHOD 2):
    • go to EYE->Launch App and write "eyeSoft"
    • Update
    • Go to Translations and install Catalan package
  • Logout and login to see the menus in catalan.
  • TAKE A SNAPSHOT (4th)

Finishing your exercise

REALLY IMPORTANT, you have to:

  1. Upload the 4 screenshots to the moodle (into a single document, 2 lines of explanation each screenshot).
  2. Tell the teacher you server is working to be checked.

THE 2 THINGS ARE NECESSARY!

You're done!