Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
| Порівняння попередніх версій Попередня ревізія Наступна ревізія | Попередня ревізія | ||
|
software:os:debian_cloud [2017/12/28 19:50] charon |
software:os:debian_cloud [2018/11/07 17:38] (поточний) charon |
||
|---|---|---|---|
| Рядок 10: | Рядок 10: | ||
| sudo sh -c 'echo "deb https:// | sudo sh -c 'echo "deb https:// | ||
| + | # Update installed packages | ||
| sudo apt-get update | sudo apt-get update | ||
| sudo apt-get -y upgrade | sudo apt-get -y upgrade | ||
| + | |||
| + | # Add locales | ||
| sudo sed -e 's/# uk_UA.UTF-8/ | sudo sed -e 's/# uk_UA.UTF-8/ | ||
| -e 's/# de_CH.UTF-8/ | -e 's/# de_CH.UTF-8/ | ||
| Рядок 18: | Рядок 21: | ||
| -e 's/# fr_FR.UTF-8/ | -e 's/# fr_FR.UTF-8/ | ||
| sudo locale-gen | sudo locale-gen | ||
| + | |||
| sudo timedatectl set-timezone Europe/ | sudo timedatectl set-timezone Europe/ | ||
| sudo apt-get -y install aptitude packagekit vim-nox curl mc tcsh pv multitail tmux tree htop build-essential software-properties-common git apt-file | sudo apt-get -y install aptitude packagekit vim-nox curl mc tcsh pv multitail tmux tree htop build-essential software-properties-common git apt-file | ||
| - | sudo apt-get -y install apache2 libapache2-mod-php7.1 php7.1-mbstring php7.1-xml php7.1-bcmath php7.1-mysql php7.1-curl php7.1-intl php7.1-cli php-redis php7.1-mcry | + | sudo apt-get -y install apache2 libapache2-mod-php7.1 php7.1-mbstring php7.1-xml php7.1-bcmath php7.1-mysql php7.1-curl php7.1-intl php7.1-cli php-redis php7.1-mcrypt |
| - | pt php7.1-gd php7.1-json | + | |
| + | # Add php config | ||
| + | sudo touch / | ||
| cat <<EOT |sudo tee / | cat <<EOT |sudo tee / | ||
| date.timezone = Europe/ | date.timezone = Europe/ | ||
| Рядок 31: | Рядок 36: | ||
| error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | ||
| EOT | EOT | ||
| - | |||
| - | sudo touch / | ||
| sudo ln -s / | sudo ln -s / | ||
| + | sudo ln -s / | ||
| + | |||
| + | # Enable additional Apache modules | ||
| sudo a2enmod rewrite | sudo a2enmod rewrite | ||
| + | sudo a2enmod ssl | ||
| sudo a2enmod php7.1 | sudo a2enmod php7.1 | ||
| sudo systemctl restart apache2.service | sudo systemctl restart apache2.service | ||
| + | |||
| + | #Configure git | ||
| + | #git config --global user.name "Simon Sur" | ||
| + | #git config --global user.email " | ||
| + | #git config --global core.editor vim | ||
| + | #git config --global alias.ci commit | ||
| + | #git config --global alias.co checkout | ||
| + | echo Please, configure git! | ||
| </ | </ | ||
| Создать ssh-ключ: | Создать ssh-ключ: | ||
| < | < | ||
| - | ssh-keygen -t rsa | + | ssh-keygen -t rsa -b 4096 -C " |
| </ | </ | ||
| Закинуть его в Bitbucket | Закинуть его в Bitbucket | ||
| + | |||
| + | @TODO: настройка баша? | ||