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.
Then run
#Go To This URL curl -o install-virtualmin.sh https://gitlab.com/wikisuite/virtualmin-installer/-/raw/master/install-virtualmin.sh #Run this Commnad bash install-virtualmin.sh
apt-get update
apt-get upgrade
sudo apt install php php-tidy php-pear php-gd php-xmlrpc php-mbstring libapache2-mod-php php-mysql php-apcu php-curl php-intl php-sqlite3 php-zip php-memcache php-pspell php-zip php-memcached php-pear php-common php-intl php7.4-opcache php-xml php-zip composer php-bz2 git unzip sqlite3 php php-pdo rsync composer curl memcached poppler-utils bsdmainutils catdoc elinks man-db odt2txt pstotext unzip apache2 mysql-server mysql-client php-bz2~~
1. Install Tiki Manager :-
# 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
2. Install composer :-
curl https://getcomposer.org/composer.phar > composer.phar php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === 'c31c1e292ad7be5f49291169c0ac8f683499edddcfd4e42232982d0fd193004208a58ff6f353fde0012d35fdd72bc394') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
composer require symfony/finder
composer require symfony/console
1. Create Domain
2.Create virtual server with same domain name via virtualmin
php tiki-manager.php instance:create type=local web url=http://manager.tiki.org name=manager.tiki.org email=manager@example.org webroot=/www/manager tempdir=/tmp/trim_temp backup-user=www-data backup-group=www-data backup-permission=750 branch=git : 21.x db-host=localhost db-user=root db-pass=secret db-prefix=manager
php tiki-manager.php instance:create --type=local --url=http://manager.tiki.org --name=manager.tiki.org --email=manager@example.org --webroot=/www/manager --tempdir=/tmp/trim_temp --branch=branches/19.x --backup-user=www-data --backup-group=www-data --backup-permission=750 --db-host=localhost --db-user=root --db-pass=secret --db-prefix=manager
and save it
once done
SMTP_HOST= SMTP_PORT= SMTP_USER= SMTP_PASS=
Lines: 1-4 | Lines: 1-4 | ||
!! __How To Install Virtualmin__ | !! __How To Install Virtualmin__ | ||
- | __Install Webmin and |
+ | __Install Webmin and Virtualmin :-__ |
Download Virtualmin using the below script. It is basically a shell script that will handle rest of the installation once executed. | Download Virtualmin using the below script. It is basically a shell script that will handle rest of the installation once executed. | ||
Then run | Then run | ||
Lines: 7-11 | Lines: 7-11 | ||
bash install-virtualmin.sh|| | bash install-virtualmin.sh|| | ||
- | + | __First install all dependencies :-__ | |
||apt-get ~~#09F:update~~ | ||apt-get ~~#09F:update~~ | ||
Lines: 14-26 | Lines: 14-26 | ||
- | __Installation of tiki-manager and |
+ | __Installation of tiki-manager and composer :-__ __1.clone directory :-__ |
||git clone - - depth 1 --branch master https://gitlab.com/tikiwiki/tiki-manager.git|| | ||git clone - - depth 1 --branch master https://gitlab.com/tikiwiki/tiki-manager.git|| | ||
- | __2.go to this |
+ | __2.go to this directory :-__ |
||cd tiki-manager|| | ||cd tiki-manager|| | ||
- | __3.install |
+ | __3.install composer :-__ |
||curl https://getcomposer.org/composer.phar > composer.phar | ||curl https://getcomposer.org/composer.phar > composer.phar | ||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | ||
Lines: 29-33 | Lines: 29-33 | ||
||composer require symfony/console|| | ||composer require symfony/console|| | ||
- | __Create Tiki Instance through |
+ | __Create Tiki Instance through CLI :-__ |
__1.__ Create Domain | __1.__ Create Domain | ||
Lines: 36-40 | Lines: 36-40 | ||
||php tiki-manager.php instance:create|| | ||php tiki-manager.php instance:create|| | ||
- | + | --type=local | |
--web url=http://manager.tiki.org | --web url=http://manager.tiki.org | ||
--name=manager.tiki.org | --name=manager.tiki.org | ||
Lines: 52-61 | Lines: 52-95 | ||
- | __Database setup(do this setup after selecting branch while creating instance)__ |
+ | __Database setup(do this setup after selecting branch while creating instance) :-__*Go to webmin*Selectservers tab*Select mysql database server *Go to select user permission tab *Select user tab*Give permission to all |
and save it | and save it | ||
+ | __Configure SSL :-__ | ||
+ | *Go to virtualmin search ssl certificate | ||
+ | *Go to lets encrypt tab | ||
+ | *Request certificate | ||
+ | once done | ||
+ | *go to (tiki-admin.php) Page | ||
+ | *search "Protect all sessions" activate it. | ||
+ | __Setup Mail :-__ | ||
+ | *Login in gandi.net | ||
+ | *go to email tab (up to 5 @wikisuite.net accounts can be created for free) | ||
+ | *Create Mail Account via Virtualmin | ||
+ | *Login in Virtualmin | ||
+ | *go to edit user section | ||
+ | and | ||
+ | *add a user to this server | ||
+ | __Configure email account to Tiki's webmail :-__ | ||
+ | * Go to (tiki-admin.php) Page | ||
+ | *search webmail in controls panel 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= | ||
+ | *Provide the credential and save it |
{wikidiff object_id="How to install WikiSuite" oldver="26" newver="27" diff_style="sidediff" show_version_info="y"}