Bug: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:Host = Blitzinstallation = <syntaxhightlight lang="bash"> apt-get update && apt-get -y install wget rsync sudo vi /etc/sudoers wget -O /tmp/basi…“) |
(→PHP) |
||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
= Blitzinstallation = | = Blitzinstallation = | ||
< | |||
<syntaxhighlight lang="bash"> | |||
apt-get update && apt-get -y install wget rsync sudo | apt-get update && apt-get -y install wget rsync sudo | ||
vi /etc/sudoers | vi /etc/sudoers | ||
Zeile 8: | Zeile 9: | ||
bash /tmp/basic_install.sh | bash /tmp/basic_install.sh | ||
restoretool -v3 init linuxserver | restoretool -v3 init linuxserver | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang="bash"> | |||
apt install nfs-kernel-server | |||
</syntaxhighlight> | |||
* /etc/exportfs (auf dromedar) | |||
<pre> | |||
/home 75.144.134.19(ro,async,no_root_squash,subtree_check) | |||
</pre> | |||
</pre> | |||
* /etc/fstab: | |||
<pre> | |||
173.212.231.221:/home /media/dromedar/home nfs auto,ro,rsize=8192,wsize=8192,hard,intr 0 1 | |||
</pre> | |||
== PHP == | |||
<syntaxhighlight lang="bash"> | |||
apt install gnupg ca-certificates | |||
echo "deb https://packages.sury.org/php/ bullseye main" > /etc/apt/sources.list.d/php.list | |||
apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg' | |||
PHP_VERSION=8.2 | |||
apt update && apt install php$PHP_VERS-cli php$PHP_VERS-common php$PHP_VERS-curl php$PHP_VERS-fpm php$PHP_VERS-gd \ | |||
php$PHP_VERS-mbstring php$PHP_VERS-mysql php$PHP_VERS-phpdbg php$PHP_VERS-readline \ | |||
php$PHP_VERS-xdebug php$PHP_VERS-xml php$PHP_VERS-intl php$PHP_VERS-opcache | |||
</syntaxhighlight> |
Aktuelle Version vom 3. Juni 2023, 05:00 Uhr
Blitzinstallation[Bearbeiten]
apt-get update && apt-get -y install wget rsync sudo
vi /etc/sudoers
wget -O /tmp/basic_install.sh https://public.hamatoma.de/basic_install.sh
bash /tmp/basic_install.sh
restoretool -v3 init linuxserver
apt install nfs-kernel-server
- /etc/exportfs (auf dromedar)
/home 75.144.134.19(ro,async,no_root_squash,subtree_check)
- /etc/fstab:
173.212.231.221:/home /media/dromedar/home nfs auto,ro,rsize=8192,wsize=8192,hard,intr 0 1
PHP[Bearbeiten]
apt install gnupg ca-certificates
echo "deb https://packages.sury.org/php/ bullseye main" > /etc/apt/sources.list.d/php.list
apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg'
PHP_VERSION=8.2
apt update && apt install php$PHP_VERS-cli php$PHP_VERS-common php$PHP_VERS-curl php$PHP_VERS-fpm php$PHP_VERS-gd \
php$PHP_VERS-mbstring php$PHP_VERS-mysql php$PHP_VERS-phpdbg php$PHP_VERS-readline \
php$PHP_VERS-xdebug php$PHP_VERS-xml php$PHP_VERS-intl php$PHP_VERS-opcache