basic setup
TRANSCRIPT
![Page 1: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/1.jpg)
Web. Dev. EnvironmentBasic setupUBUNTU 13.04 BASED
(2013.10)
![Page 2: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/2.jpg)
Why? Just mine habits…UBUNTU
Python
PHP
NodeJS
Java
WINDOWS
Python
PHP
NodeJS
Java
C#
![Page 3: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/3.jpg)
Windows steps Actually pretty obvious, please share your configuration steps
![Page 4: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/4.jpg)
Ubuntu Developer needed
Git
Lamp Stack
NodeJS stack
Development IDEs
Helpful
RabbitVCS
Xclip (console to keyboard)
Doxygen
Small Nautilus extensions
Color picker
![Page 5: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/5.jpg)
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
![Page 6: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/6.jpg)
Development needed…CONFIGURE ENVIRONMENT
![Page 7: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/7.jpg)
Git
sudo apt-get install gitgit config --global user.name "FIRST_NAME LAST_NAME"git config --global user.email "[email protected]"
![Page 8: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/8.jpg)
Lamp stack (my choice)#? apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5sudo apt-get updatesudo apt-get install php5 libapache2-mod-php5
php --version
![Page 9: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/9.jpg)
NodeJS StackSIMPLE
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
![Page 10: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/10.jpg)
MySQL / MARIADBMYSQL 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
![Page 11: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/11.jpg)
Development IDEs
![Page 12: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/12.jpg)
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
![Page 13: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/13.jpg)
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
![Page 14: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/14.jpg)
RabbitVCS (kind of TortoiseGit)
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-nautilus3 rabbitvcs-cli
![Page 15: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/15.jpg)
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
![Page 16: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/16.jpg)
Utilities and tools
![Page 17: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/17.jpg)
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
![Page 18: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/18.jpg)
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
![Page 19: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/19.jpg)
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
![Page 20: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/20.jpg)
Nautilus extensions # ’open directory in terminal’ action in files explorer
sudo apt-get install nautilus-open-terminal
![Page 21: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/21.jpg)
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
![Page 22: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/22.jpg)
Color picker
sudo apt-get install gpick
![Page 23: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/23.jpg)
Repository IdentitiesGITHUB, BITBUCKET, PRIVATE REPOSITORIES…
![Page 24: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/24.jpg)
CHECK FOR EXISTING KEYS… cd ~/.ssh ls
#if none, generate new
ssh-keygen -t rsa -C "[email protected]" ssh-add id_rsa
![Page 25: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/25.jpg)
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.
![Page 26: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/26.jpg)
Add key to Github / Bitbucketclip < ~/.ssh/id_rsa.pub
Github Bitbucket
![Page 27: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/27.jpg)
Server controlTOOLS THAT SPEEDUP YOUR SERVER TASKS
![Page 28: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/28.jpg)
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
![Page 29: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/29.jpg)
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
![Page 30: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/30.jpg)
PHPMYADMIN
sudo apt-get install phpmyadmin
![Page 31: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/31.jpg)
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
![Page 32: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/32.jpg)
You are almost ready
To start your coding
![Page 33: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/33.jpg)
SLIDES IN ACTION
https://github.com/Voronenko/developer_bootstrap
![Page 34: Basic setup](https://reader036.vdocument.in/reader036/viewer/2022081421/5550d3f6b4c905f2318b4fcb/html5/thumbnails/34.jpg)
Thanks!
Vyacheslav Voronenko