Loading...
 

History: How to install WikiSuite

Preview of version: 65

How To Install Virtualmin

You should have a fresh instance of Ubuntu 20.04 LTS. It is important that nothing else is installed on the server because Virtualmin will handle it. We'll use https://gitlab.com/wikisuite/virtualmin-installer/ to install Virtualmin which is then configured for optimal settings for WikiSuite.

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.

Log in to your server via SSH with the root user. (If you are not logged in as root, you should switch to root)

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:- https://00.000.000.000:10000

Update your system to latest available packages

Updates the list of available packages and their versions
apt-get update
Installs newer versions of the packages you have
apt-get upgrade

Install some missing dependencies

# Install the required packages

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 php-bz2
apt-get install git unzip sqlite3 php php-pdo rsync
apt install curl memcached poppler-utils bsdmainutils catdoc elinks man-db odt2txt pstotext unzip
apt install apache2
apt install mysql-server mysql-client

Installation of Tiki Manager

For more info, please see: https://doc.tiki.org/Manager

1. Install Tiki Manager :-
to do: provide guidance on where to set up Tiki Manager. Should it be in a Virtualmin virtual server?

# 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

Create Tiki Instance through CLI


1. Create Domain

2.Create virtual server with same domain name via Virtualmin


Vs

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

Instance

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
  • select Server Configuration tab
  • Select ssl certificate
    • Go to lets encrypt tab
    • Select Request certificate

SSL

  • once done
  • go to (tiki-admin.php) page
    • Control Panels
      • Select Security tab
      • General security tab
      • 'check' Protect all sessions with HTTPS
      • and Apply the changes

Https

Setup Mail

  • Create Mail Account via Virtualmin
  • Login in Virtualmin
  • go to edit user section and
  • add a user to this server

Mail

Configure email account to Tiki's webmail

  • Go to Control Panel in tiki-admin Page
  • click on advance button and enable webmail
  • open webmail

Webmail

  • add imap server to receive emails
  • provide account name and imap server address then provide user credential
  • add smtp server to send email

Env

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

For host name follow Setup Mail step: 4 .ie. @client1.vmi458927.wikisuite.net
port no:465
User:client
Pass:secret

  • Provide the credential and save it

History

Advanced
Information Version
Marc Laporte A note about other OSs 111
View
Marc Laporte About domain names 110
View
Marc Laporte You need to create Virtual Servers so Tiki Manager has a place to operate 109
View
Marc Laporte @Roshan @Vignesh and @Chirag: Those were really nice screenshots. But the point is to make it simple to install WikiSuite/Tiki. Tiki Manager's job is to install TIki, and if it failed, the bug must be fixed, and not document a workaround. 108
View
Marc Laporte blackboard is nicer. colors="shell" is more relevant because these are shell commands 107
View
Marc Laporte code Plugin modified by editor. 106
View
Marc Laporte That instruction was obviously not tested! 105
View
Marc Laporte 104
View
Vignesh Chettiyar 103
View
Vignesh Chettiyar 102
View
Vignesh Chettiyar 101
View
Vignesh Chettiyar 100
View
Vignesh Chettiyar 99
View
Vignesh Chettiyar 98
View
Vignesh Chettiyar 97
View
Vignesh Chettiyar 96
View
Vignesh Chettiyar 95
View
Vignesh Chettiyar 94
View
Vignesh Chettiyar 93
View
Vignesh Chettiyar 92
View
Vignesh Chettiyar 91
View
Vignesh Chettiyar 90
View
Vignesh Chettiyar 89
View
Vignesh Chettiyar 88
View
Vignesh Chettiyar 87
View
Vignesh Chettiyar 86
View
Vignesh Chettiyar 85
View
Vignesh Chettiyar 84
View
Marc Laporte 83
View
Vignesh Chettiyar 82
View
Vignesh Chettiyar 81
View
Vignesh Chettiyar 80
View
Vignesh Chettiyar 79
View
Vignesh Chettiyar 78
View
Vignesh Chettiyar 77
View
Vignesh Chettiyar 76
View
Vignesh Chettiyar 75
View
Vignesh Chettiyar 74
View
Vignesh Chettiyar 73
View
Vignesh Chettiyar 72
View
Vignesh Chettiyar 71
View
Vignesh Chettiyar 70
View
Vignesh Chettiyar 69
View
Vignesh Chettiyar 68
View
Marc Laporte 67
View
Marc Laporte 66
View
Marc Laporte Do not have Composer installed on the server. Instead let Tiki Manager install Composer on its own 65
View
Marc Laporte 64
View
Marc Laporte 63
View
Marc Laporte Removing sudo because we tell people to be root 62
View