You are not logged in.

#1 2010-12-18 13:57:17

mister
Member
Registered: 2010-06-20
Posts: 18

install joomla how?

hi to all! i have a LAMP into my pc and now i want to install joomla.
i put all joomla installation files into my home/public_html/ but if i go to:
http://localhost/~fabio/
nothing...why??

Offline

#2 2010-12-18 14:03:22

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: install joomla how?

mister, your question is very generic and virtually impossible to answer since there are many possible causes. You will have to tell us the exact steps you took, what is working and what is not, which configuration files you changed, whether you have set up virtualhosts or not, if there are errors in /var/log etcetera.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-12-18 14:14:23

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

ok...  i read this:
https://wiki.archlinux.org/index.php/LA … taliano%29
this is /etc/hosts/

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>    <hostname.domain.org>    <hostname>
192.168.1.112    fabio-laptop    # Added by NetworkManager
127.0.0.1    localhost.localdomain    localhost
::1    fabio-laptop    localhost6.localdomain6    localhost6
#::1    fabio-laptop    localhost6.localdomain6    localhost6
#::1    fabio-laptop    localhost6.localdomain6    localhost6
# End of file

after all i put a test.php into my /home/public_html/
if i go:
http://localhost/~fabio/test.php i see the test.
after i download:
http://www.joomla.it/download/280-joomla-1-5.html
i put all the files into my home.
if i go into http://localhost/~fabio/INSTALL.php
i see nothing...
sory for my bud english!

Offline

#4 2010-12-18 14:18:50

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: install joomla how?

Maybe Joomla's documentation is a better place to get help.
But as a start, you can check /var/log/httpd/error_log for pointers - I had the same "white screen of death" recently with a drupal install, and the solution was to increase php's max_execution_time.

Edit:
This is drupal's help page for the problem, but it has some general advice:
http://drupal.org/node/158043

Last edited by hokasch (2010-12-18 14:20:29)

Offline

#5 2010-12-18 16:04:14

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

http://pastebin.com/dpwhtwjq

permision denied...

Offline

#6 2010-12-18 16:22:59

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: install joomla how?

web server file permissions - good fun.

again, you should check out any joomla specific resources (e.g. for special folders that will need write permissions), but as general model I think this is a sound advice (allow http read over "other", you can chgrp folders which need write access and grant rw over group permissions):
http://onlamp.com/pub/a/apache/2004/05/ … eckbk.html

To change permissions for files and folders separately you can use something like this (Beware - big potential to screw up your filesystem's permission if run from anywhere else then your sites' document root!):

[root@localhost]find . -type d -exec chmod XXX {} \;
[root@localhost]find . -type f -exec chmod XXX {} \;

Offline

#7 2010-12-18 16:51:32

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

$ chmod o+x ~
$ chmod o+x ~/home/fabio/public_html

but no change!

Offline

#8 2010-12-18 17:15:53

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: install joomla how?

Your webserver should already be able to descend into /home/public/html, because:

after all i put a test.php into my /home/public_html/
if i go:
http://localhost/~fabio/test.php i see the test.

You have to set proper permissions for the joomla files/directories (see link above for some background, or read some random general article about unix permissions first if you are unsure about them).

Last edited by hokasch (2010-12-18 17:18:46)

Offline

#9 2010-12-19 00:23:56

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

i used the option -R for all subdirectory...

Offline

#10 2010-12-19 02:39:56

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: install joomla how?

Fair enough, but you should NOT set your files to be executable (just the directories so http can enter them), and this does not change the read permissions for files...

Here is how I set up permissions - take it with a good grain of salt as I only dived into this last week myself and it might not be the most elegant/secure way to do things (plus I have only one user to work with the site, me):

- everything is owned by normal user
- all directories are read, write exec by the owner, none for group, and read & write for world
- all files are read & write by the owner, none for group and readable by world
- "files" directory where webserver needs write access has group changed to http, then set read write and execute for group and none for user and world
- some settings files have group changed to http, read granted to group, read and write to user, and none to world

Please try to understand if this makes sense for you before just copying something down.

Offline

#11 2010-12-19 09:49:12

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

556?

Offline

#12 2010-12-19 15:01:19

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

permision 755 buy buy!

Offline

#13 2010-12-19 15:24:44

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: install joomla how?

I know I have acted patronising here but...but... just for your greater good! tongue

Still I would not buy 755 permissions for files even if you make me a good price, since files should not be executable by http. In case you are interested still... quick google "joomla file permissions" pulled up this Permissions FAQ (maybe also available in italian somewhere?) and this general statement:

Depending on the security configuration of your Web server the recommended default permissions of 755 for directories and 644 for files should be reasonably secure.

Anyway, enjoy your actual project!

Offline

#14 2010-12-20 13:21:51

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

now i have permision 777 because configuration.php is not editable...is not a good idea...

Offline

#15 2010-12-20 13:36:47

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: install joomla how?

The Installer is a special case... ease the permissions it complains about (files & directories it needs write access), then revert to the recommended more secure permissions afterwards.

Offline

#16 2010-12-20 14:20:17

mister
Member
Registered: 2010-06-20
Posts: 18

Re: install joomla how?

ok but there are many directories and file...how apply 755 to all directory and 644 to all files quickly?

Offline

#17 2010-12-20 15:29:35

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Offline

Board footer

Powered by FluxBB