h4. instalando composer globalmente
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
h4. instala laravel globalmente
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
rvm use .... # select the ruby you want to use | |
rvm cron setup # let RMV do your cron settings | |
crontab -e # add a new cronjob |
wp search-replace example.com newexample.com --dry-run |
useradd -m -d /home/mike1 -s /bin/bash -c "the mike1 user" -U mike1 |
sudo service mysql stop | |
sudo mysqld_safe --skip-grant-tables & | |
mysql -u root | |
use mysql; | |
update user set password=PASSWORD("mynewpassword") where User='root'; | |
flush privileges; | |
quit | |
### encerre o mysqld_safe e: | |
sudo service mysql start |
lxc-create -n nomedamaquina -t ubuntu -- --release trusty |
h4. instalando composer globalmente
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
h4. instala laravel globalmente
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install -y nginx | |
sudo apt-get install -y php5-fpm php5-mysql |
Date Completed: Not done yet ~~ April 23rd 2015
Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"