If you are a developer, you may prefer to go directly to the source code.
You should point your domain name(s) to your server before your proceed. Even better is to point a wildcard subdomain. For example, we want all traffic to dev1.wikisuite.org or *.dev1.wikisuite.org as this makes it easy to create many projects, such as
You'll want something like this:
dev1 | A record | (put your IP address here) |
*.dev1 | CNAME | dev1.wikisuite.org. |
More info at Set up your domain name
You should have a fresh instance of Ubuntu 20.04 LTS. It should work with Ubuntu 18.04 LTS and Debian 9 and 10 but this has not yet been tested. CentOS support is planned and we are following discussions about CentOS vs CentOS Stream support in Virtualmin
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
curl -o install-virtualmin.sh https://gitlab.com/wikisuite/virtualmin-installer/-/raw/master/install-virtualmin.sh
nano 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.org:10000 (GUI is at port 10000)
apt-get update
apt-get upgrade
sudo curl -s -L 'https://gitlab.com/wikisuite/tiki-manager-for-virtualmin/-/raw/master/tikimanager.pl' -o /usr/share/webmin/virtual-server/scripts/tikimanager.pl
Next steps:
Virtualmin > Create Virtual Server
For more info: https://www.virtualmin.com/documentation/tutorial/virtual-server-basics
Suppose your desired domain is example.org, use the following pattern:
Create a Virtual Server for manager.example.org
And then, a Sub-Server for example.org
Domain name (This will be for Tiki Manager): manager.example.org
Administration username (pick a descriptive word for that domain): example
Administration password: Set a Strong Password (if not, you will very likely get hacked)
Domain name (This will be for your site): example.org
No need to pick username and password like above because user you created can access both.
If a domain name is valid, free SSL (for https://) certificates from Let's Encrypt are automatically created.
So now, you should be able to visit both manager.example.org and example.org and see a placeholder page. If domain name is not set up, you can Preview Website via Virtualmin
Why not have example.org as the Virtual Server and manager.example.org as the Sub-Server? You could but it makes things more complicated later
Virtualmin has many other features like domain alias, domain rename, etc.
For more info, please see: https://doc.tiki.org/Manager
So now, you need to log in using SSH with the user you just created (and not as root)
1. Install Tiki Manager
Following on above, you will end up in a directory like /home/example/:
$ cd tiki-manager
$ 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)
More info: https://doc.tiki.org/Tiki-Manager-Web-UI
As of 2020-12-29, the web interface can't be used to install Tiki on Virtualmin (it assumes you are using root user for MySQL, which is not the case). Until this is resolved, you need to use the command line interface to install. However, you can use the web interface for other operations like upgrades and backups.
cd /home/example/tiki-manager/ php tiki-manager.php webmanager:enable
Recommended answers:
Virtualmin > file manager > Home > example > public_html
So now Tiki Manager will be accessible at manager.example.org, but the Virtualmin default page is still shown because index.htm takes precedence over index.php. So use the Virtualmin file manager to delete index.html (we will later improve install script so this is no longer necessary)
So now to install Tiki, you need a database. Virtualmin actually already created one for you.
Here is video to give you an idea of the process, how to get database details
Now, Tiki Manager will create a fresh Tiki instance fetching files from Git, and using database mentioned above.
For more info, please see: https://doc.tiki.org/manager#instance
php tiki-manager.php instance:create
Recommended answers:
Here is video to give you an idea of the process, but you should use recommended answers above
After you have answered all the questions, it will take quite some time to install your Tiki. Perhaps 20-30 minutes or more, depending on your context. Just be patient and let it run.
You will get the Tiki HomePage as below.
Login with
u: admin
p: admin
And follow the instructions to set a strong password.
The Tiki Admin Dashboard looks like this:
$ php apt-get install unoconv
For more info: https://doc.tiki.org/unoconv