If you are a developer, you may prefer to go directly to the source code.
- abc.test.wikisuite.org
- def.test.wikisuite.org
- etc.
You'll want something like this:
test | A record | (put your IP address here) |
*.test | CNAME | test.wikisuite.org. |
More info at Set up your domain name
Webmin is a web tool to facilitate server management. Virtualmin extends Webmin with a focus on shared hosting, which allows multiple instances of Tiki Wiki CMS Groupware that are clearly segmented.
Installing WikiSuite automatically installs all the necessary packages and Webmin which itself automatically installs Virtualmin (both configured for optimal settings for WikiSuite components, see here the Differences from the original script ).
You should have a fresh instance of Debian 10 or Ubuntu 20.04 LTS. It should work with Ubuntu 18.04 LTS and Debian 9 but this has not yet been tested. CentOS and Rocky Linux support is planned and we are following discussions about CentOS vs CentOS Stream support in Virtualmin. Expect full support for Debian 11 once the Virtualmin team adapts the software.
If you have an unreliable internet connection, you should use tmux or something similar. (So you can launch some commands, and they continue running even if you are disconnected).
Log in to your server via SSH with the root user. In some cases, your host may not provide you a root access to directly login to. This is why commands which require root are pre-fixed by sudo.
Then:
sudo apt-get update && apt-get upgrade
sudo apt-get install curl
hostnamectl set-hostname machine.name
curl -o install-virtualmin.sh https://gitlab.com/wikisuite/virtualmin-installer/-/raw/master/install-virtualmin.sh
nano install-virtualmin.sh
sudo bash install-virtualmin.sh
A web URL for accessing Virtualmin will be provided after installation is complete Ex: https://example.org:10000 (GUI is at port 10000)
If you are getting SSL errors: Virtualmin -> Select base domain -> Server Configuration -> SSL Certificate -> Let's Encrypt -> Request Certificate
Updates: The system default is to auto update weekly. You can change this in the Virtualmin admin panel.
This could be a good time to reboot your server, and make sure it restarts fine.
sudo reboot
Next steps:
Go to Ex: https://example.org:10000
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. If you'll add the domain later, you can get SSL later: Virtualmin -> Select base domain -> Server Configuration -> SSL Certificate -> Let's Encrypt -> Request Certificate
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 Tiki Manager docs.
1. Install Tiki Manager
Go to Ex: https://example.org:10000
Virtualmin > manager.example.org
Once the installation is complete, it will indicate your login URL. Ex.: http://manager.example.org
More info: Documentation of Tiki Manager's web UI
So now Tiki Manager will be accessible at manager.example.org
As of 2021-07-17, the web interface can be used to install Tiki on Virtualmin but it is less stable. You may prefer to use the command line version.
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 the instance section of the documentation of Tiki Manager
So now, you need to log in using SSH with the user you just created (and not as root)
cd /home/example/tiki-manager
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: