Web. Dev.
Environment
Basic setup
UBUNTU 13.04 BASED
(2013.10)
Why? Just mine habits…
UBUNTU
Python
PHP
NodeJS
Java
WINDOWS
Python
PHP
NodeJS
Java
C#
Windows steps
Actually pretty obvious, please share your configuration steps
Ubuntu
Developer needed
Git
Lamp Stack
NodeJS stack
Development IDEs
Helpful
RabbitVCS
Xclip (console to keyboard)
Doxygen...
IMPORTANT
For software that targets specific Ubuntu version:
If you are using Ubuntu 12.10 apt repositories names
usually ...
Development
needed…
CONFIGURE ENVIRONMENT
Git
sudo apt-get install git
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@...
Lamp stack (my choice)
#? apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get ...
NodeJS Stack
SIMPLE
sudo apt-get install nodejs
node -v
CUSTOM VERSION
sudo apt-get install python-software-properties
pyt...
MySQL / MARIADB
MYSQL MARIA DB
sudo apt-get install software-properties-common
sudo apt-key adv –recv-keys –keyserver keys...
Development IDEs
JETBRAINS – CROSSPLATFORM
TOOLS
PHP – PHPSTORM
HTML/JS – WEBSTORM/PHPSTORM
NODEJS – PHPSTORM + NODEJS PLUGIN
PYTHON – PYCH...
JETBRAINS – WORKS BEST ON
ORA JDK
# For Jetbrains products
# Optionally, Remove openjdk if it is installed
sudo apt-get pu...
RabbitVCS (kind of TortoiseGit)
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitv...
RabbitVCS-13.04-post fix
Use, if there are no RabbitVCS menu in Nautilus after install and lightdm restart
sudo ln -sf /us...
Utilities and tools
Google chrome 
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub |
sudo apt-key add -
sudo sh -c 'echo "...
xclip
sudo apt-get install xclip
# xclip -sel clip < ~/.ssh/id_rsa.pub
# Copies the contents of the id_rsa.pub file to you...
Doxygen – cross platform doc. tool
# powerful enough alternative code documentation generation tool
# supports number of l...
Nautilus extensions
# ’open directory in terminal’ action in files explorer
sudo apt-get install nautilus-open-terminal
Teamviewer (not secure)
#Neither download from http://www.teamviewer.com/
#OR
#32 bit
wget http://download.teamviewer.com/...
Color picker
sudo apt-get install gpick
Repository Identities
GITHUB, BITBUCKET, PRIVATE REPOSITORIES…
CHECK FOR EXISTING KEYS…
cd ~/.ssh
ls
#if none, generate new
ssh-keygen -t rsa -C "your_email@yourdomain.com"
ssh-add id_r...
STORE KEYS IN SAVE PLACE
You will to save a copy
of your private key (id_rsa)
public key (id_rsa.pub)
Windows users:
creat...
Add key to Github / Bitbucket
clip < ~/.ssh/id_rsa.pub
Github Bitbucket
Server control
TOOLS THAT SPEEDUP YOUR SERVER TASKS
EMPHASIZE: IMPORTANT
For software that targets specific Ubuntu version:
If you are using Ubuntu 12.10 apt repositories nam...
MySQL / MARIADB –
PHPMYADMIN DEP.
MYSQL MARIA DB
sudo apt-get install software-properties-common
sudo apt-key adv –recv-ke...
PHPMYADMIN
sudo apt-get install phpmyadmin
WEBMIN
sudo add-apt-repository 'deb http:////download.webmin.com/download/repository sarge contrib''
sudo add-apt-reposito...
You are almost ready
To start your coding 
SLIDES IN ACTION
https://github.com/Voronenko/developer_bootstrap
Thanks!
Vyacheslav Voronenko
Upcoming SlideShare
Loading in...5
×

Basic setup

1,991

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,991
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Basic setup

  1. 1. Web. Dev. Environment Basic setup UBUNTU 13.04 BASED (2013.10)
  2. 2. Why? Just mine habits… UBUNTU Python PHP NodeJS Java WINDOWS Python PHP NodeJS Java C#
  3. 3. Windows steps Actually pretty obvious, please share your configuration steps
  4. 4. Ubuntu Developer needed Git Lamp Stack NodeJS stack Development IDEs Helpful RabbitVCS Xclip (console to keyboard) Doxygen Small Nautilus extensions Color picker
  5. 5. IMPORTANT For software that targets specific Ubuntu version: If you are using Ubuntu 12.10 apt repositories names usually end with precise main If you are using Ubuntu 13.10 apt repositories names end with raring main
  6. 6. Development needed… CONFIGURE ENVIRONMENT
  7. 7. Git sudo apt-get install git git config --global user.name "FIRST_NAME LAST_NAME" git config --global user.email "MY_NAME@example.com"
  8. 8. Lamp stack (my choice) #? apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/php5 sudo apt-get update sudo apt-get install php5 libapache2-mod-php5 php --version
  9. 9. NodeJS Stack SIMPLE sudo apt-get install nodejs node -v CUSTOM VERSION sudo apt-get install python-software-properties python g++ make sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update # @@ If you need specific version @@ sudo apt-get install nodejs=0.10.18-1chl1~precise1 node -v
  10. 10. MySQL / MARIADB MYSQL MARIA DB sudo apt-get install software-properties-common sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu raring main' sudo apt-get update sudo apt-get install mariadb-server sudo apt-get install mysql-server-5.5
  11. 11. Development IDEs
  12. 12. JETBRAINS – CROSSPLATFORM TOOLS PHP – PHPSTORM HTML/JS – WEBSTORM/PHPSTORM NODEJS – PHPSTORM + NODEJS PLUGIN PYTHON – PYCHARM (COMMUNITY OR PRO EDITIONS) RUBY – RUBYMINE JAVA – IntelliJ IDEA ANDROID – IntelliJ IDEA ObjectiveC – APP Code
  13. 13. JETBRAINS – WORKS BEST ON ORA JDK # For Jetbrains products # Optionally, Remove openjdk if it is installed sudo apt-get purge openjdk* #Make sure additional apt packages are up: sudo apt-get install software-properties-common #PPA sudo add-apt-repository ppa:webupd8team/java sudo apt-get update #Install java 6 sudo apt-get install oracle-java6-installer #or 7 # sudo apt-get install oracle-java7-installer #or 8 # sudo apt-get install oracle-java8-installer
  14. 14. RabbitVCS (kind of TortoiseGit) sudo add-apt-repository ppa:rabbitvcs/ppa sudo apt-get update sudo apt-get install rabbitvcs-nautilus3 rabbitvcs-cli
  15. 15. RabbitVCS-13.04-post fix Use, if there are no RabbitVCS menu in Nautilus after install and lightdm restart sudo ln -sf /usr/lib/i386-linux-gnu/libpython2.7.so.1 /usr/lib/libpython2.7.so.1 sudo ln -sf /usr/lib/libpython2.7.so.1 /usr/lib/libpython2.7.so.1.0 Replace /usr/share/nautilus-python/extensions/RabbitVCS.py with RabbitVCS.py, downloaded from http://rabbitvcs.googlecode.com/svn/trunk/clients/nautilus-3.0/RabbitVCS.py
  16. 16. Utilities and tools
  17. 17. Google chrome  wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list sudo apt-get update sudo apt-get install google-chrome-stable
  18. 18. xclip sudo apt-get install xclip # xclip -sel clip < ~/.ssh/id_rsa.pub # Copies the contents of the id_rsa.pub file to your clipboard
  19. 19. Doxygen – cross platform doc. tool # powerful enough alternative code documentation generation tool # supports number of languages, cross platform sudo apt-get install doxygen doxygen-gui auctex xindy graphviz #doxywizard #Note: installation is really big in size. Makes sense for main #development box
  20. 20. Nautilus extensions # ’open directory in terminal’ action in files explorer sudo apt-get install nautilus-open-terminal
  21. 21. Teamviewer (not secure) #Neither download from http://www.teamviewer.com/ #OR #32 bit wget http://download.teamviewer.com/download/teamviewer_linux.deb #64bit #wget http://download.teamviewer.com/download/teamviewer_linux_x64.deb sudo dpkg -i teamviewer_linu*.deb
  22. 22. Color picker sudo apt-get install gpick
  23. 23. Repository Identities GITHUB, BITBUCKET, PRIVATE REPOSITORIES…
  24. 24. CHECK FOR EXISTING KEYS… cd ~/.ssh ls #if none, generate new ssh-keygen -t rsa -C "your_email@yourdomain.com" ssh-add id_rsa
  25. 25. STORE KEYS IN SAVE PLACE You will to save a copy of your private key (id_rsa) public key (id_rsa.pub) Windows users: create private key in putty format (ppk) from private key, so you can connect from windows box using putty or winscp.
  26. 26. Add key to Github / Bitbucket clip < ~/.ssh/id_rsa.pub Github Bitbucket
  27. 27. Server control TOOLS THAT SPEEDUP YOUR SERVER TASKS
  28. 28. EMPHASIZE: IMPORTANT For software that targets specific Ubuntu version: If you are using Ubuntu 12.10 apt repositories names usually end with precise main If you are using Ubuntu 13.10 apt repositories names end with raring main
  29. 29. MySQL / MARIADB – PHPMYADMIN DEP. MYSQL MARIA DB sudo apt-get install software-properties-common sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu raring main' sudo apt-get update sudo apt-get install mariadb-server sudo apt-get install mysql-server-5.5
  30. 30. PHPMYADMIN sudo apt-get install phpmyadmin
  31. 31. WEBMIN sudo add-apt-repository 'deb http:////download.webmin.com/download/repository sarge contrib'' sudo add-apt-repository 'deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib' apt-get update apt-get install webmin
  32. 32. You are almost ready To start your coding 
  33. 33. SLIDES IN ACTION https://github.com/Voronenko/developer_bootstrap
  34. 34. Thanks! Vyacheslav Voronenko
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×