Page 1 of 3

[HOWTO] Guideline for installation of Joomla 1.0.13 & 1.5

Posted: Mon Nov 05, 2007 12:17 pm
by AndyChuo
Hi All,

I know many of you have asked for this, besides I am also one of the long-term follower of Joomla so I guess this might help some of you too.





Joomla! in Action
Joomla! is used all over the world to power everything from simple, personal homepages to complex corporate web
applications. Here are just some of the ways people use the software:

  • ? :arrow: Corporate websites or portals
    ? :arrow: Online commerce
    ? :arrow: Small business websites
    ? :arrow: Non-profit and organizational websites
    ? :arrow: Government applications
    ? :arrow: Corporate intranets and extranets
    ? :arrow: School and church websites
    ? :arrow: Personal or family homepages
    ? :arrow: Community-based portals
    ? :arrow: Magazines and newspapers
    ? :arrow: the possibilities are limitless…
Joomla! can be used to easily manage every aspect of your website, from adding content and images to updating a
product catalog or taking online reservations. Let’s take a look who’s using Joomla to build their web site today.
Academic sites: Princeton University – Department Of Modecular Biology
Family/Health Sites: Better health here
Professional Sites: World Cup 2010 from South Africa, United Nations Regional Information Centre for Western Europe
Hobbyist sites: Safari Ventures
Technology Sites: Opensource bench, Oscar Project
-----------------------------------------------------------------------------------------------------------------------

Installation Instructions

1. Download the installation file Here then copy it to /share/Public.

2. Edit php.ini:

Point your web browser to "http://your-nas-ip:8080" to enter the administration page with the appropriate user/pass.

Once in, go to "Web Server" under "Network Settings".

In there at the bottom tick on the checkbox says "php.ini Maintenance" then select "Edit" from the dropdown box.

Scroll down the file and locate the tag named "[Session]" and add the following line to the end of the "[Session]" area just before [MSSQL].

session.save_path = /tmp

When you finish, click on "Apply" button then hit "OK" for the confirmation pop up box.

When it says "System configuration complete" click on the button "Continue" to proceed.

That's it for now.

3. Create a database for Joomla

Point your web browser to "http://you-nas-ip/phpMyAdmin" then supply your user/pass to log in.

On the first page under "Create new database" type in "joomla" or any name you would like to set for Joomla's database name. Then click on "Create".

Just simply log out when done.

4. Untar the archive to the web root and apply approprieate ownership/permission

We need to access to the NAS through Telnet/SSH, upon command prompt type:

# cd /share/Public

Here you may choose to install it to the web root or a folder under it (eg. /joomla) the demostration will install it to the web root:

# tar -C /share/Qweb -zxvf Joomla_1.0.13-Stable-Full_Package.tar.gz

# cd /share/Qweb

Then we need to set the access permission to 777 on serverl folders and the configuration file (just copy and paste on screen for ease):

# chmod 777 administrator/backups/ administrator/components/ administrator/modules/ administrator/templates/ cache/ components/ images/ images/banners/ images/stories/ language/ mambots/ mambots/content/ mambots/editors/ mambots/editors-xtd/ mambots/search/ mambots/system/ media/ modules/ templates/ configuration.php-dist

Set all files and folders to the user:group that has access rights to all files/folders under it. Here I used default admin user "admin" and the group it belongs to "administrators":

# chown -R admin:administrators *

That's pretty much all for the permission and ownership on the installation files.

5. Web-based installation

Now point your web browser to "http://your-nas-ip/" if you untarred the installation files to the web root or add the corresponding folder name as the file path. eg: "http://your-nas-ip/joomla/ if you untarred the installation files uner /share/Qweb/joomla.

Upon successful steps above performed, you should see the screen as below:



Make sure you get a green mark on all the checks and make the neccessary changes where appopriate. Then click on "Next".

Simply hit "Next" again on the License page (unless you wanna read) it will bring you to the actually steps for installation of Joomla. I'll explain each step as below:
  • Step 1. MySQL database configuration:

    Only the following fields you really need to fill them in with a value, below is the suggested settings:
    • Host name: localhost
      MySQL user name: root
      MySQL password: admin
      MySQL database name: joomla
    Click on "Next" when finish.


    Step 2. Enter the name of your Joomla! site:

    Upon successful database installation you should be brought to this page:



    Enter whatever you like to name your site to, here i enter "Joomla on QNAP TS-209" as sush.

    Step 3. Confirm the site URL, path, admin e-mail and file/directory chmods:

    On this page you need to type in the URL you wish your visitors to enter from the world wide web. Please note that an URL with local IP address may prevent your visitors from reaching your site. Provide either your DDNS name or a proper DNS address (if you got one pointed to your WAN address) with the corresponding path name as the directory where you installed you Joomla to eg: "http://your-nas-ip/joomla/".

    You can normally leave the field "Path" as default as they automatically detected by your NAS.

    Enter your reachable E-mail address and default administration password then leave the file/directory permissions as they are unless you wanna change it. Then hit "Next".

    Step 4. Congratulations! Joomla! is installed

    Yes, congratulations! Joomla is, I guess, installed if you can see what I see here. Now one final action your need to take. Delete the installation directory name "installation" on your Joomla install path for security concerns and do not forget your user/pass says on the screen.

    That's pretty much all it takes. Not so hard, isn't it.
For more information and support please visit the official Joomla site:
Official Joomla web site
Official Joomla discussion forum
Official Joomla extension download

Andy

Posted: Mon Nov 05, 2007 5:39 pm
by PeterQ2
This is a great post and just in time for me! One further question, for now. I plan to create multiple website on my NAS server. Also more of them may gonna use Joomla. I will use VirtualHost to address their subfolders. Is the above script the best even for those cases?

Posted: Tue Nov 06, 2007 8:04 am
by Someguy
Awesome!
Just in the time when I am trying to get this thing working :)

Mine works fine, the only thing is that its only me who can see it working fine :roll:

But Ill just try this guide and see then :wink:

Posted: Tue Nov 06, 2007 8:30 am
by AndyChuo
pvalenca wrote:This is a great post and just in time for me! One further question, for now. I plan to create multiple website on my NAS server. Also more of them may gonna use Joomla. I will use VirtualHost to address their subfolders. Is the above script the best even for those cases?
absolutely if you place each installation files under different folders and have virtual host to map the folder to corresponding path name.

Posted: Tue Nov 06, 2007 7:33 pm
by PeterQ2
absolutely if you place each installation files under different folders and have virtual host to map the folder to corresponding path name.
I've done this with success. My advice to others is to do this anyway. In my eyes, keeping the root of the Share folder free of any website isn't a bad idea.

I posted another question about MySQL, whether or not that one too should be installed per website. Let me answer it myself, now that I have a bit more understanding of how it works. There's only one install of MySQL, actually of MySQL SERVER, and it can be activated as told in the QNAP documentation. Each Joomla website will gonna get its own MySQL DATABASE.

Posted: Wed Nov 07, 2007 6:38 am
by PeterQ2
There's one problem still bothering me. The date/time is still displayed in the English format. I need the Dutch format.

I installed the Dutch language packet, to the Language folder.
In Global Configuration|Locale (Joomla Administrator) I did set the Country Locale to nl_NL and saved it. However, the site still displayed the English format.

A php-file that should display all Locales currently supported by the server displayed NONE. From the internet I now understand that this is causing the problem. I have tried to discover what to do about it. No solution has been found so far.

My questions are: Are Locales not installed by default? If not, why not? If not, how can I install them anyway and whereto?

Posted: Tue Nov 20, 2007 8:48 pm
by magicmountain
Hi Andy,

I would like to install Joomla on my TS-209 Pro, but i am not familiar with all the instruction below.

Please confirmed if my understanding on the instruction below is correct.


I will be using winSCP (can i use winSCP to accomplish task below?)

4. Untar the archive to the web root and apply approprieate ownership/permission

We need to access to the NAS through Telnet/SSH, upon command prompt type:

# cd /share/Public

(go to root / share /Qweb/ Joomla and unrar joomla file there. (i will create the joomla folder)

Here you may choose to install it to the web root or a folder under it (eg. /joomla) the demostration will install it to the web root:

# tar -C /share/Qweb -zxvf Joomla_1.0.13-Stable-Full_Package.tar.gz

# cd /share/Qweb

Please explain the text below.

Then we need to set the access permission to 777 on serverl folders and the configuration file (just copy and paste on screen for ease):

# chmod 777 administrator/backups/ administrator/components/ administrator/modules/ administrator/templates/ cache/ components/ images/ images/banners/ images/stories/ language/ mambots/ mambots/content/ mambots/editors/ mambots/editors-xtd/ mambots/search/ mambots/system/ media/ modules/ templates/ configuration.php-dist

Set all files and folders to the user:group that has access rights to all files/folders under it. Here I used default admin user "admin" and the group it belongs to "administrators":

# chown -R admin:administrators *

Thank you.



Posted: Mon Nov 26, 2007 5:11 pm
by AndyChuo
Hi,

it's just saying that the following directories need to have their folder permissions changed to 777 and i think you should be able to do it though WINScp or any FTP client that allow you to do so.:

administrator/backups/
administrator/components/
administrator/modules/
administrator/templates/
cache/
components/
images/
images/banners/
images/stories/
language/
mambots/
mambots/content/
mambots/editors/
mambots/editors-xtd/
mambots/search/
mambots/system/
media/
modules/
templates/
configuration.php-dist

Posted: Thu Nov 29, 2007 10:23 pm
by magicmountain
Hi QnapAndy,

I manage to install joomla. Thks.

For those who is interested in installing joomla components remember to turn "ZLIP from OFF TO ON IN PHP.INI"

Unrecoverable error "PCLZIP_ERR_MISSING_FILE (-4)"

Posted: Fri Nov 30, 2007 2:59 pm
by magicmountain
I thought i solve the problem that i am face with but i am wrong. I have enable zlib in php.ini to on. But i still get following error message.

"Unrecoverable error "PCLZIP_ERR_MISSING_FILE (-4)"

Basically i get the same message when ever i want to install joomla extension (even template).

Any suggestions?

Posted: Thu Dec 06, 2007 3:50 am
by AndyChuo
Does other compression type of file make any difference?

Posted: Fri Dec 07, 2007 9:00 pm
by magicmountain
Hi Andy,

Same problem with other type of compression.

Uploading images and packages

Posted: Wed Dec 26, 2007 3:12 pm
by SOb_S
With new Joomla (from firmware).
I have immediately deleted all uploaded file to Network Recycle Bin. What I doing wrong? Perms 777.

Posted: Sat Dec 29, 2007 4:36 am
by mlkmnz
Any chance we can have install instructions based on it being included in the new firmware? I'm not seeing the screens the same as you (maybe old version). Also when everything is finished, I get told:

"Database Error: Unable to load Database Driver:"

Can someone help?

Posted: Sat Dec 29, 2007 4:24 pm
by kaoruhk
mlkmnz wrote:Any chance we can have install instructions based on it being included in the new firmware? I'm not seeing the screens the same as you (maybe old version). Also when everything is finished, I get told:

"Database Error: Unable to load Database Driver:"

Can someone help?
I got this problem,too. I think I pressed "Previous Page" during the installation process. :roll:

I tried to delete the Joomla folder and the database in MySQL

Then uploaded Joomla to Qweb drive through ftp and redo it again

Finally, the problem is solved :lol: