This file contains hidden or 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
| # Creating passwordless user | |
| sudo adduser --home '/home/bry' --disabled-login --gecos 'Bryan' bry | |
| # Making user's default group www-data | |
| sudo usermod -g www-data bry | |
| # We shoud generate a deploy key | |
| sudo su - bry | |
| ssh-keygen -t rsa -b 4096 -C "bry@server" | |
| cat .ssh/id_rsa.pub |
This file contains hidden or 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
| # Reenabling blocked repos | |
| vim /etc/yum/pluginconf.d/search-disabled-repos.conf | |
| # set notify_only to zero | |
| # notify_only=0 | |
| # So now you can install all the dependencies for laravel | |
| yum --enablerepo=remi,remi-php72 install php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongodb php-pecl-memcache php-pecl-memcached | |
| yum --enablerepo=remi,remi-php72 install php-gd php-mbstring php-mcrypt php-xml php-pecl-imagick | |
| yum --enablerepo=remi,remi-php72 install php-pecl-zip |
This file contains hidden or 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
| a:focus, | |
| a:active, | |
| button:focus, | |
| button:active, | |
| div:focus, | |
| div:active, | |
| select:focus, | |
| select:active, | |
| video:focus, | |
| video:active |
This file contains hidden or 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
| #!bash | |
| # Removing apache from autostart | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist | |
| brew tap homebrew/services | |
| # Installing NGINX | |
| brew install nginx | |
| # Adding NGINX to autostart | |
| ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents |
NewerOlder