This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install apache2 apache2-utils -yq | |
sudo systemctl enable apache2 | |
sudo systemctl start apache2 | |
sudo apt-get install php libapache2-mod-php php-mysql -yq | |
sudo apt-get install php-curl php-gd php-mbstring php-xml php-xmlrpc -yq | |
sudo a2enmod rewrite | |
sudo systemctl restart apache2 | |
cd /var/www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on " let vim overrule your settings with default syntax | |
syntax enable " if you have $VIM_HOME/syntax/syntax.vim | |
filetype indent plugin on " To use $VIM_HOME/after/ftplugin | |
set nocompatible " no compatible with vi or other vim | |
set encoding=UTF-8 " the encoding displayed " | |
set fileencoding=UTF-8 " The encoding written to file " | |
set showcmd " Always show command line " | |
set cmdheight=2 " Command line height is 2 " | |
set laststatus=2 " Always display the status line " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DEFAULT_USER="$(whoami)" | |
export PATH=~/.composer/vendor/bin:$PATH | |
# Alias for composer | |
alias cr=composer | |
alias cri="composer install" | |
alias crd="composer dump-autoload" | |
alias cru="composer update" | |
# Alias for artisan commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-01-29T09:00:59.907Z","extensionVersion":"v3.4.3"} |