Friday, August 5, 2011

How to see system services are enable or disable in ubuntu 11.04(Natty Narwhal)

what is chkconfig

Chkconfig is a utility to update and query runlevel information for system services.  Chkconfig manipulates the numerous symbolic links in /etc/init.d/, to relieve system administrators of some of the drudgery of manually editing the symbolic links.

In Debian, there are several tools with similar functionality, but users coming from other Linux distributions will find the tools in this package more familiar.

Go to Terminal and open it and type the command “chkconfig' press enter.

john@john:~$ chkconfig

The program 'chkconfig' is currently not installed.  You can install it by typing:

sudo apt-get install chkconfig

“If chkconfig is not intall you will see the  above massage”

to install “chkconfig”thpe this command “sudo apt-get install chkconfig”

john@john:~$ sudo apt-get install chkconfig

Reading package lists... Done

Building dependency tree      

Reading state information... Done

The following packages were automatically installed and are no longer required:

  linux-headers-2.6.38-8 linux-headers-2.6.38-8-generic

Use 'apt-get autoremove' to remove them.

The following NEW packages will be installed:

  chkconfig

0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.

Need to get 9,222 B of archives.

After this operation, 69.6 kB of additional disk space will be used.

Get:1 http://in.archive.ubuntu.com/ubuntu/ natty/universe chkconfig all 11.0-79.1-2 [9,222 B]

Fetched 9,222 B in 0s (9,989 B/s)   

Selecting previously deselected package chkconfig.

(Reading database ... 187622 files and directories currently installed.)

Unpacking chkconfig (from .../chkconfig_11.0-79.1-2_all.deb) ...

Processing triggers for man-db ...

Setting up chkconfig (11.0-79.1-2) ...


after installing just type “chkconfig”
you can see list of service which one is off or on in your system

john@john:~$ chkconfig

acpi-support                                      2345

acpid                                                    off

alsa-restore                                          off

alsa-store                                              off

anacron                                                off

apparmor                                             on

apport                                                  off

atd                                                        off

avahi-daemon                                       off

binfmt-support                                      on

bluetooth                                              on

bootlogd                                              off

brltty                                                    on

clamav-freshclam                                on

console-setup                                      off

cron                                                    off

cups                                                    off

dbus                                                   off

dmesg                                                off

dns-clean                                           on

failsafe-x                                           off

gdm                                                   off

grub-common                                    on

hostname                                           off

hwclock                                             off

hwclock-save                                     off

irqbalance                                         off

kerneloops                                         on

killprocs                                             on

module-init-tools                                off

network-interface                              off

network-interface-security                off

network-manager                              off

networking                                         0

ondemand                                          on

pcmciautils                                        on

plymouth                                           off

plymouth-log                                     off

plymouth-splash                                off

plymouth-stop                                   off

plymouth-upstart-bridge                   off

pppd-dns                                           on

procps                                              off

pulseaudio                                        on

rc.local                                            on

rcS                                                  off

rsync                                               on

rsyslog                                            off

saned                                              on

sendsigs                                           0

setvtrgb                                           off

speech-dispatcher                           on

stop-bootlogd                                 off

stop-bootlogd-single                      off

sudo                                               on

udev                                               off

udev-fallback-graphics                  off

udev-finish                                     off

udevmonitor                                  off

udevtrigger                                   off

ufw                                                off

umountfs                                         0

umountnfs.sh                                  0

umountroot                                    0

unattended-upgrades                     0

urandom                                       0S

winbind                                         on

x11-common                                 on

How to see system services are enable or disable in ubuntu 11.04(Natty Narwhal)

Allu John Sudhakar
System/Network Administrator
to see my Blogger (for Ubuntu)http://allujohnsudhakar.blogspot.com
any help mail to me aj_sudhakar@yahoo.co.in

Monday, August 1, 2011

How to install Ubuntu restricted extras in Ubuntu11.04 (Natty Narwhal) commonly used applications with restricted copyright (mp3,avi,mpeg,True Type,java,Flash,Codecs)


This package depends on some commonly used packages in the Ubuntu multiverse repository.

Installing this package will pull in support for MP3 playback and decoding, support for various other audio formats (GStreamer plugins), Microsoft fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback.

Please note that this does not install libdvdcss2, and will not let you play encrypted DVDs. For more information, see https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs

Please also note that packages from multiverse are restricted by copyright or legal issues in some countries. See http://www.ubuntu.com/ubuntu/licensing for more information.

To install this you have two way 1. Ubuntu Software Center 2. Through Terminal

1. Go to Ubuntu Software Center and type in surch box Ubuntu Restricted Extras
and press Install button

2. Through Terminal
To get started, press Ctrl – Alt – T on your keyboard to open Terminal.
When Terminal opens, type the command below and press Enter to install.
sudo apt-get install ubuntu-restricted-extras
Allu John Sudhakar
System/Network Administrator
to see my Blogger (for Ubuntu)
http://allujohnsudhakar.blogspot.com
any help mail to me
aj_sudhakar@yahoo.co.in