Loading...
 

History: How to install WikiSuite

Preview of version: 107

This is not yet ready yet, and improving every few days

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://example.com:10000 (GUI is at port 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

Installation of Tiki Manager

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

1. Install Tiki Manager :-
You can Install tiki-manager under any directory
Recomended Directory:- "home"

ie.
$ cd /home

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

When asked "Enter passphrase (empty for no passphrase):", just click "Enter" unless you know that you need a passphrase (probably not)

Create Virtual Server

Virtualmin > Create Virtual Server

Server Create
Domain name: Provide Domain To the virtual server
Administration password:Set a Strong Password

Create Tiki Instance through CLI

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

For more info, please see:- https://doc.tiki.org/manager#instance

php tiki-manager.php instance:create ––type=local     ––Web Url=http://manager.tiki.org    ––name=manager.tiki.org     
––email=manager@example.org     ––webroot=/home/example/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 (http://example.com:10000 )

Webmin > Server > Mysql database server > user permission tab > Select user

  • Set Password
  • Give permission to all

and save it

Permistion

After Successfully Creating tiki-instance

To complete the setup of the checked-out files, including fetching external libraries and setting permissions, run setup.sh, (in the tiki root ):

$ sh setup.sh

Regarding Composer, which is only needed to fetch external libraries when Tiki is being installed from the repository, use the option "c" after starting the setup.sh script:

Your choice [c or f]? c

TikiWiki Post Installation

Navigate in a web browser to: http://example.org/tiki-install.php

Now you will get the Welcome Page of the Tiki Wiki installer.
Choose your default language and click 'Continue'.
1

The Tiki Wiki is using the LGPL License. Click 'Continue' to agree to its license agreement.
2

Now the Tiki Wiki installer will be checking your system as the requirement for the installation.
Make sure all test has green 'Success', then click 'Continue'.
3

Select Use Existing connection
4

Click on Upgrade
5

Once all installation is completed, you will get the result as below.
Next, click 'Continue' again to configure your Tiki Wiki installation
6

Configure your Tiki Wiki installation as you need and click 'Continue'.
7

And you will get the Tiki Wiki Installation Notes as below.
8

Click 'Continue' again, and you will get the page as below.
Click the button 'Enter Tiki and Lock Installer'.
9

you will get the Tiki Wiki HomePage as below.
10

Tiki Wiki Admin Dashboard looks like.
11

Configure SSL


Virtualmin > Server Configuration > SSL certificate> Lets encrypt > Request certificate

Let's Encrypt is an open certificate authority that provides free SSL certificates. The app intelligently integrates the certificate lifecyle and management into Webconfig

File not found.


To access the administration
{http://example.com/tiki-admin.php}

Control Panels > Security > General security >"check" Protect all sessions with HTTPS > Apply the changes

Admin

Setup Mail


Virtualmin > Edit User > Add a new user to this server

Email

Configure email account to Tiki's webmail

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

To access Control panel
https://example.com/tiki-admin.php

Control Panel > click on advance button > enable Webmail

or

To access Webmail

http://example.com/tiki-admin.php?page=webmail

Webmail

The webmail feature can be used to offer a web-based interface to your users webmail accounts, note that Tiki is not a mail server, your users should already have email addresses before being able to use webmail. Any POP3 accessible mail account can be used from Tiki.


Webmail1

Webmail

Configuring webmail accounts

After enabling webmail from the features section of the admin panel you will be able to enter the webmail section from the application menu. In your first visit to the webmail you will be automatically redirected to the webmail configuration panel.


Configure SMTP Server
By default Tiki Manager uses sendmail to send email notifications. If you intend to use SMTP instead add the following lines to your .env file.
Virtualmin > file manager > Home > tiki-manager > .env dist

SMTP_HOST=<SERVER_ADDRESS>
SMTP_PORT=<SERVER_PORT>
SMTP_USER=(optional if authentication is required)
SMTP_PASS=(optional if authentication is required)

TroubleShoot

The installer is locked!

When you attempt to load tiki-install.php in your browser, Tiki displays the message:

Installer disabled. Remove 'db/lock' to enable the installer.

To re-enable the install script, use your host's file management software to remove the file lock from your Tiki's ../db/ directory.

You can now re-run the install script.

File not found.


Tiki Installer reports a Security Precaution.

When you attempt to load tiki-install.php in your browser, Tiki displays the Security Alert page:

File not found.


To protect your site, if you (or anyone else) attempts to run the Tiki installer on a site that has an existing Tiki database, Tiki displays the security precaution alert and requires you to login using your database's username and password.

Enter the database username and password that you used when creating the database.

✔ TIP
If you forgot these items, Tiki has recorded them in the [../db/local.php file].


If the tiki installer security precaution goes in loop after entering database username and password
please add the following command

$ php console.php database:update




History

Advanced
Information Version
Marc Laporte 113
View
Marc Laporte We generally use example.org instead of example.com 112
View
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