History: How to install WikiSuite
Preview of version: 76
system
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
apt-get update
apt-get upgrade
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?
$ 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)
Create Virtual Server
Virtualmn > Create Virtual Server > Fill Details > Create Server
Domain name: fhgfdgdf
Description: ghfdfgh
Administration password: fdgdfg
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/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 )
Webmin > Server > Mysql database server > user permission tab > Select user
- Give permission to all
and save it
Configure SSL
Virtualmin > Server Configuration > SSL certificate> Lets encrypt > Request certificate
go to {http://example.com/tiki-admin.php}
Control Panels > Security > General security >"check" Protect all sessions with HTTPS > Apply the changes
Setup Mail
Virtualmin > Edit User > Add a new user to this server
Configure email account to Tiki's webmail
- Go to Control Panel in tiki-admin Page
- click on advance button 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=
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