Difference: ServerSetup (1 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

Revision 42016-03-02 - TWikiAdminUser

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

Setting Up Twiki Server

>
>
Setting Up Twiki Server
 
  1. Install apache2 and php5
    sudo apt-get install apache2 php5

  2. open a browser and type localhost to check if apache is really installed and working.

  3. Download twiki from
    http://twiki.org/cgi-bin/view/Codev/DownloadTWiki

Line: 8 to 8
 
  1. unzip the downloaded file Twiki-6.0.1.tgz in to /var/www/ which will create /var/www/twiki
    sudo tar zxvf ~/Downloads/TWiki-6.0.1.tgz

  2. Change the ownership of the twiki directory (/var/www/twiki)and its files to www-data:www-data
    sudo chown -R www-data:www-data /var/www/twiki/

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

Changed:
<
<
  1. 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)

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

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

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

restart apache server
sudo service apache2 restart

Now modify /etc/apache2/sites-available/000-default.conf
Change

ServerAdmin webmaster@localhost

DocumentRoot /var/www/html

to
ServerAdmin webmaster@localhost

DocumentRoot /var/www

modify /etc/apache2/apache2.conf , add DirectoryIndex html/index.html after #</Directory
Add
#<Directory /srv/>

# Options Indexes FollowSymLinks

# AllowOverride None

# Require all granted

#</Directory
DirectoryIndex html/index.html

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

restart apache server
sudo service apache2 restart

open a browser and type localhost/twiki to test if twiki is up and working

To configure twiki lets test if Perl is installed
perl -v

Start Cpan to begin configuration.
sudo cpan
Note: type yes at all prompts.

From cpan install the following

  • Error
    install Error
  • CGI::Session
    install CGI::Session
  • SMTP
    install Net::SMTP
  • exit cpan
    exit

now install rcs
sudo apt-get install rcs

open
localhost/do/configure

change /do → /pub
{PubUrlPath}δ ------ /do
to
{PubUrlPath}δ ------ /pub

scroll down--> click next ---> save changes----> Go to the TWiki front page

>
>
  1. 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)

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

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

  4. 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

  5. restart apache server
    sudo service apache2 restart

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

    to
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www

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

  8. 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

  9. restart apache server
    sudo service apache2 restart

  10. open a browser and type localhost/twiki to test if twiki is up and working

  11. To configure twiki lets test if Perl is installed
    perl -v
  12. Start Cpan to begin configuration.
    sudo cpan

    Note: type yes at all prompts.
  13. From cpan install the following
    • Error
      install Error
    • CGI::Session
      install CGI::Session
    • SMTP
      install Net::SMTP
    • exit cpan
      exit
  14. now install rcs
    sudo apt-get install rcs
  15. open
    localhost/do/configure
    change /do → /pub
    {PubUrlPath}δ ------ /do

    to
    {PubUrlPath}δ ------ /pub
  16. scroll down--> click next ---> save changes----> Go to the TWiki front page
 -- TWiki Admin User - 2016-02-17
Changed:
<
<

Comments

>
>
Comments
 
<--/commentPlugin-->

Revision 32016-03-02 - TWikiAdminUser

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)
Deleted:
<
<
  create twiki.conf file by Copy and paste the source text from http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator
Deleted:
<
<
  •   save the twiki.conf file in to /etc/apache2/conf-available/
    sudo cp twiki.conf /etc/apache2/conf-available/
    Deleted:
    <
    <
  •   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
    Deleted:
    <
    <
  •   restart apache server
    sudo service apache2 restart
    Deleted:
    <
    <
  •   Now modify /etc/apache2/sites-available/000-default.conf
    Change

    ServerAdmin webmaster@localhost
    Changed:
    <
    <
    >
    >
     DocumentRoot /var/www/html

    to
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www

    Deleted:
    <
    <
      modify /etc/apache2/apache2.conf , add DirectoryIndex html/index.html after #</Directory
    Add
    #<Directory /srv/>
    Changed:
    <
    <
    >
    >
     # Options Indexes FollowSymLinks

    # AllowOverride None

    Line: 40 to 34
     # Require all granted

    #</Directory
    DirectoryIndex html/index.html

    Deleted:
    <
    <
      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
    Deleted:
    <
    <
  •   restart apache server
    sudo service apache2 restart
    Deleted:
    <
    <
  •   open a browser and type localhost/twiki to test if twiki is up and working
    Deleted:
    <
    <
  •   To configure twiki lets test if Perl is installed
    perl -v
    Deleted:
    <
    <
  •   Start Cpan to begin configuration.
    sudo cpan
    Note: type yes at all prompts.
    Deleted:
    <
    <
  •   From cpan install the following
    • Error
      install Error
    • CGI::Session
      install CGI::Session
    • SMTP
      install Net::SMTP
    • exit cpan
      exit
    Deleted:
    <
    <
  •   now install rcs
    sudo apt-get install rcs
    Deleted:
    <
    <
  •   open
    localhost/do/configure
    Deleted:
    <
    <
  •   change /do → /pub
    {PubUrlPath}δ ------ /do
    to
    {PubUrlPath}δ ------ /pub
    Deleted:
    <
    <
  •   scroll down--> click next ---> save changes----> Go to the TWiki front page
    Deleted:
    <
    <
      -- TWiki Admin User - 2016-02-17

    Revision 22016-02-18 - TWikiAdminUser

    Line: 1 to 1
     
    META TOPICPARENT name="WebHome"

    Setting Up Twiki Server

    Deleted:
    <
    <
    1. Install apache2 and php5
      sudo apt-get install apache2 php5

    2. open a browser and type localhost to check if apache is really installed and working.

      Setting Up Twiki Server

     
    1. Install apache2 and php5
      sudo apt-get install apache2 php5

    2. open a browser and type localhost to check if apache is really installed and working.

    Changed:
    <
    <
    1. Download twiki from http://twiki.org/cgi-bin/view/Codev/DownloadTWiki

    >
    >
    1. Download twiki from
      http://twiki.org/cgi-bin/view/Codev/DownloadTWiki

     
    1. Change directory to
      cd /var/www/

    2. unzip the downloaded file Twiki-6.0.1.tgz in to /var/www/ which will create /var/www/twiki
      sudo tar zxvf ~/Downloads/TWiki-6.0.1.tgz

    3. Change the ownership of the twiki directory (/var/www/twiki)and its files to www-data:www-data
      sudo chown -R www-data:www-data /var/www/twiki/

    Line: 31 to 24
     restart apache server
    sudo service apache2 restart
  • Changed:
    <
    <
    Now modify /etc/apache2/sites-available/000-default.conf
    Change
    ServerAdmin webmaster@localhost DocumentRoot /var/www/html

    to
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www

    1. modify /etc/apache2/apache2.conf , add DirectoryIndex html/index.html after #</Directory
      Add
      #<Directory /srv/>

    # Options Indexes FollowSymLinks

    # AllowOverride None

    # Require all granted

    #</Directory
    DirectoryIndex html/index.html

    1. 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

    2. restart apache server
      sudo service apache2 restart

    3. open a browser and type localhost/twiki to test if twiki is up and working

    4. To configure twiki lets test if Perl is installed
      perl -v

    5. Start Cpan to begin configuration.
      sudo cpan
      Note: type yes at all prompts.

    6. From cpan install the following

      • Error
        install Error

      • CGI::Session
        install CGI::Session

      • SMTP
        install Net::SMTP

      • exit cpan
        exit

    7. now install rcs
      sudo apt-get install rcs

    8. open
      localhost/do/configure

    9. change /do → /pub
      {PubUrlPath}δ ------ /do
      to
      {PubUrlPath}δ ------ /pub

    10. scroll down--> click next ---> save changes----> Go to the TWiki front page

    -- TWiki Admin User - 2016-02-17

    Comments


    <--/commentPlugin-->

  • Download twiki from http://twiki.org/cgi-bin/view/Codev/DownloadTWiki

  • Change directory to
    cd /var/www/

  • unzip the downloaded file Twiki-6.0.1.tgz in to /var/www/ which will create /var/www/twiki
    sudo tar zxvf ~/Downloads/TWiki-6.0.1.tgz

  • Change the ownership of the twiki directory (/var/www/twiki)and its files to www-data:www-data
    sudo chown -R www-data:www-data /var/www/twiki/

  • Add your user name (Computer login name) to www-data group
    sudo usermod -a -G www-data ¨Your-User-Name¨

  • 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)
    1. create twiki.conf file by Copy and paste the source text from http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator

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

    3. 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

    4. restart apache server
      sudo service apache2 restart

    5. Now modify /etc/apache2/sites-available/000-default.conf
      Change
      ServerAdmin webmaster@localhost

    >
    >
    Now modify /etc/apache2/sites-available/000-default.conf
    Change

    ServerAdmin webmaster@localhost
      DocumentRoot /var/www/html

    to
    ServerAdmin webmaster@localhost
    Line: 158 to 58
     
  • From cpan install the following

  • Changed:
    <
    <
    • Error
      install Error

    • CGI::Session
      install CGI::Session

    • SMTP
      install Net::SMTP

    • exit cpan
      exit

    >
    >
    • Error
      install Error
    • CGI::Session
      install CGI::Session
    • SMTP
      install Net::SMTP
    • exit cpan
      exit
     
  • now install rcs
    sudo apt-get install rcs

  • Revision 12016-02-17 - TWikiAdminUser

    Line: 1 to 1
    Added:
    >
    >
    META TOPICPARENT name="WebHome"

    Setting Up Twiki Server

    1. Install apache2 and php5
      sudo apt-get install apache2 php5

    2. open a browser and type localhost to check if apache is really installed and working.

      Setting Up Twiki Server

      1. Install apache2 and php5
        sudo apt-get install apache2 php5

      2. open a browser and type localhost to check if apache is really installed and working.

      3. Download twiki from http://twiki.org/cgi-bin/view/Codev/DownloadTWiki

      4. Change directory to
        cd /var/www/

      5. unzip the downloaded file Twiki-6.0.1.tgz in to /var/www/ which will create /var/www/twiki
        sudo tar zxvf ~/Downloads/TWiki-6.0.1.tgz

      6. Change the ownership of the twiki directory (/var/www/twiki)and its files to www-data:www-data
        sudo chown -R www-data:www-data /var/www/twiki/

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

      8. 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)
      1. create twiki.conf file by Copy and paste the source text from http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator

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

      3. 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

      4. restart apache server
        sudo service apache2 restart

      5. Now modify /etc/apache2/sites-available/000-default.conf
        Change
        ServerAdmin webmaster@localhost

      DocumentRoot /var/www/html

      to
      ServerAdmin webmaster@localhost

      DocumentRoot /var/www

      1. modify /etc/apache2/apache2.conf , add DirectoryIndex html/index.html after #</Directory
        Add
        #<Directory /srv/>

      # Options Indexes FollowSymLinks

      # AllowOverride None

      # Require all granted

      #</Directory
      DirectoryIndex html/index.html

      1. 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

      2. restart apache server
        sudo service apache2 restart

      3. open a browser and type localhost/twiki to test if twiki is up and working

      4. To configure twiki lets test if Perl is installed
        perl -v

      5. Start Cpan to begin configuration.
        sudo cpan
        Note: type yes at all prompts.

      6. From cpan install the following

        • Error
          install Error

        • CGI::Session
          install CGI::Session

        • SMTP
          install Net::SMTP

        • exit cpan
          exit

      7. now install rcs
        sudo apt-get install rcs

      8. open
        localhost/do/configure

      9. change /do → /pub
        {PubUrlPath}δ ------ /do
        to
        {PubUrlPath}δ ------ /pub

      10. scroll down--> click next ---> save changes----> Go to the TWiki front page

      -- TWiki Admin User - 2016-02-17

      Comments


      <--/commentPlugin-->

    3. Download twiki from http://twiki.org/cgi-bin/view/Codev/DownloadTWiki

    4. Change directory to
      cd /var/www/

    5. unzip the downloaded file Twiki-6.0.1.tgz in to /var/www/ which will create /var/www/twiki
      sudo tar zxvf ~/Downloads/TWiki-6.0.1.tgz

    6. Change the ownership of the twiki directory (/var/www/twiki)and its files to www-data:www-data
      sudo chown -R www-data:www-data /var/www/twiki/

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

    8. 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)
    1. create twiki.conf file by Copy and paste the source text from http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator

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

    3. 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

    4. restart apache server
      sudo service apache2 restart

    5. Now modify /etc/apache2/sites-available/000-default.conf
      Change
      ServerAdmin webmaster@localhost

    DocumentRoot /var/www/html

    to
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www

    1. modify /etc/apache2/apache2.conf , add DirectoryIndex html/index.html after #</Directory
      Add
      #<Directory /srv/>

    # Options Indexes FollowSymLinks

    # AllowOverride None

    # Require all granted

    #</Directory
    DirectoryIndex html/index.html

    1. 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

    2. restart apache server
      sudo service apache2 restart

    3. open a browser and type localhost/twiki to test if twiki is up and working

    4. To configure twiki lets test if Perl is installed
      perl -v

    5. Start Cpan to begin configuration.
      sudo cpan
      Note: type yes at all prompts.

    6. From cpan install the following

      • Error
        install Error

      • CGI::Session
        install CGI::Session

      • SMTP
        install Net::SMTP

      • exit cpan
        exit

    7. now install rcs
      sudo apt-get install rcs

    8. open
      localhost/do/configure

    9. change /do → /pub
      {PubUrlPath}δ ------ /do
      to
      {PubUrlPath}δ ------ /pub

    10. scroll down--> click next ---> save changes----> Go to the TWiki front page

    -- TWiki Admin User - 2016-02-17

    Comments

    <--/commentPlugin-->
     
    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