linux_config_scripts/webdev_workspace.sh
2020-12-06 01:49:23 +03:00

35 lines
1.2 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
echo 'обновление системы'
dnf update -y
echo 'установка софта из штатного репозитория'
dnf install krusader wget nginx htop mc kate remmina git keepassx -y
echo 'подключение flatpak и установка софта из его репозитория'
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install org.telegram.desktop org.qbittorrent.qBittorrent com.visualstudio.code -y
# echo 'установка Firefox Developer Edition'
# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# flatpak install --from https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxDevEdition.flatpakref -y
echo 'компоненты php'
dnf install php php-mbstring php-mysqlnd php-pgsql php-fpm php-common composer -y
echo 'запуск nginx'
systemctl enable --now nginx
systemctl enable --now php-fpm.service
echo 'mysql-mariadb'
dnf install mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
echo 'PostGre SQL'
dnf install postgresql postgresql-server -y
postgresql-setup initdb
systemctl start postgresql
# отдельная установка: docker, phpstorm, pycharm, navicat