View Full Version : Perfect setup Joomla with ISPConfig ?
bogdinator
13th January 2006, 16:43
Hello folks,
i was going along lucky with ISPConfig for a couple of month but now I need to install CMS. I browsed through the forum and came to the conclusion that I would like to have Joomla. Is there something like "The Perfect Setup of Joomla for Suse9.3 and ISPConfig :rolleyes: " I found one thread in forum dealing with problems during the installation but I can't really use is as howto for the installation.
Thanks you
till
13th January 2006, 16:55
I do not know of such a howto.
But generally its really simple:
1) Create a website in ISPConfig where you have php enabled. Joomla has some problems with safemode, so you might consider to let php safemode disabled.
2) Go to the web directory of the site and install joomla according to their installation instructions. Dont use an rpm package, take the tar.gz package.
bogdinator
16th January 2006, 09:57
Thanks for the hint. Originally I thought one should do it with the update manager of ISPConfig.
Thnaks!
jeanjacquesjeanjacques
16th January 2006, 10:02
Hi Bogdinator,
I'm using joomla with a server running ispconfig, everything is fine, it's working perfectlly.
The only negative aspect is that joomla doesn't support the safe mode as said till. But this is not the fault of ispconfig :)
Best regards and happy joomla,
JJ
bogdinator
16th January 2006, 10:23
Thanks for the hint jeanjacquesjeanjacques.
Just out of interest - what would you (you as anybody who reads this thread ;) ) recomend as a CMS which is ment to be the webportal of an academic department? I have some experience with PHPNuke but I did like it a couple of years ago... not any more :-)
jeanjacquesjeanjacques
16th January 2006, 10:46
Apparently we have some common interests ;)
Actually i'm using joomla to create two websites of research departments in the university where i work.
To my mind joomla is definitively the way to go. If you feel more adventurous you could also try ruby on rails wich is also very interesting but lacking of a working cms now.
I'm afraid that we are a bit off topic now, oups.
By the way it would be nice to have ispconfig support lighttpd.
falko
16th January 2006, 19:36
Thanks for the hint jeanjacquesjeanjacques.
Just out of interest - what would you (you as anybody who reads this thread ;) ) recomend as a CMS which is ment to be the webportal of an academic department?
You could also try Typo3 and Drupal.
bogdinator
17th January 2006, 19:25
Well I did go for Joomla (it is allways possible to change :o )
BUT...
after i did come to the step where I call the browser and the system checks it's read and write permissions lots of red collor messages filled my screen.
For example /home/www/web6/phptmp/ is not writable for joomla - why?
and all this sfuffadministrator/backups/ Unwriteable
administrator/components/ Unwriteable
administrator/modules/ Unwriteable
administrator/templates/ Unwriteable
cache/ Unwriteable
components/ Unwriteable
images/ Unwriteable
images/banners/ Unwriteable
images/stories/ Unwriteable
language/ Unwriteable
mambots/ Unwriteable
mambots/content/ Unwriteable
mambots/editors/ Unwriteable
mambots/editors-xtd/ Unwriteable
mambots/search/ Unwriteable
media/ Unwriteable
modules/ Unwriteable
templates/ Unwriteable
DO I REALLY NEED TO MAKE IT WRITABLE FOR JOOMLA. Why is it not writable by default if CMS systems need it? Is is dangerous to make it all writable? Too many questions...:eek:
--::wizZzard::--
17th January 2006, 19:44
You could also try Typo3 and Drupal.
Typo3 is afine thing if you know how to handle it! When my "mail problem" is solved i am on typo3 myself. install is quite simple. but i haven't gone deeper yet.
till
17th January 2006, 20:24
For example /home/www/web6/phptmp/ is not writable for joomla - why?
This directory is writable for the webserver, so it must be writable for joomla too.
please post the output of:
ls -la /home/www/web6/phptmp/
and all this sfuffadministrator/backups/ Unwriteable
administrator/components/ Unwriteable
administrator/modules/ Unwriteable
administrator/templates/ Unwriteable
cache/ Unwriteable
components/ Unwriteable
images/ Unwriteable
images/banners/ Unwriteable
images/stories/ Unwriteable
language/ Unwriteable
mambots/ Unwriteable
mambots/content/ Unwriteable
mambots/editors/ Unwriteable
mambots/editors-xtd/ Unwriteable
mambots/search/ Unwriteable
media/ Unwriteable
modules/ Unwriteable
templates/ Unwriteable
DO I REALLY NEED TO MAKE IT WRITABLE FOR JOOMLA. Why is it not writable by default if CMS systems need it? Is is dangerous to make it all writable? Too many questions...:eek:
Thst depend on what you host on your server. If your server is only for your own websites, then you can simply set the directories world writable. If not, you should consider running PHP as cgi with SuExec.
falko
17th January 2006, 20:42
Í think the problem is that /home/www/web6/web belongs to the admin user you created for that web and the web group, but not to the Apache user and group. That's why Apache can't write to this directory.
You can either make this directory world-writable (chmod 777), or you make a chown <Apache_user>:<Apache_group> /home/www/web6/web
bogdinator
18th January 2006, 10:42
Here is the output you wanted till
ls -la /home/www/web6/phptmp/
total 0
drwxrwxrwx 2 bruce web6 80 2006-01-13 23:59 .
drwxr-xr-x 9 bruce web6 368 2006-01-17 18:10 ..
-r-------- 1 root root 0 2005-12-20 13:17 .no_delete
bruce is the user I set up as web admin.
Thst depend on what you host on your server. If your server is only for your own websites, then you can simply set the directories world writable.
out of your comment till I can see that it is not that harmless to give these directories writable attribute.
bogdinator
18th January 2006, 11:46
I think I'll hit the nail on the head soon in respect to my problem. I think it has to do with permissions the folder joomla got when I unpacked it. Just a small question besides my issue:
I had a user bogdan on the server before installation of ISPConfig (this is me and the user who did unpacked joomla). I deleted user bogdan from the server and wanted to create the user with the same username with ISPConfig in web6 but the system just keeps saying that the user name is assigned already. Weird isn't it? Does ISPConfig remembers system users (even these who have been deleted)?
I found "bogdan" in /home/admispconfig/ispconfig/users. Can I delete it from their? What sort of users is hold in this file? After ISPConfig installation I made a couple of new system users but they are not in this file.
till
18th January 2006, 13:07
I think I'll hit the nail on the head soon in respect to my problem. I think it has to do with permissions the folder joomla got when I unpacked it. Just a small question besides my issue:
I had a user bogdan on the server before installation of ISPConfig (this is me and the user who did unpacked joomla). I deleted user bogdan from the server and wanted to create the user with the same username with ISPConfig in web6 but the system just keeps saying that the user name is assigned already. Weird isn't it? Does ISPConfig remembers system users (even these who have been deleted)?
I found "bogdan" in /home/admispconfig/ispconfig/users. Can I delete it from their? What sort of users is hold in this file?
Yes, ISPConfig has to remember all users that where present at installation time to make sure that you cant create a duplicate user in ISPConfig. Simply remove the user in the file /home/admispconfig/ispconfig/users.
After ISPConfig installation I made a couple of new system users but they are not in this file.
Enter the users you created manually to the file /home/admispconfig/ispconfig/users to prevet problems in ISPConfig.
falko
18th January 2006, 17:26
Did you have a look at my post? http://www.howtoforge.com/forums/showpost.php?p=12141&postcount=11
Please post the output of ls -la /path/to/joomla_directory
bogdinator
18th January 2006, 19:52
Sorry falco it must have slipped throug my eyes :) Here is the output you wanted:
total 127
drwxr-xr-x 15 bogdan web6 848 2006-01-18 18:36 .
drwxrwxr-x 7 bogdan web6 264 2006-01-18 18:36 ..
drwxr-xr-x 9 bogdan web6 360 2006-01-18 18:36 administrator
drwxr-xr-x 2 bogdan web6 80 2006-01-18 18:36 cache
-rw-r--r-- 1 bogdan web6 40159 2006-01-15 19:41 CHANGELOG.php
drwxr-xr-x 16 bogdan web6 504 2006-01-18 18:36 components
-rw-r--r-- 1 bogdan web6 4001 2005-12-22 16:16 configuration.php-dist
-rw-r--r-- 1 bogdan web6 3429 2006-01-04 03:14 COPYRIGHT.php
drwxr-xr-x 2 bogdan web6 112 2006-01-18 18:36 editor
-rw-r--r-- 1 bogdan web6 3053 2005-12-22 16:16 globals.php
drwxr-xr-x 3 bogdan web6 2528 2006-01-18 18:36 help
-rw-r--r-- 1 bogdan web6 890 2005-12-29 08:28 htaccess.txt
drwxr-xr-x 6 bogdan web6 904 2006-01-18 18:36 images
drwxr-xr-x 10 bogdan web6 1256 2006-01-18 18:36 includes
-rw-r--r-- 1 bogdan web6 4574 2006-01-13 09:47 index2.php
-rw-r--r-- 1 bogdan web6 6843 2006-01-15 14:01 index.php
drwxr-xr-x 3 bogdan web6 496 2006-01-18 18:36 installation
-rw-r--r-- 1 bogdan web6 4374 2005-12-22 16:16 INSTALL.php
drwxr-xr-x 2 bogdan web6 184 2006-01-18 18:36 language
-rw-r--r-- 1 bogdan web6 17977 2005-12-22 16:16 LICENSE.php
-rw-r--r-- 1 bogdan web6 710 2005-12-22 16:16 mainbody.php
drwxr-xr-x 7 bogdan web6 208 2006-01-18 18:36 mambots
drwxr-xr-x 2 bogdan web6 112 2006-01-18 18:36 media
drwxr-xr-x 2 bogdan web6 1296 2006-01-18 18:36 modules
-rw-r--r-- 1 bogdan web6 2474 2005-12-22 16:16 offlinebar.php
-rw-r--r-- 1 bogdan web6 3777 2005-12-22 16:16 offline.php
-rw-r--r-- 1 bogdan web6 705 2005-12-22 16:16 pathway.php
-rw-r--r-- 1 bogdan web6 286 2005-12-22 16:16 robots.txt
drwxr-xr-x 5 bogdan web6 200 2006-01-18 18:36 templates
I got rid of nearly all error messages but the folders inside of the joomla installation are still not writabe for the application itself
administrator/backups/ Unwriteable
administrator/components/ Unwriteable
administrator/modules/ Unwriteable
administrator/templates/ Unwriteable
cache/ Unwriteable
components/ Unwriteable
images/ Unwriteable
images/banners/ Unwriteable
images/stories/ Unwriteable
language/ Unwriteable
mambots/ Unwriteable
mambots/content/ Unwriteable
mambots/editors/ Unwriteable
mambots/editors-xtd/ Unwriteable
mambots/search/ Unwriteable
media/ Unwriteable
modules/ Unwriteable
templates/ Unwriteable
What can I do... make them all writeable to everybody... Isn't is dangerous :eek:
What about the safe mode in php settings. Is it really so bed for joomla to leave it on. Have a webcalendar running which needs it to be on... dilemma
falko
18th January 2006, 20:37
What can I do... make them all writeable to everybody... Isn't is dangerous :eek:
You can either make thedirectories world-writable (chmod 777), or you make a
chown <Apache_user>:<Apache_group> /path/to/directory
If you trust your other users on the server (e.g. because they have no idea what Linux is...), then this is ok. You can switch on PHP Safe Mode for all the other sites on the server.
What about the safe mode in php settings. Is it really so bed for joomla to leave it on. Have a webcalendar running which needs it to be on... dilemma
If it's your own site, then you can turn Safe Mode off. Also, if you trust the owner of the Joomla site.
bogdinator
19th January 2006, 11:16
Thank you falko,
just one question. You said that I can switch php safe mode for all the other sites. How do you mean it? I thougt it is a global setting - once it is switched on it is switched on for all the sites on the server. Mybe it is too obvious for you but I am not very experienced in this things :o
till
19th January 2006, 11:39
Thank you falko,
just one question. You said that I can switch php safe mode for all the other sites. How do you mean it? I thougt it is a global setting - once it is switched on it is switched on for all the sites on the server. Mybe it is too obvious for you but I am not very experienced in this things :o
In ISPConfig, you can enable disable php safemode for each website. have a look at the website settings on the basis tab.
bogdinator
19th January 2006, 12:29
Thanks a lot. But I still have the very last question :D
In this thread you were allways talking that i need to make a new web for the joomla. I have made allready a web for my department and there is allready webcalendar and some oter reviewing software there. Some of it needs php safe mode, some not. Shall I open for every new CMS or what so ever a new web? I made my department as a customer and it seems that a customer can have only one web with the same hostname (I do understand it right do I? hostname is in this case the name of the server?)
Sorry again if it is one of these nerving newbie questions...:confused:
till
19th January 2006, 15:10
Thanks a lot. But I still have the very last question :D
In this thread you were allways talking that i need to make a new web for the joomla. I have made allready a web for my department and there is allready webcalendar and some oter reviewing software there. Some of it needs php safe mode, some not.
That is the reason why it is better to have a website for each CMS and not put many CMS in one website. You can set e.g. PHP Safemode only once per website.
Shall I open for every new CMS or what so ever a new web?
Yes, if the CMS need different PHP settings.
I made my department as a customer and it seems that a customer can have only one web with the same hostname (I do understand it right do I? hostname is in this case the name of the server?)
Sorry again if it is one of these nerving newbie questions...:confused:
The Host + Domain combination is always unique. But you can create several websites like: cms1.yourdomain.com, cms2.yourdomain.com etc.
bogdinator
19th January 2006, 18:29
That is the reason why it is better to have a website for each CMS and not put many CMS in one website. You can set e.g. PHP Safemode only once per website. Well I understand that.
The Host + Domain combination is always unique. But you can create several websites like: cms1.yourdomain.com, cms2.yourdomain.com etc. I am in a department of the university. I have one registered hostname and one registered domainname. I respect to this I don't understand your answer. Could you please tell me a bit more.
till
19th January 2006, 18:34
I am in a department of the university. I have one registered hostname and one registered domainname. I respect to this I don't understand your answer. Could you please tell me a bit more.
If you can get only one hostname from your university you cant run more then one site in ISPConfig.
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.