Foswiki is an enterprise wiki, typically used to run a collaboration platform, knowledgebase or document management system.

Step1. Apache webserver install

yum install -y httpd

Step2. Start and enable the service

systemctl start httpd
systemctl enable httpd
systemctl status httpd

Step3. Install packages

yum install perl-Archive-Tar  perl-Authen-SASL perl-CGI perl-CGI-Session perl-Crypt-PasswdMD5 perl-Digest-SHA perl-Email-Address perl-Email-MIME perl-Encode perl-Error perl-File-Copy-Recursive perl-HTML-Parserperl-HTML-Tree perl-IO-Socket-IP perl-IO-Socket-SSL.noarch  perl-JSON perl-Locale-Codes perl-Locale-Maketext perl-libwww-perl perl-LWP-Protocol-https perl-URI -y

Step4. Install/Configure PHP repository

yum install
yum install
yum install yum-utils
yum-config-manager --enable remi-php72

Step5. Install PHP packages

yum install php  php-xml php-mbstring php-gd php-mysql -y

Step6. Download the Foswiki software

yum install wget unzip

Step7. Untar file and move in HTML folder

tar -xvf Foswiki-2.1.6.tgz
mv Foswiki-2.1.6/  foswiki
mv foswiki /var/www/html/ 

Step8. Set permission

chown -R apache:apache /var/www/html/foswiki

Step9. Create virtual host file /etc/httpd/conf.d/foswiki.conf

vi /etc/httpd/conf.d/foswiki.conf

go to the link and you just need to copy the text and paste it

Step10. Restart the service

systemctl start httpd

Step11. Access via browser



Please enter your comment!
Please enter your name here