History: How to install WikiSuite

Preview of version: 46

How To Install Virtualmin

Install Webmin and Virtualmin on Ubuntu OS :-
Download Virtualmin using the below script. It is basically a shell script that will handle rest of the installation once executed.
Then run

# Run this Command on Terminal

curl -o install-virtualmin.sh https://gitlab.com/wikisuite/virtualmin-installer/-/raw/master/install-virtualmin.sh
bash install-virtualmin.sh

# A web URL will be provided after installation is complete, you can access the virtualmin by the provided URL Ex:- 00.000.000.000:10000

First install all dependencies :-


# Update your System

apt-get update

# Upgrade your System

apt-get upgrade

# Install the required packages

sudo apt install php php-tidy php-pear php-gd php-xmlrpc php-mbstring libapache2-mod-php php-mysql php-apcu php-curl php-intl php-sqlite3 php-zip php-memcache php-pspell php-zip php-memcached php-pear php-common php-intl php7.4-opcache php-xml php-zip composer php-bz2
apt-get install git unzip sqlite3 php php-pdo rsync composer
sudo apt install curl memcached poppler-utils bsdmainutils catdoc elinks man-db odt2txt pstotext unzip
sudo apt install apache2
sudo apt install mysql-server mysql-client

Installation of tiki-manager and composer :-

1. Install Tiki Manager :-

# Create a directory called tiki-manager (you can pick another name)
  $ mkdir tiki-manager
# Move into this new directory
  $ cd tiki-manager
# Fetch Tiki Manager directly from sources. The last period/dot (.) indicates to put files in current directory (vs creating a new directory)
  git clone - - depth 1 - -branch master https://gitlab.com/tikiwiki/tiki-manager.git .
# Then run the following. On first run, it will finish the setup (Fetch Composer and get PHP dependencies, Create the SQLite database, etc.)
  $ php tiki-manager.php manager:info


2. Install composer :-

curl https://getcomposer.org/composer.phar > composer.phar
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
apt install php-bz2
composer require symfony/finder
composer require symfony/console
php composer-setup.php


Create Tiki Instance through CLI :-


1. Create Domain

2.Create virtual server with same domain name via virtualmin

instance:create

  • creates a fresh Tiki instance (including a database) fetching files from Git

php tiki-manager.php instance:create ––type=local  ––Web Url=http://manager.tiki.org ––name=manager.tiki.org ––email=manager@example.org ––webroot=/home/client1/public_html ––tempdir=/tmp/trim_temp ––branch=branches/21.x  ––backup-user=www-data ––backup-group=www-data ––backup-permission=777 ––db-host=localhost ––db-user=root ––db-pass=secret ––db-prefix=manager


Database setup(do this setup after selecting branch while creating instance) :-

  • Go to virtualmin(0.0.0.0:10000 )
  • select webmin (Alt+W)
  • Select servers tab
  • Select mysql database server
  • Go to user permission tab

Database

  • Select user tab
  • Give permission to all

and save it
Database1

Configure SSL :-

  • Go to virtualmin search ssl certificate and select it
  • Go to lets encrypt tab
  • Select Request certificate
  • once done
  • go to (tiki-admin.php) Page
  • search "Protect all sessions" activate it.

Setup Mail :-

  • Login in gandi.net
  • go to email tab (up to 5 @wikisuite.net accounts can be created for free)
  • Create Mail Account via Virtualmin
  • Login in Virtualmin
  • go to edit user section and
  • add a user to this server

Configure email account to Tiki's webmail :-

  • Go to (tiki-admin.php) Page
  • search webmail in controls panel and enable webmail
  • open webmail
  • add imap server to receive emails
  • provide account name and imap server address then provide user credential
  • add smtp server to send email

  • go to Tiki-manager folder and uncomment the below line in .env file
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=

  • Provide the credential and save it

History

Information Version
Marc Laporte 63 - 64
View
Marc Laporte Removing sudo because we tell people to be root 58 - 62
View
Marc Laporte A little clearer 57
View
Vignesh Chettiyar 55 - 56
View
Vignesh Chettiyar 53 - 54
View
Vignesh Chettiyar 51 - 52
View
Vignesh Chettiyar 44 - 50
View
Vignesh Chettiyar 30 - 43
View
Vignesh Chettiyar 28 - 29
View
Vignesh Chettiyar 27
View
Vignesh Chettiyar 21 - 26
View
Vignesh Chettiyar 15 - 20
View