Archive for the 'Linux' Category

28
May
09

Quick update

These days I am quite busy with Drupal and have learnt that Drupal is not merely a blogging software, you can make a full fledged website out of it. You can make modules, themes, customise it, and much more than I used to think initially. Apart from that I have learned to use CSS which is also very important for web development. If you are trying to develop websites use Firebug extension from mozilla firefox, it is very useful and you can make your website look better. I am trying to integrate Drupal blogs module and planet module to make something which would let the client make a site which would give blogs from the site and blogs from wordpress, blogger etc stay together and would enable commenting. Apart from that I learned to use various other modules. In short this time Mukti website would be on Drupal not wordpress.

Apart from that I am learned something about XML-RPC module of Python. I have been longing for a desktop blogging software for Gnome. I tried some but they were not good. Now I think of making something.
In the mean time I have spent sometime with opendchub and have found a major flaw in the software, I think I will be able to fix it by this weekend (the only time I am free these days).

I have also made my first rpm for opendchub. I will very soon release rpms and debs for opendchub.

Lastly, I declare that I want to go to Agra, I need a companion, if somebody is willing please leave a comment :) . Everyone is invited.

04
Apr
09

How to /boot/grub/menu.lst for network install

Yesterday I went to help a Professor from Mechanical Department who had mailed me for help. He was really struggling with windows as desperately wanted to get Linux installed as he was not familiar with windows software. He was the first man I have ever met who said that he was struggling with office excel and wanted Linux.

He had an old HP workstation. I never had opportunity to see a workstation but yesterday I saw one and even installed Fedora 10 on it. I must say the machine was really fast even better than the new Centrino Duo / core 2 duo processors that we use. The instllaion took only 20 minutes and i must say here that he had nearly selected almost all the packages (GNOME & KDE both).

There was another machine whose DVD drive was not working. I had SUSE Enterprise Server installed with barely any software. So I installed openSUSE 11.1 on it from the Local Installation repository that we have. We generally use Unetbootin (Google if you dont know) for network installation. But I was not able to install that due to some dependencies. So I downlaoded the kernel and initrd filles from the installation medium and then i edited menu.lst.

  • First I made a new directory in /boot and called it install.
  • Then I copied the initrd and linux(kernel in opensuse DVD) to /boot/install.
  • Then I edited menu.lst. Since my boot partition was same as root /dev/sda2, so for me i added

title Install

root (hd0,2)
kernel /boot/install/linux
initrd /boot/install/initrd

  • Then I rebooted and selected “Install” from the boot menu and it worked out.

Once again it can be noticed how powerful Linux is, I dont know if any other OS gives you such options, if you know then please tell me  :)

09
Mar
09

using java on linux

This was a problem faced by my friend. He happens to use only JAVA that too JAVAC. He does not like to use Netbeans I don’t know why. And he said that it was the only problem that stopped him from using Linux. So I decided to help him. These were some links which were really helpful.

http://en.opensuse.org/Java
http://en.opensuse.org/Installing_Sun%27s_Java_on_SUSE_Linux (to be more precise)

The problem was that the openJDK which provides JAVC which is the default installation on openSUSE is different from JAVAC provided by SUN because the same Hello World program which compiled on SUN’s JAVAC failed to compile on openJDK’s JAVAC.

The details can be found out here http://lug.nitdgp.ac.in/wiki/index.php/How_to_use_Java_on_Linux

The repositories described there are Local to our college you can use your package manager to locate the packages. For openSUSE users sun’s packages are in Non-OSS repo

09
Mar
09

mouting network directory as your own directory, NFS

I manage our local GLUG server. And the server was running out of space. So I was thinking of some alternative, so NFS clicked my mind. I am trying to mirror Ubuntu repo for our college students.

There is another server in the college which I happen to manage, so I decided to give NFS a try. Since both the machines are running openSUSE the distro of my choice, it was not difficult at all. http://en.opensuse.org/NFS This link gave sufficient information about using NFS.

Within 10 minutes I was done. But I need to see how fast it actually is once the download completes. Hope it works out. Then our repo will be complete with support for Fedora, openSUSE and ubuntu. Check out the repo here. http://lug.nitdgp.ac.in/repository/

09
Mar
09

should i try fedora

Rangeen, who happens to be the only Fedora ambassador in our college did a very good work by creating a local Fedora repository http://lug.nitdgp.ac.in/repository/fedora-local/ . I am an openSUSE user and I am satisfied with it, we also have a local packman mirror http://lug.nitdgp.ac.in/repository/packman/ which happens to be the biggest repo for openSUSE. But the only problem is that it is not a complete repo, I mean while installing packages I need to download some packages from the internet also. But the Fedora repo which also has the updates is nearly a complete repo.

So I am thinking about trying Fedora now.

21
Feb
09

server administration is a difficult task

Just a week back I start to manage our GLUG server and since then it has turned out to be a nightmare for me. Every now and then something happens and people start pinging you. Whenever I go out and come to room I just type the url of the server on my browser to see if it is working. It adds a lot to your responsibilities.

I tried several distros and finally ended up with my favourite openSUSE, I find myself very much comfortable with it.

Some works to be done:
1. Fedora 10 repo
2. Ubuntu repo
3. Packman repo (we already have but it needs management)
4. More isos for download and for repo for network install

20
Feb
09

making direcories and symbolic links in apache web directory

This made me worried for the past two days. Thanks to IRC I got the solution.
Add these lines at the end of your default-server.conf file for apache. On opensuse it is in /etc/apache2/defualt-server.conf

<Directory “path to directory like /srv/www/htdocs/download”>
options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
AllowOverride All
Order allow,deny

Allow from all

</Directory>

Then restart apache.
This makes the directory visible from web browser and makes apache follow symbolic links !
This was really painful yet the answer was so simple.
I need to look in apache configurations properly.

17
Feb
09

setting up an SVN server is as easy as eating cake

I tried to set up an svn server on my laptop today as I have organized a hack session today to bring in more people for hacking FOSS.
I have chosen opendchub for three reasons:
1. They have seen it working. And they actually use it.
2. The source code is as less as 10 c files.
3. The project is dead. I have already applied for the maintainership. You dont apply please :P

This is a helpful link href=”http://en.opensuse.org/Setting_up_a_Subversion_server_using_Apache2 . I hope everything turns out positively.

30
Jan
09

Codecracker 2.0 UP and running

Codecracker, the online judge of our college designed and developed by GLUG last year is all set again for a new round. The pattern is changed a little bit. This time we have six questions, two easy, two medium and two difficult. It is scheduled on Feb 3, 2009 from 10 P.M. to 12 P.M. IST.

The software that we used for the judge has now been ported to Python. I and Rajat did the work in three days. I did most of the testing work while he did the coding part. I had little knowledge of Python which I had learnt during the holidays. Rajat is a fantastic coder I must admit. He writes codes perfectly. Well since we had the whole logic that we had used in the previous year so it was not that difficult.

Today I uploaded it to our the server. The server had Python 2.4.4 but we had written and tested on Python 2.6 and it started throwing exceptions . So I decided to use my own computer to run the backend python program. Since we had made provisions for such a distributed thing in our code so it was not at all difficult to do this.

Day after tomorrow is a big day. We have a local contest in our college. This will really test the software. I hope everything works fine!

You can also participate in the event. Just go to the Codecracker arena .

Any constructive suggestion or crtiticism is welcome. The project page is http://code.google.com/p/ccnitdgp/ . This page currently has the source of the previous year codecracker. We will upload the new source soon.

29
Aug
08

using GIT behind proxy

GIT is another software used for version control as SVN or CVS. Today when I was at gym Shreyank requested me to find out a possible solution for using GIT as he saw what I had posted earlier to use SVN and Pidgin. He was really very happy to see Pidgin working.

I came back then I thought I should give it a try too. I visited the LDTP site. There I saw a link for using git behind proxy. I dont know how it worked for me. I simply noticed that there was a simple change of protocols while using proxy, git:// was changed to http://.This is what I used to download the source of LDTP

$git clone http://anongit.freedesktop.org/git/ldtp/ldtp.git

I tried and bang! it was working for me. I had done only the usual proxy setting form yast, it sets up the http_proxy Environment variable. Check if it is set for you.

$echo $http_proxy

If the output is not “http;//10.0.0.1:3128″ then the proxy setting is not done for you. Do this

$export http_proxy=”http://10.0.0.1:3128″

It should work for you also.

Cheers :)




Blog Stats

  • 19,703 hits

 

November 2009
M T W T F S S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Cluster Map

Tweets

Google Groups
GNU/Linux Users' Group, NIT Durgapur
Visit this group

openSUSE