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 php–mysql 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.
- 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”).
- Log in into your shell
- Change directory to /var/www typing:
- download shineisp with subversion with the command:
svn checkout http://shineisp.googlecode.com/svn/trunk/ shineisp
- edit the shineisp config file in order to update the db username and password:
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.
- Now we need to use Doctrine to build our shineisp package, database structure and fill it with initial data with the command:
–> 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.
- 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
And change this line:
And the line:
- Restart Apache2 webserver by typing:
service apache2 restart
- 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
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:
and remove the # from the line obtaining: