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://00.000.000.000:10000
apt-get update
apt-get upgrade
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)
Virtualmn > Create Virtual Server > Fill Details > Create Server
Domain name: fhgfdgdf
Description: ghfdfgh
Administration password: fdgdfg
instance:create
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
Go to virtualmin (0.0.0.0:10000 )
Webmin > Server > Mysql database server > user permission tab > Select user
and save it
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
Virtualmin > Edit User > Add a new user to this server
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