system
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)
apt-get update
apt-get upgrade
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"
$ cd /home
$ mkdir tiki-manager
$ cd tiki-manager
$ git clone ––depth 1 ––branch master https://gitlab.com/tikiwiki/tiki-manager.git .
$ 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)
Virtualmin > Create Virtual Server
Domain name: Provide Domain To the virtual server
Administration password:Set a Strong Password
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
Go to virtualmin (http://example.com:10000 )
Webmin > Server > Mysql database server > user permission tab > Select user
and save it
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
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'.
The Tiki Wiki is using the LGPL License. Click 'Continue' to agree to its license agreement.
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'.
Select Use Existing connection
Once all installation is completed, you will get the result as below.
Next, click 'Continue' again to configure your Tiki Wiki installation
Configure your Tiki Wiki installation as you need and click 'Continue'.
And you will get the Tiki Wiki Installation Notes as below.
Click 'Continue' again, and you will get the page as below.
Click the button 'Enter Tiki and Lock Installer'.
you will get the Tiki Wiki HomePage as below.
Tiki Wiki Admin Dashboard looks like.
Virtualmin > Server Configuration > SSL certificate> Lets encrypt > Request certificate
To access the administration
{http://example.com/tiki-admin.php}
Control Panels > Security > General security >"check" Protect all sessions with HTTPS > Apply the changes
Virtualmin > Edit User > Add a new user to this server
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
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).
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
|
|||
Lines: 1-4 | Lines: 1-4 | ||
!! __How To Install Virtualmin__ | !! __How To Install Virtualmin__ | ||
- | __Install Webmin and |
+ | __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-11 | Lines: 7-11 | ||
bash install-virtualmin.sh|| | bash install-virtualmin.sh|| | ||
- | + | __First install all dependencies :-__ | |
||apt-get ~~#09F:update~~ | ||apt-get ~~#09F:update~~ | ||
Lines: 14-26 | Lines: 14-26 | ||
- | __Installation of tiki-manager and |
+ | __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 |
+ | __2.go to this directory :-__ |
||cd tiki-manager|| | ||cd tiki-manager|| | ||
- | __3.install |
+ | __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-33 | Lines: 29-33 | ||
||composer require symfony/console|| | ||composer require symfony/console|| | ||
- | __Create Tiki Instance through |
+ | __Create Tiki Instance through CLI :-__ |
__1.__ Create Domain | __1.__ Create Domain | ||
Lines: 36-40 | Lines: 36-40 | ||
||php tiki-manager.php instance:create|| | ||php tiki-manager.php instance:create|| | ||
- | + | --type=local | |
--web url=http://manager.tiki.org | --web url=http://manager.tiki.org | ||
--name=manager.tiki.org | --name=manager.tiki.org | ||
Lines: 52-61 | Lines: 52-95 | ||
- | __Database setup(do this setup after selecting branch while creating instance)__ |
+ | __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 |
{wikidiff object_id="How to install WikiSuite" oldver="26" newver="27" diff_style="sidediff" show_version_info="y"}