Results 1 to 5 of 5

Thread: Fedora Core 4 - MC3 & Apache, MYSQL, for web hosting Easy Install HOWTO

Threaded View

  1. #1
    Join Date
    Jan 2006
    Location
    Geelong, Australia
    Posts
    1
    Rep Power
    9

    Default Fedora Core 4 - MC3 & Apache, MYSQL, for web hosting Easy Install HOWTO

    I am writing this HowTo because I found it not difficult but tedious to finally get everything working in unison. My motto is "It's easy once you know how!"

    If you want Zimbra to run on the same box as your webserver then this is for you.
    I am starting from scratch to make things less complex.

    Domain Name for this example is: "domain.com"
    Local IP Address is: xxx.xxx.xxx.xxx

    Step 1: Install Fedora Core 4 with these settings:
    + IP Address xxx.xxx.xxx.xxx
    +Hostname: server.domain.com
    +Gateway: zzz.zzz.zzz.zzz
    +Primary DNS: xxx.xxx.xxx.xxx (self)
    +No Firewall
    +No SELINUX

    Packages:
    +X Window (Default)
    +GNOME (Default)
    +Graphical Internet (Default)
    +Server Config Tools (All)
    +Web Server (All)
    +DNS Server (Default)
    +MySQL Server (All)
    +Admin Tools (All)

    Step 2: Edit hosts file to look like this.
    127.0.0.1-------------TAB------localhost.localdomain localhost
    xxx.xxx.xxx.xxx------TAB------server.domain.com server

    Step 3: Start the DNS Server

    Step 4: Install Webmin http://www.webmin.com/

    Step 5: Using Webmin install the following by going to "System->Software Packages->Search rpm.net"

    Webmin can be access by going to http://server.domain.com:10000/

    Search for the following and select the correct package.
    libstdc++.so.5
    libbind.so.3
    fetchmail

    Step 6: Download Zimbra "zcs-3.0.0_M3_436.FC4"

    Step 7: Extract the package.

    Step 8: Install Zimbra by running install.sh in a terminal.
    Except all defaults, the only configuration you have to do is set the admin password.

    Step 9: Once Zimbra is installed check to see if the admin account got created because in my adventures every time I installed zimbra the admin account didn't get created. Hopefully the bugs already been fixed if it is one.

    Open up a terminal and type
    "su - zimbra"
    then
    "zmprov"
    then
    "gaaa"

    You should see "admin@server.domain.com"
    If you don't you need to create the account.

    Type "ca admin@server.domain.com passwordgoeshere zimbraIsAdminAccount TRUE"
    You should see one line of fairly random output don't worry it's like a unique id or something.

    Then type "quit" and close that terminal.

    Step 10: Now logon to the admin pannel by going to https://server.domain.com:7071/ in Firefox.

    You can now create accounts etc and configure as you desire. However the next thing you will probably want to do is create another domain of "domain.com" as "server.domain.com" probably isn't what you want.

    Step 11: Open up another terminal and type
    "su - zimbra"
    then
    "zmcontrol stop"
    Leave the terminal open

    Step 12: Find these two files and open them up in Text Editor.
    /opt/zimbra/tomcat/conf/server.conf
    /opt/zimbra/tomcat/webapps/service/WEB-INF/web.xml

    Find all instances of 80 and replace with 8080 or what ever port you want zimbra to run on.
    The admin part of zimbra runs on 7071 and I guess you could change that as well but I haven't got game enough yet.

    Step 13: Now go back to that terminal and type
    "zmcontrol start"
    Now close the terminal.

    Step 14: Now you should be able to access the zimbra front end from http://server.domain.com:8080/ instead of http://server.domain.com/

    Step 15: Open up webmin and go to Servers->Apache, configure it as needed and then hit start.

    Note: When stopping Apache from webmin or Desktop->System Settings->Server Settings->Services it will stop Zimbra's apache as well but when you hit start it does not start Zimbra's apache and thus if you want the Spell checker to work you will have to restart zimbra as well. This is why when editing apache hitting "Apply Changes" will do the job nicely.

    Step 16: Now you can also configure MYSQL from webmin but the same thing applys when you stop MYSQL you will stop Zimbras MYsql.

    Step 17: Now add in the neccercy zone(s) into BIND from webmin.

    I haven't included detailed instruction on how to configure Apache, MYSQL, DNS, etc however I don't mind answering any questions to the best of my abilty.
    Last edited by phoenix; 10-27-2006 at 06:04 AM. Reason: error in link
    Kind Regards,

    Brad Jones

    Brad Jones Computing
    --------------------------------
    http://www.bjc.id.au/
    brad@bjc.id.au/
    --------------------------------

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. install zimbra with PHP and Apache Mysql
    By mingswitch in forum Installation
    Replies: 4
    Last Post: 07-12-2007, 12:02 PM
  3. Zimbra can't install on Fedora core 6 and FC 4
    By Grejao in forum Installation
    Replies: 3
    Last Post: 04-27-2007, 07:19 AM
  4. broken install on fedora core 4??
    By rmvg in forum Installation
    Replies: 5
    Last Post: 03-05-2006, 06:40 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •