Skip to content

Instantly share code, notes, and snippets.

@Millon15
Last active December 22, 2019 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Millon15/c4fcc5e557a3b16cd36f90d77219c412 to your computer and use it in GitHub Desktop.
Save Millon15/c4fcc5e557a3b16cd36f90d77219c412 to your computer and use it in GitHub Desktop.
sudo pacman -Syyu
sudo pacman -S vim emacs snapd zsh \
nginx postgresql php php-fpm composer \
peek autojump cowfortune fortune-mod \
tree bat erlang rabbitmq go rust
sudo sed -i 's/^;extension=soap$/extension=soap/' /etc/php/php.ini
sudo sed -i 's/^;extension=pgsql$/extension=pgsql/' /etc/php/php.ini
sudo sed -i 's/^;extension=pdo_pgsql$/extension=pdo_pgsql/' /etc/php/php.ini
sudo sed -i 's/^;extension=intl$/extension=intl/' /etc/php/php.ini
sudo sed -i 's/^;extension=ldap$/extension=ldap/' /etc/php/php.ini
sudo sed -i 's/^;extension=zip$/extension=zip/' /etc/php/php.ini
sudo sed -i 's/^;extension=bcmath$/extension=bcmath/' /etc/php/php.ini
sudo sed -i 's/^;extension=sockets$/extension=sockets/' /etc/php/php.ini
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
### need to reboot ###
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
curl https://gist.githubusercontent.com/Millon15/ed0145bc1eea81cbf357abcff134429d/raw > $HOME/.zshrc
sudo -u postgres -i
initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data/'
# exit
sudo systemctl enable --now postgresql.service
sudo systemctl enable --now php-fpm.service
sudo systemctl enable --now nginx.service
sudo snap install snap-store
sudo snap install --classic phpstorm
sudo snap install --classic sublime-text
sudo snap install --classic chromium
sudo snap install --classic slack
sudo snap install --classic vscode
sudo snap install telegram-desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment