Skip to main content

Posts

Showing posts from 2011

10 Things To do After Installing openSUSE 12.1

Here is a List of 10 Things which I had done After Installing openSUSE 12.1(KDE) 64bit. 1. Mounting a Windows Partition with +RWX Permission   a) Backup the fstab file before Modifying      ravi@linux:~>sudo cp -v /etc/fstab fstab_copy b) View Available Partitions      ravi@linux:~> cat /etc/fstab | grep "ntfs" /dev/disk/by-id/ata-WDC_WD5000BEVT-75A0RT0_WD-WXD1AC0Y1075-part3 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 c)  Open the fstab file in super user mode and delete the fmask and dmask and set the umask value as '0026',          save the file and restart.     /dev/disk/by-id/ata-WDC_WD5000BEVT-75A0RT0_WD-WXD1AC0Y1075-part3 /windows/D           ntfs-3g    uid=1000,gid=100,umask=0026 0 0 2. Install the latest version of Chrome(64bit RPM)         https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 3. Download and Install VLC Media Player         http://download.v

How to enable Scrolling in Opensuse11.4 ?

      I have recently installed Opensuse 11.4 KDE in Dell Inspiron N5010, the problem with it is Opensuse cannot support scrolling. Step 1  To make Scroll button Work install GSynaptics for OpenSuse.  GSynaptics is a GUI configuration tool for the Synaptics touchpad  driver of the X server. ravi@linux-2ezc:~>sudo zypper in gsyanptics Step 2         Edit the xorg.conf ravi@linux-2ezc:~> kdesu kwrite /etc/X11/xorg.conf.d/50-synaptics.conf Section "InputDevice" Driver "synaptics" Identifier "TouchPad" Option "SendCoreEvents" Option "Protocol" "auto-dev" Option "SHMConfig" "on" EndSection Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "

Installing Drupal7.2 in ubuntu 11.04

1. Installation requirements:( http://drupal.org/requirements )  Mysql  Php  Apache >>sudo apt-get install php5-mysql apache2 mysql-client mysql-server php5-gd 2. Download the latest Drupal Package: >wget http://ftp.drupal.org/files/projects/drupal-7.2.tar.gz Extract the tar file: >tar -zxvf drupal-7.2.tar.gz Rename the extracted folder to drupal: >mv drupal-7.2 drupal 3. Move the extracted Contents to /var/www directory: ravikumar@ravikumar-desktop:~$ mv drupal /var/www/ ravikumar@ravikumar-desktop:~$ ls /var/www drupal 4. In the settings/default directory copy the default.settings.php file and rename the copied file into settings.php: ravikumar@ravikumar-desktop:~$ cd /var/www/drupal/sites/default ravikumar@ravikumar-desktop:/var/www/drupal/sites/default$ cp default.settings.php settings.php ravikumar@ravikumar-desktop:/var/www/drupal/sites/default$ ls default.settings.php settings.php 6. Provide web server the permission to modify settings

Cloning an Existing Git Repository

After installing the freshcopy of ubuntu 11.04, I need to clone my already existing github repository to my local drive to start gitting. Following are the steps, I had done to Clone the Existing git repository and start Gitting. 1 . Generate SSH keys for the repository. I tried to use already existing key in the github repo but I end up with an error. So created a new keygen by ravikumar@ravikumar-desktop:~$ssh-keygen -t rsa -C "XXXX@gmail.com" 2. Copy the Newly generated SSH key. ravikumar@ravikumar-desktop:~$ cd .ssh ravikumar@ravikumar-desktop:~/.ssh$ gedit id_rsa.pub copy the entire key. 3. Now Login to your Github account and Goto the Repository's administration and goto ' Deploy keys' ,  click Edit and paste the new key. 4.  Now Goto following repository's page and copy the url as highlighted below: Github url    5. Clone the repo to your Local drive: ravikumar@ravikumar-desktop:~$ git clone git@github.com:XXXX/codehacks.git Cl