instance 1 dedicated core 1.75 GB RAM Free phone support In Singapore: 1800 622 1283 Go on, sign up, and spin up a server Let's use Ubuntu 12.04 bit.ly/azureSG
SERVICE LIKE HEROKU? tl;dr—it's a balancing act between advantages of abstraction layers Extremely easy setup, trivial scaling, etc. Configurability, determinism in performance, etc. Services like Azure, EC2, etc., a sweet spot
your public key into the a u t h o r i z e d _ k e y s file Allows you to login to your server with better security than a simple password But recommended that you password protect your private key m k d i r ~ / . s s h v i m ~ / . s s h / a u t h o r i z e d _ k e y s c h m o d g o - w ~ / . s s h c h m o d 6 0 0 ~ / . s s h / a u t h o r i z e d _ k e y s
Debian/Ubuntu uses the a p t package manager Same purpose, just different tools on different systems $ a p t - g e t i n s t a l l a p p - n a m e $ a p t - g e t r e m o v e a p p - n a m e $ a p t - c a c h e s e a r c h a p p - n a m e $ a p t - g e t u p d a t e $ a p t - g e t m o o
p a c h e 2 / s i t e s - a v a i l a b l e < V i r t u a l H o s t * : 8 0 > S e r v e r A d m i n y o u @ y o u r - d o m a i n . c o m D o c u m e n t R o o t / u s e r s / y o u / y o u r - d o m a i n . c o m S e r v e r N a m e y o u r - d o m a i n . c o m S e r v e r A l i a s w w w . y o u r - d o m a i n . c o m < / V i r t u a l H o s t > [ s u d o ] a 2 e n s i t e [ s u d o ] a 2 d i s s i t e [ s u d o ] l n - s . . / s i t e s - a v a i l a b l e / m y h o s t . c o n f .
FILE? Database supports indexing Allows you to search for records Think of the database as a giant Excel spreadsheet that allows you to retrieve information really quickly
= 0 ; $ l i s t = a r r a y ( 1 , 2 , 3 , 4 , 5 ) ; f o r e a c h ( $ l i s t a s $ i t e m ) { $ t o t a l + = $ i t e m ; } i f ( < c o n d i t i o n > ) { / / d o s o m e t h i n g } e l s e { / / d o s o m e t h i n g e l s e }