SlideShare a Scribd company logo
1 of 1
commands
========
curl -X POST -H "Content-Type: application/json" -d
'{"email":"joe@doe.com","password":"secret"}' http://localhost/app/laravel/login
curl -X GET http://localhost/app/laravel/api
curl -X GET -H "X-Auth-
Token:a358dafd256cb5b26a944eacc1c7428a97f6d1e079c3f1972696f1bea7fff099"
http://localhost/app/laravel/api
ssh -i Laravel.pem ubuntu@54.69.86.23
sudo chmod 7777 /var/www
sudo service apache2 restart
chmod -R 777 app/storage
   - Installing Apache    -
$ sudo apt-get install apache2
   - Installing Latest PHP    -
$ sudo add-apt-repository ppa:ondrej/php5
$ sudo apt-get update
$ sudo apt-get install php5 libapache2-mod-php5
   - Installing PHP Mcrypt ext.    -
$ sudo apt-get install php5-mcrypt
   - Installing MYSQL    -
$sudo apt-get install mysql-server
   - Installing GIT    -
$ sudo apt-get install git-core
   - Laravel GIT Repo    -
https://github.com/laravel/laravel.git
   - Installing Composer    -
curl -sS https://getcomposer.org/installer | php
Add content and push
====================
echo "My GitHub Page" > index.html
git add index.html
git commit -a -m "First pages commit"
git push origin gh-pages

More Related Content

What's hot

Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestrationbcoca
 
Python from zero to hero (Twitter Explorer)
Python from zero to hero (Twitter Explorer)Python from zero to hero (Twitter Explorer)
Python from zero to hero (Twitter Explorer)Yuriy Senko
 
Breaking Up With Your Data Center Presentation
Breaking Up With Your Data Center PresentationBreaking Up With Your Data Center Presentation
Breaking Up With Your Data Center PresentationTelescope_Inc
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricksbcoca
 
Capifony. Minsk PHP MeetUp #11
Capifony. Minsk PHP MeetUp #11Capifony. Minsk PHP MeetUp #11
Capifony. Minsk PHP MeetUp #11Yury Pliashkou
 
Selenium sandwich-3: Being where you aren't.
Selenium sandwich-3: Being where you aren't.Selenium sandwich-3: Being where you aren't.
Selenium sandwich-3: Being where you aren't.Workhorse Computing
 
Awstats installation
Awstats installationAwstats installation
Awstats installationmsaini542
 
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...Puppet
 
Aegir presentation
Aegir presentationAegir presentation
Aegir presentationMindtrades
 
Application Logging With Logstash
Application Logging With LogstashApplication Logging With Logstash
Application Logging With Logstashbenwaine
 
Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102Heng-Yi Wu
 
ECSをやろうとしました
ECSをやろうとしましたECSをやろうとしました
ECSをやろうとしました晋也 古渡
 
Getting out of Callback Hell in PHP
Getting out of Callback Hell in PHPGetting out of Callback Hell in PHP
Getting out of Callback Hell in PHPArul Kumaran
 
Como construir uma Aplicação que consuma e produza updates no Twitter usando ...
Como construir uma Aplicação que consuma e produza updates no Twitter usando ...Como construir uma Aplicação que consuma e produza updates no Twitter usando ...
Como construir uma Aplicação que consuma e produza updates no Twitter usando ...Cirdes Filho
 

What's hot (19)

Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestration
 
Python from zero to hero (Twitter Explorer)
Python from zero to hero (Twitter Explorer)Python from zero to hero (Twitter Explorer)
Python from zero to hero (Twitter Explorer)
 
Breaking Up With Your Data Center Presentation
Breaking Up With Your Data Center PresentationBreaking Up With Your Data Center Presentation
Breaking Up With Your Data Center Presentation
 
APACHE 2 HTTPS.ppt
APACHE 2 HTTPS.pptAPACHE 2 HTTPS.ppt
APACHE 2 HTTPS.ppt
 
Webscraping with asyncio
Webscraping with asyncioWebscraping with asyncio
Webscraping with asyncio
 
IOS 11 setup with appium latest
IOS 11 setup with appium  latestIOS 11 setup with appium  latest
IOS 11 setup with appium latest
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
 
Capifony. Minsk PHP MeetUp #11
Capifony. Minsk PHP MeetUp #11Capifony. Minsk PHP MeetUp #11
Capifony. Minsk PHP MeetUp #11
 
Selenium sandwich-3: Being where you aren't.
Selenium sandwich-3: Being where you aren't.Selenium sandwich-3: Being where you aren't.
Selenium sandwich-3: Being where you aren't.
 
Awstats installation
Awstats installationAwstats installation
Awstats installation
 
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
PuppetConf 2017: Use Puppet to Tame the Dockerfile Monster- Bryan Belanger, A...
 
Php resque
Php resquePhp resque
Php resque
 
Aegir presentation
Aegir presentationAegir presentation
Aegir presentation
 
Application Logging With Logstash
Application Logging With LogstashApplication Logging With Logstash
Application Logging With Logstash
 
Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102Ruby on Rails Kickstart 101 & 102
Ruby on Rails Kickstart 101 & 102
 
SoftLayer-demoLabV3
SoftLayer-demoLabV3SoftLayer-demoLabV3
SoftLayer-demoLabV3
 
ECSをやろうとしました
ECSをやろうとしましたECSをやろうとしました
ECSをやろうとしました
 
Getting out of Callback Hell in PHP
Getting out of Callback Hell in PHPGetting out of Callback Hell in PHP
Getting out of Callback Hell in PHP
 
Como construir uma Aplicação que consuma e produza updates no Twitter usando ...
Como construir uma Aplicação que consuma e produza updates no Twitter usando ...Como construir uma Aplicação que consuma e produza updates no Twitter usando ...
Como construir uma Aplicação que consuma e produza updates no Twitter usando ...
 

Viewers also liked

SBKR - Resort Presentation - October 2015
SBKR - Resort Presentation - October 2015SBKR - Resort Presentation - October 2015
SBKR - Resort Presentation - October 2015Nita Ajja
 
17 de agosto
17 de agosto17 de agosto
17 de agostoLuchiii3
 
Mision y vision escuela
Mision y vision escuelaMision y vision escuela
Mision y vision escuelajohnny corral
 
Security 4.0 book AVAILABLE NOW
Security 4.0 book AVAILABLE NOWSecurity 4.0 book AVAILABLE NOW
Security 4.0 book AVAILABLE NOWAndrew Bycroft
 
Taller morena di berardini
Taller morena di berardiniTaller morena di berardini
Taller morena di berardinimorenadiberar
 
Mis Vacaciones
Mis VacacionesMis Vacaciones
Mis VacacionesLuchiii3
 
Hª de España.Gabriel Rojas
Hª de España.Gabriel RojasHª de España.Gabriel Rojas
Hª de España.Gabriel Rojasgabriel18rojas
 
Transforming student engagement using mobile technology
Transforming student engagement using mobile technologyTransforming student engagement using mobile technology
Transforming student engagement using mobile technologyCapita FHE
 
Mo358 individual assignment (patrick lee)
Mo358   individual assignment (patrick lee)Mo358   individual assignment (patrick lee)
Mo358 individual assignment (patrick lee)tangmaggie
 
РосКомСвобода - Правила информационной безопасности
РосКомСвобода - Правила информационной безопасностиРосКомСвобода - Правила информационной безопасности
РосКомСвобода - Правила информационной безопасностиArtem Kozlyuk
 
Horario vacaciones navidad pictogramas 2016-2017
Horario vacaciones navidad pictogramas  2016-2017Horario vacaciones navidad pictogramas  2016-2017
Horario vacaciones navidad pictogramas 2016-2017Horizonte Azul Vigo
 
M2 t1 planificador_aamtic.docx
M2 t1 planificador_aamtic.docxM2 t1 planificador_aamtic.docx
M2 t1 planificador_aamtic.docxoritos
 
Presentazione libro "Restare senza un lavoro non è per sempre"
Presentazione libro "Restare senza un lavoro non è per sempre"Presentazione libro "Restare senza un lavoro non è per sempre"
Presentazione libro "Restare senza un lavoro non è per sempre"Scaligera Formazione Scarl
 
Ventajas de vivir en una urbanización
Ventajas de vivir en una urbanizaciónVentajas de vivir en una urbanización
Ventajas de vivir en una urbanizaciónRealiaMadrid
 
JavaOne2015報告またはこれからのJava
JavaOne2015報告またはこれからのJavaJavaOne2015報告またはこれからのJava
JavaOne2015報告またはこれからのJavaなおき きしだ
 
Teatro Romano de Sagunto
Teatro Romano de SaguntoTeatro Romano de Sagunto
Teatro Romano de Saguntoiesjaime2
 

Viewers also liked (18)

SBKR - Resort Presentation - October 2015
SBKR - Resort Presentation - October 2015SBKR - Resort Presentation - October 2015
SBKR - Resort Presentation - October 2015
 
17 de agosto
17 de agosto17 de agosto
17 de agosto
 
Mision y vision escuela
Mision y vision escuelaMision y vision escuela
Mision y vision escuela
 
Deepak Upadhyay CV
Deepak Upadhyay CVDeepak Upadhyay CV
Deepak Upadhyay CV
 
Security 4.0 book AVAILABLE NOW
Security 4.0 book AVAILABLE NOWSecurity 4.0 book AVAILABLE NOW
Security 4.0 book AVAILABLE NOW
 
Taller morena di berardini
Taller morena di berardiniTaller morena di berardini
Taller morena di berardini
 
Mis Vacaciones
Mis VacacionesMis Vacaciones
Mis Vacaciones
 
Animales en extincion
Animales en extincionAnimales en extincion
Animales en extincion
 
Hª de España.Gabriel Rojas
Hª de España.Gabriel RojasHª de España.Gabriel Rojas
Hª de España.Gabriel Rojas
 
Transforming student engagement using mobile technology
Transforming student engagement using mobile technologyTransforming student engagement using mobile technology
Transforming student engagement using mobile technology
 
Mo358 individual assignment (patrick lee)
Mo358   individual assignment (patrick lee)Mo358   individual assignment (patrick lee)
Mo358 individual assignment (patrick lee)
 
РосКомСвобода - Правила информационной безопасности
РосКомСвобода - Правила информационной безопасностиРосКомСвобода - Правила информационной безопасности
РосКомСвобода - Правила информационной безопасности
 
Horario vacaciones navidad pictogramas 2016-2017
Horario vacaciones navidad pictogramas  2016-2017Horario vacaciones navidad pictogramas  2016-2017
Horario vacaciones navidad pictogramas 2016-2017
 
M2 t1 planificador_aamtic.docx
M2 t1 planificador_aamtic.docxM2 t1 planificador_aamtic.docx
M2 t1 planificador_aamtic.docx
 
Presentazione libro "Restare senza un lavoro non è per sempre"
Presentazione libro "Restare senza un lavoro non è per sempre"Presentazione libro "Restare senza un lavoro non è per sempre"
Presentazione libro "Restare senza un lavoro non è per sempre"
 
Ventajas de vivir en una urbanización
Ventajas de vivir en una urbanizaciónVentajas de vivir en una urbanización
Ventajas de vivir en una urbanización
 
JavaOne2015報告またはこれからのJava
JavaOne2015報告またはこれからのJavaJavaOne2015報告またはこれからのJava
JavaOne2015報告またはこれからのJava
 
Teatro Romano de Sagunto
Teatro Romano de SaguntoTeatro Romano de Sagunto
Teatro Romano de Sagunto
 

Similar to Commands

Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門lestrrat
 
WP Weekend #2 - Corcel, aneb WordPress přes Laravel
WP Weekend #2 - Corcel, aneb WordPress přes LaravelWP Weekend #2 - Corcel, aneb WordPress přes Laravel
WP Weekend #2 - Corcel, aneb WordPress přes LaravelBrilo Team
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationJohn Lynch
 
PHP Backdoor: The rise of the vuln
PHP Backdoor: The rise of the vulnPHP Backdoor: The rise of the vuln
PHP Backdoor: The rise of the vulnSandro Zaccarini
 
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Yiwei Ma
 
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!Jeff Jones
 
DevOps in PHP environment
DevOps in PHP environment DevOps in PHP environment
DevOps in PHP environment Evaldo Felipe
 
Control your deployments with Capistrano
Control your deployments with CapistranoControl your deployments with Capistrano
Control your deployments with CapistranoRamazan K
 
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 VersionDebugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 VersionIan Barber
 
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierContinuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierCarlos Sanchez
 
Php through the eyes of a hoster confoo
Php through the eyes of a hoster confooPhp through the eyes of a hoster confoo
Php through the eyes of a hoster confooCombell NV
 
httpd — Apache Web Server
httpd — Apache Web Serverhttpd — Apache Web Server
httpd — Apache Web Serverwebhostingguy
 
Puppet and the HashiStack
Puppet and the HashiStackPuppet and the HashiStack
Puppet and the HashiStackBram Vogelaar
 
Installing Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu InstanceInstalling Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu Instancekamarul kawnayeen
 
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShiftFrom Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShiftEric D. Schabell
 
How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04Sanjary Edu
 

Similar to Commands (20)

Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門
 
Lumen
LumenLumen
Lumen
 
WP Weekend #2 - Corcel, aneb WordPress přes Laravel
WP Weekend #2 - Corcel, aneb WordPress přes LaravelWP Weekend #2 - Corcel, aneb WordPress přes Laravel
WP Weekend #2 - Corcel, aneb WordPress přes Laravel
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Puppet Camp 2012
Puppet Camp 2012Puppet Camp 2012
Puppet Camp 2012
 
PHP Backdoor: The rise of the vuln
PHP Backdoor: The rise of the vulnPHP Backdoor: The rise of the vuln
PHP Backdoor: The rise of the vuln
 
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册
 
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!
 
Os Treat
Os TreatOs Treat
Os Treat
 
DevOps in PHP environment
DevOps in PHP environment DevOps in PHP environment
DevOps in PHP environment
 
Control your deployments with Capistrano
Control your deployments with CapistranoControl your deployments with Capistrano
Control your deployments with Capistrano
 
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 VersionDebugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
 
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierContinuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
 
Nginx + PHP
Nginx + PHPNginx + PHP
Nginx + PHP
 
Php through the eyes of a hoster confoo
Php through the eyes of a hoster confooPhp through the eyes of a hoster confoo
Php through the eyes of a hoster confoo
 
httpd — Apache Web Server
httpd — Apache Web Serverhttpd — Apache Web Server
httpd — Apache Web Server
 
Puppet and the HashiStack
Puppet and the HashiStackPuppet and the HashiStack
Puppet and the HashiStack
 
Installing Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu InstanceInstalling Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu Instance
 
From Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShiftFrom Code to Cloud - PHP on Red Hat's OpenShift
From Code to Cloud - PHP on Red Hat's OpenShift
 
How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04
 

Commands

  • 1. commands ======== curl -X POST -H "Content-Type: application/json" -d '{"email":"joe@doe.com","password":"secret"}' http://localhost/app/laravel/login curl -X GET http://localhost/app/laravel/api curl -X GET -H "X-Auth- Token:a358dafd256cb5b26a944eacc1c7428a97f6d1e079c3f1972696f1bea7fff099" http://localhost/app/laravel/api ssh -i Laravel.pem ubuntu@54.69.86.23 sudo chmod 7777 /var/www sudo service apache2 restart chmod -R 777 app/storage    - Installing Apache    - $ sudo apt-get install apache2    - Installing Latest PHP    - $ sudo add-apt-repository ppa:ondrej/php5 $ sudo apt-get update $ sudo apt-get install php5 libapache2-mod-php5    - Installing PHP Mcrypt ext.    - $ sudo apt-get install php5-mcrypt    - Installing MYSQL    - $sudo apt-get install mysql-server    - Installing GIT    - $ sudo apt-get install git-core    - Laravel GIT Repo    - https://github.com/laravel/laravel.git    - Installing Composer    - curl -sS https://getcomposer.org/installer | php Add content and push ==================== echo "My GitHub Page" > index.html git add index.html git commit -a -m "First pages commit" git push origin gh-pages