Changing the Username and Password used to access the Subversion repository

One of my teammates; Ahmad Salah from the IFX team has just faced a simple, yet annoying problem; About 2-3 days ago, he wanted to log in to the Subversion repository to access the project files and I gave him my username and password temporarily to use, and yesterday, I added his desired username and password to the repository, but we still couldn’t change the username and password (which are mine :S) so that he logs using his new username and password! He searched and discovered that all these details are found in the /home/hisusername/.subversion/auth/ folder, just delete this folder and everything will be just fine. You’ll be asked for your new username and password which will be saved, enjoy!

Posted in Uncategorized | Tagged | Leave a comment

Running different types of executable files on Ubuntu Gutsy

  1. .deb files, just double click and the package manager will automatically run
  2. .sh files, just type “sh filename” in the terminal
  3. .bin files, type “chmod +x filename” to allow the file to execute and then type “./filename
Tagged , | Leave a comment

Setting up Java Development Environment on Ubuntu Gutsy, Part 2: Configuring Java Environment Variables on Ubuntu Gutsy

The default command line interface for Ubuntu Linux is called bash (Bourne Again Shell), and in order to add Java environment variables, we will edit a file named “.bashrc” and add our commands inside, here we go:

  1. Edit the “.bashrc” file by typing “sudo gedit .bashrc” which will open gedit; the famous Linux text editor in Read/Write mode (Note: If you don’t use the keyword sudo to get administrative privileges, then the file will be opened in Read Only mode)
  2. Scroll to the end of the file and add your env. variables as in the following example which I used to define the JAVA_HOME env. variable:
    1. Append this line to the end of the .bashrc file: “export JAVA_HOME=/usr/lib/jvm/java-6-sun” where I point this variable to the location of my default JDK
    2. Save the file and exit and close the terminal
    3. Reopen the terminal and to check that everything went fine, type the following command: “echo $JAVA_HOME” which should result in displaying “/usr/lib/jvm/java-6-sun”, otherwise, repeat the process again, you must have done something wrong.
Tagged | Leave a comment

Subversion Client on Ubuntu Gutsy

Subversion is one of the most famous VCS (Version Control System) that supports both version control models; the copy-modify-merge and the lock-modify-unlock ones, and my favorite Subversion clients is called Work Bench; very user friendly and fast, the best one I’ve met till now and it’s available in the official Ubuntu repositories, here is how you can get it:

  1. Open the terminal and type: “sudo apt-get install svn-workbench”
  2. If you don’t find its launcher in Applications>Programming (in older versions of Ubuntu), you can run it directly from the terminal by typing “svn-workbench” or create a launcher in the menu by yourself by right clicking “Applications”>Edit Menus, select Programming and click “New Item”, customize the launcher as you wish, but you must fill in the field “Name” and “Command” at least, type “svn-workbench” in the “Command” field.
Tagged | Leave a comment

Setting up MySQL Server and GUI Client tools on Ubuntu Gutsy

  1. Type the following in the terminal: “sudo apt-get install mysql-server mysql-query-browser mysql-admin” (Note: You can read the manual of any command by invoking the “man” command and providing the command’s name as its parameter, e.g. “man apt-get”
  2. I don’t like services to be running in my RAM without need, and that’s unfortunately the default after you setup your environment. Go to System>Administration>Services and scroll down till you find three Database Server entries, unselect them (Reselect them of course when you need to work with it again)
Tagged | Leave a comment