Added document fixes
This commit is contained in:
16
docs/docs/extensions/php-cli-selector.md
Normal file
16
docs/docs/extensions/php-cli-selector.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# PHP cli selector
|
||||
|
||||
PHP cli selector replace system php - `/usr/bin/php` with link to the tool, which analyze HestiaCP config for user and exec needed for user php.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
# readlink -f /usr/bin/php
|
||||
/usr/bin/hestiacp-php-selector
|
||||
```
|
||||
By default php cli selector disbaled and system php points to default php binary.
|
||||
For enabling PHP cli selector got ot "Server Options"->"Options"->"Web-server".
|
||||
Find selector "System PHP" and under the selector set checkbox "Use PHP cli selector".
|
||||
|
||||

|
||||
|
||||
@@ -27,12 +27,9 @@ We currently do not support i386 or ARM7-based processors.
|
||||
|
||||
### Supported operating systems
|
||||
|
||||
- Debian 10, 11 or 12
|
||||
- Ubuntu 20.04 or 22.04
|
||||
|
||||
::: warning
|
||||
Hestia does not support non-LTS Operating systems. If you install it on, for example, Ubuntu 21.10, you will not receive support from us.
|
||||
:::
|
||||
- MSVSphere 9
|
||||
- AlmaLinux 9
|
||||
- Rocky Linux 9
|
||||
|
||||
## Regular installation
|
||||
|
||||
@@ -49,7 +46,7 @@ wget https://dev.brepo.ru/bayrepo/hestiacp/raw/branch/master/install/hst-install
|
||||
If the download fails due to an SSL validation error, please be sure you've installed the ca-certificate package on your system - you can do this with the following command:
|
||||
|
||||
```bash
|
||||
apt-get update && apt-get install ca-certificates
|
||||
yum install ca-certificates
|
||||
```
|
||||
|
||||
### Step 2: Run
|
||||
@@ -81,33 +78,35 @@ An easier way to choose your installation options is by using the [Install strin
|
||||
To choose what software gets installed, you can provide flags to the installation script. You can view the full list of options below.
|
||||
|
||||
```bash
|
||||
-a, --apache Install Apache [yes | no] default: yes
|
||||
-w, --phpfpm Install PHP-FPM [yes | no] default: yes
|
||||
-o, --multiphp Install Multi-PHP [yes | no] default: no
|
||||
-v, --vsftpd Install Vsftpd [yes | no] default: yes
|
||||
-j, --proftpd Install ProFTPD [yes | no] default: no
|
||||
-k, --named Install Bind [yes | no] default: yes
|
||||
-m, --mysql Install MariaDB [yes | no] default: yes
|
||||
-M, --mysql-classic Install Mysql8 [yes | no] default: no
|
||||
-g, --postgresql Install PostgreSQL [yes | no] default: no
|
||||
-x, --exim Install Exim [yes | no] default: yes
|
||||
-z, --dovecot Install Dovecot [yes | no] default: yes
|
||||
-Z, --sieve Install Sieve [yes | no] default: no
|
||||
-c, --clamav Install ClamAV [yes | no] default: yes
|
||||
-t, --spamassassin Install SpamAssassin [yes | no] default: yes
|
||||
-i, --iptables Install Iptables [yes | no] default: yes
|
||||
-b, --fail2ban Install Fail2ban [yes | no] default: yes
|
||||
-q, --quota Filesystem Quota [yes | no] default: no
|
||||
-d, --api Activate API [yes | no] default: yes
|
||||
-r, --port Change Backend Port default: 8083
|
||||
-l, --lang Default language default: en
|
||||
-y, --interactive Interactive install [yes | no] default: yes
|
||||
-s, --hostname Set hostname
|
||||
-e, --email Set admin email
|
||||
-p, --password Set admin password
|
||||
-D, --with-debs Path to Hestia debs
|
||||
-f, --force Force installation
|
||||
-h, --help Print this help
|
||||
-a, --apache Install Apache [yes|no] default: yes
|
||||
-w, --phpfpm Install PHP-FPM [yes|no] default: yes
|
||||
-o, --multiphp Install Multi-PHP [yes|no] default: no
|
||||
-v, --vsftpd Install Vsftpd [yes|no] default: yes
|
||||
-j, --proftpd Install ProFTPD [yes|no] default: no
|
||||
-k, --named Install Bind [yes|no] default: yes
|
||||
-m, --mysql Install MariaDB [yes|no] default: yes
|
||||
-M, --mysql-classic Install MySQL 8 [yes|no] default: no
|
||||
-g, --postgresql Install PostgreSQL [yes|no] default: no
|
||||
-x, --exim Install Exim [yes|no] default: yes
|
||||
-z, --dovecot Install Dovecot [yes|no] default: yes
|
||||
-Z, --sieve Install Sieve [yes|no] default: no
|
||||
-c, --clamav Install ClamAV [yes|no] default: no
|
||||
-t, --spamassassin Install SpamAssassin [yes|no] default: yes
|
||||
-i, --iptables Install Iptables [yes|no] default: yes
|
||||
-b, --fail2ban Install Fail2ban [yes|no] default: yes
|
||||
-q, --quota Filesystem Quota [yes|no] default: no
|
||||
-d, --api Activate API [yes|no] default: yes
|
||||
-r, --port Change Backend Port default: 8083
|
||||
-l, --lang Default language default: en
|
||||
-y, --interactive Interactive install [yes|no] default: yes
|
||||
-I, --nopublicip Use local ip [yes|no] default: yes
|
||||
-s, --hostname Set hostname
|
||||
-e, --email Set admin email
|
||||
-p, --password Set admin password
|
||||
-R, --with-rpms Path to Hestia rpms
|
||||
-f, --force Force installation
|
||||
-h, --help Print this help
|
||||
|
||||
```
|
||||
|
||||
#### Example
|
||||
|
||||
@@ -15,8 +15,6 @@ A good starting point for every software is to check the official docs:
|
||||
- For Apache2: [Apache Docs](http://httpd.apache.org/docs/2.4/)
|
||||
- For PHP-FPM: [PHP Docs](https://www.php.net/manual/en/install.fpm.configuration.php)
|
||||
|
||||
You could also try [our Forum](https://forum.hestiacp.com)
|
||||
|
||||
## Can I use HestiaCP behind Cloudflare CDN?
|
||||
|
||||
By default the [Cloudflare Proxy](https://developers.cloudflare.com/fundamentals/get-started/reference/network-ports/) supports only a limited number of ports. This means that Cloudflare will not forward port 8083, which is the default port for Hestia. To change the Hestia port to one that Cloudflare will forward, run this command:
|
||||
|
||||
@@ -13,12 +13,12 @@ Make sure to verify that MariaDB is running on a supported version for the new o
|
||||
Once a backup has been made, update Hestia to the last supported version:
|
||||
|
||||
```bash
|
||||
apt update && apt upgrade
|
||||
yum update
|
||||
```
|
||||
|
||||
Follow system instructions to upgrade your OS. When done, make sure to check that the files in `/etc/apt/sources.list.d` are not hashed out. If they are, remove the hash and run `apt update && apt upgrade` again.
|
||||
|
||||
## Debian 10 Buster to Debian 11 Bullseye
|
||||
## MSVSphere, AlmaLinux, RockyLinux 9
|
||||
|
||||
### SHA512 password encryption
|
||||
|
||||
@@ -37,37 +37,4 @@ cp -f /usr/local/hestia/install/deb/exim/exim4.conf.4.94.template /etc/exim4/exi
|
||||
|
||||
Comment out [line 29](https://github.com/hestiacp/hestiacp/blob/1ff8a4e5207aae1e241954a83b7e8070bcdca788/install/deb/proftpd/proftpd.conf#L29) in `/etc/profpd/prodtpd.conf`.
|
||||
|
||||
## Debian 9 Stretch to Debian 10 Buster
|
||||
|
||||
No issues have been found in the past.
|
||||
|
||||
## Ubuntu 20.04 Focal to Ubuntu 22.04 Jammy
|
||||
|
||||
::: tip
|
||||
Verify that MariaDB is running at least version 10.6. If not, first upgrade to this version in your current operating system! After that, comment out the line in `/etc/apt/sources.list.d/mariadb.list` and then upgrade your OS.
|
||||
:::
|
||||
|
||||
### SHA512 password encryption
|
||||
|
||||
```bash
|
||||
sed -i "s/obscure yescrypt/obscure sha512/g" /etc/pam.d/common-password
|
||||
```
|
||||
|
||||
### Exim4 config
|
||||
|
||||
```bash
|
||||
rm -f /etc/exim4/exim4.conf.template
|
||||
cp -f /usr/local/hestia/install/deb/exim/exim4.conf.4.94.template /etc/exim4/exim4.conf.template
|
||||
```
|
||||
|
||||
### ProFTPD
|
||||
|
||||
Comment out [line 29](https://github.com/hestiacp/hestiacp/blob/1ff8a4e5207aae1e241954a83b7e8070bcdca788/install/deb/proftpd/proftpd.conf#L29) in `/etc/profpd/prodtpd.conf`.
|
||||
|
||||
## Ubuntu 18.04 Bionic to Ubuntu 20.04 Focal
|
||||
|
||||
No issues have been found in the past.
|
||||
|
||||
## Older versions
|
||||
|
||||
We haven’t tested the upgrade paths from Ubuntu 16.04 to Ubuntu 20.04 or Debian 8 Jessy to Debian 10
|
||||
|
||||
Reference in New Issue
Block a user