Sunday, September 26, 2010

How to get sudo privilage in debian lenny

Normally in debian lenny we can use only su to become the root ifwe nee to use the sudo power then we have to edit the /etc/sudoers file
first become root by using su

ganesh@debian:~$ su
Password:
debian:/home/ganesh# visudo

Now add the username to the list..
ganesh  ALL=(ALL) ALL

am attaching the scrrenshots


Tuesday, September 21, 2010

How to make your own custom dist or custom ubuntu

I made a custom ubuntu distribution(ubuntu 10.04) with all these packages for electronics and electrical students  with all these packages installed in it....
  1. texmaker
    kile
    lyx
    scipy
    numpy
    sympy
    gap
    maxima
    gnuplot
    xfig
    dr.geo
    scilab
    ocatve
    qtoctave
    Rkwrd(gnu r)
    emacs
    labplot
    electric-electrical cad
    gnusim8085
    gpsim
    gresistor
    gwave
    kicad
    ktechlab
    qucs
    piklab
    avrdude
    simulavr
    ngspice
    geany
    grass
    splat
    bluefish editor
    emu8051
    eric
    geda-gschem
    gperiodic
    Sagemath
    Geogebra
I used Remastersys backup tool for this ......
http://www.geekconnection.org/remastersys/
Its is simple for beginners to use the gui and for experienced users can use thecommand line you can akso take the backup including the userdata by using remastersys


Remastersys can be found in synaptic after adding this line in /etc/apt/sources.lst
# Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/

Monday, September 6, 2010

How to fix apache the problem i faced!!!!!!!!

While trying ti install moinmoin a python based wiki engine i faced a weird problem with apache server after installtion when i tried to restart apaches it displayed a n error like this.....

* Restarting web server apache2                                                                               apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting ..apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName


This is how i solved the problem.....


ganesh@linux:~$ sudo kate /etc/apache2/httpd.conf

am now using kubuntu so i used kate as text editor instead of kate u can use gedit,vi etc

By default httpd.conf file will be blank. Now, simply add the following line to the file.
ServerName localhost
Save and exit the text editor
Now restart the apache using the command

sudo /etc/init.d/apache2 restart

my screenshots are given below discard the errors shown while opening the file with kate k....







Happy Hacking.............