TestEngineering/Web/Automation/B2G Nodes/Create new node: Difference between revisions
< TestEngineering | Web | Automation | B2G Nodes
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
#Visit http://developer.android.com/sdk/index.html to download the Android SDK for Linux and extract it to the /home/webqa/andrioid-sdk-linux/ | #Visit http://developer.android.com/sdk/index.html to download the Android SDK for Linux and extract it to the /home/webqa/andrioid-sdk-linux/ | ||
#If your Ubuntu Install is a 64 bit version install ia32-libs ( apt-get install ia32-libs) otherwise adb wont work | #If your Ubuntu Install is a 64 bit version install ia32-libs ( apt-get install ia32-libs) otherwise adb wont work | ||
Start the android program from the android-sdk-linux/tools/ directory using the command ./android and install the latest Android SDK | #Start the android program from the android-sdk-linux/tools/ directory using the command ./android and install the latest Android SDK | ||
#Edit the file /etc/udev/rules.d/51-android.rules by adding the following rules | #Edit the file /etc/udev/rules.d/51-android.rules by adding the following rules | ||
##SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" | ##SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" |
Revision as of 00:05, 27 February 2013
- Change the boot order by going to Startup Disk and choosing the Ubuntu installation CD
- While rebooting, hold down C
- Ubuntu boots up/initializes
- If you are installing Ubuntu on the 4,1 early 2012 Mac Mini, please take note that WiFi does not work out of the box, you need to plug in an ethernet cable if you want to download updates whilst installing
- After successfully installing Ubuntu, open the terminal app and enter the following commands (installing Jenkins will install the open-jre version of Java)
- sudo apt-get install openssh-server jenkins
- sudo mkdir /var/jenkins
- chown -R webqa:webqa /var/jenkins
- Visit http://developer.android.com/sdk/index.html to download the Android SDK for Linux and extract it to the /home/webqa/andrioid-sdk-linux/
- If your Ubuntu Install is a 64 bit version install ia32-libs ( apt-get install ia32-libs) otherwise adb wont work
- Start the android program from the android-sdk-linux/tools/ directory using the command ./android and install the latest Android SDK
- Edit the file /etc/udev/rules.d/51-android.rules by adding the following rules
- SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
- SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="plugdev"
- Edit the file .profile under /home/webqa by appending the following lines
- PATH="$PATH:$HOME/android-sdk/platform-tools:$HOME/android-sdk/tools"
- Enter the command source ~/.profile to pick up the PATH updates
- Clone the webqa-credentials repository to /home/webqa/webqa-credentials using the link https://github.com/retornam/webqa-credentials.git . This requires your github login details since the repository is private.