Shineisp Installation Log / mini How to

Shineisp is an italian open source WHM (Web Hosing Management) and we are going to give it a try. I recall i alredy installed it last year, but the machine had a poor hardware and shineisp is a greedy MVC phpmysql program. For this “instalfiguration” we assume we are on Debian Squeeze and we will cover the steps needed to get shineisp up and running in 10 minutes.

Remember if you should go back to the past don’t touch anything… no sorry that’s another story… Seriously, remember: if anything goes wrong, backup, logs and google are your only friends.

Let’s go.

  1. Create a mysql user shineisp with a password of your choice (if you use phpmyadmin you can do it at once by using the flag “Create a database with the same name and grant all privileges”).
  2. Log in into your shell
  3. Change directory to /var/www typing:
    cd /var/www
  4. download shineisp with subversion with the command:
    svn checkout http://shineisp.googlecode.com/svn/trunk/ shineisp
  5. edit the shineisp config file in order to update the db username and password:
    nano /var/www/shineisp/application/configs/application.ini
    Go to the line 29 and change the following line using your fresh created db credentials
    doctrine.dsn = "mysql://shineisp:shineisp@localhost/shineisp"
    where the first occurance of “shineisp” represents the mysql username, the second one, right after the colon, represents the password and we are going to update this one with the password you just setup for the mysql shineisp user; the third occurrence represents the database name, the rest is obvious enough.
  6. Now we need to use Doctrine to build our shineisp package, database structure and fill it with initial data with the command:
    /var/www/shineisp/application/scripts/doctrine build-all-reload
    –> PAY ATTENTION NOW <–
    I do not really know why but, right after you hit enter there is a confirmation request message in black, and if you have a black background like me, you will probably see it after several attempts to understand why it takes so long.
    If you actually want to read the confirmation request, just select it with your mouse and the text “Are you sure you wish to drop your databases? (y/n)” will be clear, otherwise, just hit “y” and the process will continue.
    It could take a while, depending on your machine performance.
  7. We have almost done, now it’s time to configure our apache webserver so it can expose our shineisp installation as the defaul website. To do this, open the default website apache2 configuration file with
    nano /etc/apache2/sites-available/default
    And change this line:
    DocumentRoot /var/www
    with:
    DocumentRoot /var/www/shineisp
    And the line:

    To this
  8. Restart Apache2 webserver by typing:
    service apache2 restart
    OR
    /etc/init.d/apache2 restart
    OR
    apache2ctl restart
  9. Point your browser to the new webserver domain name, or ip address to see if all went fine; you shoul see something like the image below
This is what you should see right after a good installation; not difficult at a</a srcset=
This is what you should see right after a good installation; not difficult at all.

As you can see on my machine it turned out that the charset across php/server/client was lost and the € sign as well. In order to make it works as expected we need to edit the default charset file for apache:
nano /etc/apache2/conf.d/charset
and remove the # from the line obtaining:
AddDefaultCharset UTF-8

And Then:

Shineisp homepage right after changing the default charset
Shineisp homepage with correct charset
 

(Visited 2,002 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

7 thoughts on “Shineisp Installation Log / mini How to”

  1. I’ve just spotted a couple of small errors on this page.

    Where it says ~ “where the first occurance of “shineisp” represents the mysql username, the second one, right after the semicolon, represents the password and we are going to update ” ~ the word occurance is spelled incorrectly and should be spelled “occurence” (with an “e”), and where it says “semicolon” (;) it should really say “colon” (:).

    If I spot any more I’ll let you know.

    Terence.

  2. Actually, there a many mistakes on this page. Probably far less than if I would try and write it in Italian, but that’s another matter. Its a living text that’s growing and changing; not a finished text document, so these inaccuracies and inconsistencies are bound to happen. It just adds to the patina and that wonderful feeling of hearing English spoken with an Italian accent.

    Terence.

    P.S. Of all the Nations, I love to hear Italians speak English the best. I love the intricacy Italians use in constructing their sentences.

  3. I would certainly like to learn Italian. In fact one day I may have to. When I can actually find time (afford) to give up work, we both want to retire to Italy ~ Voglio vivere in Italia!

Leave a Reply

Your email address will not be published. Required fields are marked *