- Nginx conf is above
- Then, supposing the repository owner is the user git
systemctl enable fcgiwrap@git
systemctl start fcgiwrap@git
systemctl status fcgiwrap@git
| LogFormat "%h %l %u %t \"%m %{REQUEST_SCHEME}x://%v%U%q\" %>s %b \ | |
| \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined |
| #!/bin/bash | |
| # | |
| # It is based on a StackScript found in Linode. | |
| # | |
| #!/bin/bash | |
| rpm -Uvh "https://mirror2-singapore.clearos.com/clearos/7/updates/x86_64/RPMS/clearos-release-7-7.3.v7.x86_64.rpm" | |
| rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-ClearOS-7 |
| # .bashrc | |
| shopt -s histappend | |
| export HISTCONTROL=ignoreboth | |
| export HISTTIMEFORMAT='%F %T ' | |
| export PROMPT_COMMAND="history -a;${PROMPT_COMMAND}" | |
| export GLOBIGNORE="${GLOBIGNORE-'.:..'}" | |
| export EDITOR=vim | |
| export SYSTEMD_PAGER=cat |
| #!/bin/bash | |
| version="20.x" | |
| domain="$1"; | |
| db_host="localhost" | |
| if [ -z "$domain" ]; | |
| then | |
| echo "A domain name is needed" >&2 | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| SELF="${0}" | |
| tiki_path="" | |
| safe_user="root" | |
| safe_group="root" | |
| web_user="$(grep -Eo '^(apache|httpd|wwwrun|www-data)' /etc/passwd)" |
| #!/bin/bash | |
| tiki_name='' | |
| tiki_path='' | |
| bckp_path='' | |
| db_user='' | |
| db_pass='' | |
| db_name='' | |
| db_host='' |
The first thing needed for any development environment is the source code of application to work on.
Tiki has a huge history and this means a huge git repository. So, instead to clone a full Tiki repository for each instance of Tiki website, it is possible to create a central repository and create clones from this local repository.