Difference: ServerSetup (4 vs. 5)

Revision 52016-03-02 - iamensah

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Setting Up Twiki Server
  1. Install apache2 and php5
    sudo apt-get install apache2 php5

Line: 10 to 10
 
  1. Add your user name (Computer login name) to www-data group
    sudo usermod -a -G www-data ¨Your-User-Name¨

  2. logout and log back in to check if your name is a member of the www-data group
    dcsit-server@dcsit:~$ id
    uid=1000(dcsit-server) gid=1000(dcsit-server) groups=1000(dcsitserver), 4(adm),24(cdrom),27(sudo),30(dip),
    33(www-data),46(plugdev),115(lpadmin),116(sambashare)

  3. create twiki.conf file by Copy and paste the source text from http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator

Changed:
<
<
  1. save the twiki.conf file in to /etc/apache2/conf-available/
    sudo cp twiki.conf /etc/apache2/conf-available/

  2. Create a symbolic link from /etc/apache2/conf-available/twiki.conf to /etc/apache2/conf-enabled/twiki.conf
    sudo ln -s /etc/apache2/conf-available/twiki.conf /etc/apache2/conf-enabled/twiki.conf

  3. restart apache server
    sudo service apache2 restart

>
>
  1. save the twiki.conf file in to /etc/apache2/conf-available/
    sudo cp twiki.conf /etc/apache2/conf-available/

  2. Create a symbolic link from /etc/apache2/conf-available/twiki.conf to /etc/apache2/conf-enabled/twiki.conf
    sudo ln -s /etc/apache2/conf-available/twiki.conf /etc/apache2/conf-enabled/twiki.conf

  3. restart apache server
    sudo service apache2 restart

 
  1. Now modify /etc/apache2/sites-available/000-default.conf
    Change
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    to
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www

  2. Now modity /etc/apache2/apache2.conf
    add
    DirectoryIndex html/index.html
    after
    #</Directory

  3. add a symbolic link to etc/apache2/mods-available/cgi.load in mods-enabled
    sudo ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/cgi.load

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback