Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

  1. #1
    Join Date
    Jul 2006
    Beans
    8

    HOW TO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    TWiki.org Links


    Instructions

    Complete a Server Install of Ubuntu 6.06 LTS

    Enable Universe Repository and update packages:


    Install required packages:
    (Some of these packages may already be installed with the default Ubuntu installation but running the commands as shown will not hurt.)
    Code:
    sudo apt-get install apache2 perl
    sudo apt-get install cron grep  
    sudo apt-get install rcs
    Install required perl modules (modules not included with the perl install above):
    Code:
    sudo apt-get install libcgi-session-perl
    sudo apt-get install libdigest-sha1-perl
    sudo apt-get install libhtml-parser-perl
    sudo apt-get install patch
    Unpack TWiki .tgz file:
    Code:
    sudo mkdir -p /home/httpd/twiki/
    cd /home/httpd/twiki/
    sudo tar -xvzf <full path to TWiki-4.0.4.tgz>
    sudo chown -R www-data /home/httpd/twiki
    sudo chgrp -R www-data /home/httpd/twiki
    Prepare the example .conf file included with TWiki
    Code:
    sudo cp /home/httpd/twiki/twiki_httpd_conf.txt /home/httpd/twiki/twiki_httpd.conf
    Append this line to the end of /etc/apache2/httpd.conf
    include "/home/httpd/twiki/twiki_httpd.conf"
    Code:
    sudo nano /etc/apache2/httpd.conf
    Restart the Apache server:
    Code:
    sudo /etc/init.d/apache2 restart
    Run the configuration script from a web-browser on another networked computer. The ip-address of the server can be determined using 'sudo ifconfig':
    Code:
    http://<ipaddress>/twiki/bin/configure
    Start TWiki-ing:
    Code:
    http://<ipaddress>/twiki/bin/view
    Last edited by tjb4u; July 31st, 2006 at 07:08 PM. Reason: Udating and revising

  2. #2
    Join Date
    May 2006
    Beans
    1

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    sudo apt-get install php4

    Had to do the above to get it working

  3. #3
    Join Date
    Jul 2006
    Beans
    8

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    Quote Originally Posted by Robbrad View Post
    sudo apt-get install php4

    Had to do the above to get it working
    That's interesting. As far as I know TWiki does not use PHP at all, however I did use a LAMP server install for the example above so PHP was installed on my system by default. I still maintain that you should not need it though.

    BTW, I found an article in Linux Journal that describes a TWiki Install. I have not read it in full but I think it might be useful for those struggling to get TWiki up and going as I was:
    Thank you twas for the lead (See Post).
    Last edited by tjb4u; July 31st, 2006 at 07:10 PM.

  4. #4
    Join Date
    Aug 2006
    Beans
    1

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    Quote Originally Posted by Robbrad View Post
    sudo apt-get install php4

    Had to do the above to get it working
    I had to run this command as well. Before I did, I got an error when I tried to restart apache (sudo /etc/init.d/apache2 restart). I was going to paste the error here, but I lost it from the clipboard. As I recall, it complained about an error in /etc/apache2/httpd.conf -- which only had the include. The included file mentioned PHP so I tried this suggestion -- the problem went away and I'm up and running.

  5. #5
    Join Date
    Jun 2006
    Beans
    47

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    You don't really need PHP installed to run TWiki. But as mentioned before, if you see error while starting Apache server, just disable PHP from TWiki's configuration as memtioned in the error message and you are good to go.

    Thanks for the simple guide!

  6. #6
    Join Date
    Apr 2006
    Beans
    27

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    i followed this guide, as well as several other, and I've got apache running nicely and twiki installed. However when I go to http://ip/twiki and click on configure I just get a load of text - looks like a perl script. I've checked that the script is able to read and execute.
    Any ideas on what i'm doing wrong?

    Dan

  7. #7
    Join Date
    Jul 2006
    Beans
    8

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    Quote Originally Posted by dan_kent View Post
    i followed this guide, as well as several other, and I've got apache running nicely and twiki installed. However when I go to http://ip/twiki and click on configure I just get a load of text - looks like a perl script. I've checked that the script is able to read and execute.
    Any ideas on what i'm doing wrong?

    Dan
    First:
    If configured how I described above you won't be able to "click" on the configure script as the directory is not visible by exploring directories with an Internet browser.

    Second:
    The configure script should be at the following URL
    http://<ipaddress>/twiki/bin/configure
    Not
    http://<ipaddress>/twiki/configure

    I realize that may not be very helpful but maybe it will point you to a clue in the difference in our configurations.
    Last edited by tjb4u; October 6th, 2006 at 04:52 PM. Reason: spelling

  8. #8
    Join Date
    Oct 2006
    Beans
    1

    Re: HOW TO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    I also needed to install sendmail. Found this out when I tried to register myself as a user.

    Code:
    sudo apt-get install sendmail

  9. #9
    Join Date
    Jul 2005
    Location
    yukon
    Beans
    75
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOW TO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    there is a .deb package maintained at http://members.iinet.net.au/~spos/ which is generally only a few days behind the current twiki.org release, if that.
    --matt

  10. #10
    Join Date
    Feb 2005
    Location
    Portland, Oregon, USA
    Beans
    43
    Distro
    Ubuntu

    Re: HOWTO: Install TWiki 4.0.4 on Ubuntu Server 6.06 LTS

    Hi all,

    I could use some help. I've followed all the directions listed above, installed PHP4 via apt, and restarted apache.

    When I restart apache, I get this:

    ryan@rybuntu:~$ sudo /etc/init.d/apache2 restart
    Password:
    * Forcing reload of apache 2.0 web server...
    [Wed Dec 06 23:12:30 2006] [warn] The Alias directive in /etc/apache2/conf.d/twiki.conf at line 2 will probably never match because it overlaps an earlier Alias.
    [Wed Dec 06 23:12:30 2006] [warn] The Alias directive in /etc/apache2/conf.d/twiki.conf at line 3 will probably never match because it overlaps an earlier Alias.
    apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    [Wed Dec 06 23:12:30 2006] [warn] The Alias directive in /etc/apache2/conf.d/twiki.conf at line 2 will probably never match because it overlaps an earlier Alias.
    [Wed Dec 06 23:12:30 2006] [warn] The Alias directive in /etc/apache2/conf.d/twiki.conf at line 3 will probably never match because it overlaps an earlier Alias.
    apache2: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    ...done.

    My twiki.conf file looks like this:

    # Added for twiki
    Alias /twiki/pub /var/www/twiki/pub
    Alias /twiki/data /var/lib/twiki/data
    Redirect /twiki/index.html http://localhost//cgi-bin/twiki/view
    #Redirect /twiki/ http://localhost//cgi-bin/twiki/view

    # make sure this is even needed, and ref the doc section needing it
    <Directory /usr/lib/cgi-bin/twiki/>
    Options +ExecCGI
    SetHandler cgi-script
    AllowOverride all
    Allow from all
    </Directory>

    # End twiki Configuration Block
    And when I go to

    http://myip/twiki/bin/configure

    all I get is a blank page (no error).

    Any suggestions? I appreciate the help.
    Last edited by ryharv; December 7th, 2006 at 09:09 AM.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

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