Skip to main content

Posts

Running Opensuse Under Proxy

If you are running Opensuse under proxy environment then every time if you are logged in means you need to manually Goto Yast2->Network Services->Proxy settings to configure your network. The following blog post describes how to set proxy in detail: www.unixmen.com/how-to-enable- proxy -on-opensuse.   In order to speed up the process, i had created a small script. #!/bin/bash echo "----------CONFIG PROXY--------------" echo "1.set proxy" echo "2.No proxy" echo "Enter the choice : " read choice case $choice in 1) echo "setting up Proxy" echo -e " PROXY_ENABLED=\"yes\" GOPHER_PROXY=\"\" NO_PROXY=\"localhost, 127.0.0.1\" HTTP_PROXY=\"http://172.16.35.90:8080\" HTTPS_PROXY=\"http://172.16.35.90:8080\" FTP_PROXY=\"http://172.16.35.90:8080\" " > /etc/sysconfig/proxy echo "bye..." ;; 2) echo "Unsetting the Prox...

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/...

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 m...

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...

Huawei Bsnl Connection - Made Easy

Now there is no need of installing Multiple Debian packages and there is no need to play with command line. The Huawei BSNL connection made easy with Ubuntu 10.10. These are the steps to connect to Internet : Step 1: Goto System->Preferences->Network Connections->Mobile Broadband Step 2: Add~>Select Huawei technologies-> Forward->select Country name->Forward->  Select the "I can't find My Provider .." radio button and enter the Provider name as BSNL and Click 'Apply' Step 3: The Following window Appears Step 4: Enter the username and Password and if you want all the users to use network connection check  the "Available to All users" and Click Apply. Step 5: Now Click on the Network connections available in the System Tray and click on the new Configured connection "BSNL Connection". In ubuntu  Mobile Broadband is not visible in the startup. In order to make it visible in the every startup. Do    ...

MyFav Apps in Ubuntu

Hi friends, in this post I am posting the list of  my favorite applications in Ubuntu. 1. Geany  :             Geany  is a lightweight cross-platform text editor and an  IDE known for its speed and  supports the following Program Languages C,Java, Javascript, PHP, HTML, CSS, Python, Perl, Ruby, Pascal and Haskell .            I have tried Anjuta, Eclipse CDT, CodeBlocks etc but I am satisfied with Geany. Download :  http://www.geany.org/Download/Releases 2. VLC media Player :               VLC is a  free  and  open source  cross-platform multimedia  player  and  framework , that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.  Download:  http://www.videolan.org/vlc/download-ubuntu.html 3. Tasque :             The bes...

Installing Git in Ubuntu 10.10 (Maveric Meerkat)

    What is Git?   Git is a  Distributed Version Control Systems (DVCS)  is a system for  software   revision control . was initially developed by Linus Torvalds. For other blah blahs .. visit GIT . Follow these steps for installing git: 1. Create a free or Premium Github account      https://github.com/plans 2. After you login on the right side of the page there will be a small button named      'New Repository' click that button and in the new page fill the appropriate     details and click 'Create Repository'.       3. New Page will appear like as shown below (Don't close it just minimize it):       4. Now lets configure our Hackbox. Download the git.tar.bz2 package from      http://git-scm.com/ 5. Extract the package and navigate to it and do      >./configure      >sudo make install 6. Che...

BSNL HUAWEI WLL Modem Installation

Hi everyone, Do u experience problem in connecting to Internet using BSNL WLL HUAWEI ETS 1201 from Ubuntu. Here is my Solution for it: Step 1 : Install Wvdial (a program that makes it easy to connect your Linux workstation to the Internet.). In Ubuntu there is a Dependency hell problem U need to download “Other Packages related to Wvdial” before installing Wvdial. I hope U will do it! After installation just check it by:   developer@ubuntu:~$ which wvdial     /usr/bin/wvdial When the above message is received then Your Wvdial installation is fine and we move to the next step Step 2 : Just run developer@ubuntu:~$sudo wvdialconf In my case I got the error as shown below: ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Modem Port Scan<*1>: S1 S2 S3 Sorry, no modem was detected! Is ...