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
sudo chown -R user:user /folder/* |
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
# Open config by user. | |
sudo nano /var/cpanel/userdata/USERNAME/DOMAINNAME.COM | |
# Change root directory. | |
documentroot: /home/USERNAME/public_html/NEW_PATH | |
# Rebuild and restart server. | |
/scripts/rebuildhttpdconf | |
service httpd restart |
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
# Intall Homebrew | |
xcode-select --install | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Alias to open files by SublimeText | |
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime | |
# Instalar Git, PHP 5.6, Composer, Mcrypt | |
brew install git | |
brew tap homebrew/dupes |
NewerOlder