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?
# 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)
1. Create Domain
2.Create virtual server with same domain name via Virtualmin
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
and save it
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