TestEngineering/Web/Automation/B2G Nodes/Create new node: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
#Ubuntu boots up/initializes
#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
#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)
#After successfully installing Ubuntu, open the terminal app and enter the following commands
#sudo apt-get install openssh-server jenkins
#sudo apt-get install openssh-server  
#sudo mkdir /var/jenkins
#sudo mkdir /var/jenkins
#chown -R webqa:webqa /var/jenkins
#chown -R webqa:webqa /var/jenkins
Line 16: Line 16:
#PATH="$PATH:$HOME/android-sdk/platform-tools:$HOME/android-sdk/tools"
#PATH="$PATH:$HOME/android-sdk/platform-tools:$HOME/android-sdk/tools"
#Enter the command source ~/.profile to pick up the PATH updates
#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.
#Clone the webqa-credentials repository  to /home/webqa/webqa-credentials using  the link .This  requires your github login details since the repository is private.

Revision as of 23:55, 27 February 2013

  1. Change the boot order by going to Startup Disk and choosing the Ubuntu installation CD
  2. While rebooting, hold down C
  3. Ubuntu boots up/initializes
  4. 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
  5. After successfully installing Ubuntu, open the terminal app and enter the following commands
  6. sudo apt-get install openssh-server
  7. sudo mkdir /var/jenkins
  8. chown -R webqa:webqa /var/jenkins
  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/
  10. If your Ubuntu Install is a 64 bit version install ia32-libs ( apt-get install ia32-libs) otherwise adb wont work
  11. Start the android program from the android-sdk-linux/tools/ directory using the command ./android and install the latest Android SDK
  12. Edit the file /etc/udev/rules.d/51-android.rules by adding the following rules
    1. SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
    2. SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="plugdev"
  13. Edit the file .profile under /home/webqa by appending the following lines
  14. PATH="$PATH:$HOME/android-sdk/platform-tools:$HOME/android-sdk/tools"
  15. Enter the command source ~/.profile to pick up the PATH updates
  16. Clone the webqa-credentials repository to /home/webqa/webqa-credentials using the link .This requires your github login details since the repository is private.