Loading...
 

History: How to install WikiSuite

Preview of version: 100

system
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

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

Choose your default language and click 'Continue'.
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.
6

Next, click 'Continue' again to configure your Tiki Wiki installation.

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

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


Webmail1

IMAP
IMAP (Internet Message Access Protocol) is a standard email protocol that stores email messages on a mail server, but allows the end user to view and manipulate the messages as though they were stored locally on the end user's computing device(s).

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=

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

Comparing version 26 with version 27

Lines: 1-4Lines: 1-4
 !! __How To Install Virtualmin__ !! __How To Install Virtualmin__
-__Install Webmin and Virtualmin__ +__Install Webmin and Virtualmin :-__
 Download Virtualmin using the below script. It is basically a shell script that will handle rest of the installation once executed. Download Virtualmin using the below script. It is basically a shell script that will handle rest of the installation once executed.
 Then run  Then run
Lines: 7-11Lines: 7-11
  bash install-virtualmin.sh||  bash install-virtualmin.sh||
-__! first install all dependencies__ +__First install all dependencies :-__
 ||apt-get ~~#09F:update~~ ||apt-get ~~#09F:update~~
Lines: 14-26Lines: 14-26
-__Installation of tiki-manager and composer__ __1.clone directory__ +__Installation of tiki-manager and composer :-__ __1.clone directory :-__
 ||git clone - - depth 1 --branch master https://gitlab.com/tikiwiki/tiki-manager.git|| ||git clone - - depth 1 --branch master https://gitlab.com/tikiwiki/tiki-manager.git||
-__2.go to this directory__ +__2.go to this directory :-__
 ||cd tiki-manager|| ||cd tiki-manager||
-__3.install composer__ +__3.install composer :-__
 ||curl https://getcomposer.org/composer.phar > composer.phar ||curl https://getcomposer.org/composer.phar > composer.phar
 php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Lines: 29-33Lines: 29-33
 ||composer require symfony/console|| ||composer require symfony/console||
-__Create Tiki Instance through CLI__ +__Create Tiki Instance through CLI :-__
 __1.__ Create Domain  __1.__ Create Domain
Lines: 36-40Lines: 36-40
 ||php tiki-manager.php instance:create|| ||php tiki-manager.php instance:create||
-----type=local-- +--type=local
 --web url=http://manager.tiki.org --web url=http://manager.tiki.org
 --name=manager.tiki.org  --name=manager.tiki.org
Lines: 52-61Lines: 52-95
   
-__Database setup(do this setup after selecting branch while creating instance)__1.go to webmin2.servers tab3. select mysql database server 4. go to select user permission tab 5. select user tab6. give permission to all +__Database setup(do this setup after selecting branch while creating instance) :-__*Go to webmin*Selectservers tab*Select mysql database server *Go to select user permission tab *Select user tab*Give permission to all
  and save it  and save it
 +__Configure SSL :-__
 +*Go to virtualmin search ssl certificate
 +*Go to lets encrypt tab
 +*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
 Example wikidiff plugin syntax
{wikidiff object_id="How to install WikiSuite" oldver="26" newver="27" diff_style="sidediff" show_version_info="y"}

History

Advanced
Information Version
Marc Laporte 149
View
Marc Laporte 148
View
Marc Laporte 147
View
Marc Laporte Removing this because 1- it should work, 2- If issue, we should point to upstream doc, 3- This image didn't help me 146
View
Marc Laporte 145
View
Marc Laporte 144
View
Marc Laporte 143
View
Marc Laporte 142
View
Marc Laporte 141
View
Marc Laporte 140
View
Marc Laporte 139
View
Marc Laporte 138
View
Marc Laporte 137
View
Marc Laporte 136
View
Marc Laporte 135
View
Vignesh Chettiyar 134
View
Vignesh Chettiyar 133
View
Vignesh Chettiyar 132
View
Marc Laporte 131
View
Marc Laporte 130
View
Marc Laporte 129
View
Marc Laporte 128
View
Marc Laporte 127
View
Marc Laporte 126
View
Marc Laporte code Plugin modified by editor. 125
View
Marc Laporte code Plugin modified by editor. 124
View
Marc Laporte 123
View
Marc Laporte Major update 122
View
Marc Laporte 121
View
Marc Laporte 120
View
Marc Laporte 119
View
Marc Laporte Using this option: https://dev.tiki.org/Tiki-and-Virtualmin-interop#Virtual_Server_for_Tiki_Manager_and_Sub-Servers_for_all_Tiki_instances 118
View
Marc Laporte 117
View
Marc Laporte 116
View
Marc Laporte 115
View
Marc Laporte 114
View
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