Spreadfirefox Affiliate Button
Custom Search

Thursday, July 30, 2009

Ubuntu / Debian Linux: Services Configuration Tool to Start / Stop System Services

Your Debian / Ubuntu Linux box security depends upon access to system services (one of many aspects). For example, you may need to provide a web server (Apache service) to serve web pages. However, if you do not need use a service, you should always turn off all unused services to avoid exploits.

Traditionally, Debian provided various tools to manage services. There are various methods for managing access to system services:
a) /etc/init.d/service
b) rcconf
c) update-rc.d etc

Under Red hat and Centos Linux you can use chkconfig command (ntsysv command) to configure Sys V style init script links. There is also service command to stop / start / restart services.

So if you are addicted to the service command under RHEL / CentOS / Mandriva Linux and have wondered what to do in Debian / Ubuntu, Linux try sysvconfig package.

sysvconfig - Services Startup Configuration Tool

Debian and Ubuntu Linux also offers service command. It can be used to execute System V style init script stored at /etc/init.d/service-name { start|stop|restart|action }. This is good if you grown up with Red hat. This tool is equivalent to update-rc.d and invoke-rc.d (rcconf and others).

sysvconfig package

First, install sysvconfig package:
$ sudo apt-get install sysvconfig

To start / restart / stop service, use the following syntax:
$ sudo service {service-name} restart <-- Restart service
$ sudo service {service-name} stop <-- Stop service
$ sudo service {service-name} start <-- Start service

For example to stop apache service, enter:
$ sudo service apache stop

sysvconfig command

This is a text-based application that allows you to configure which services are started at boot time for each runlevel. It is simple interface for configuring runlevels. sysvconfig is just like ntsysv under Red hat Linux. It has dialog based interactive, menus to help automate setting up Sys V style init script links:

  • Enable or disable services.
  • Edit individual links.
  • Restore from backup file if you make a mistake.
  • Menu or command line interface.
  • View all services, each with its status and a brief description.

To start Sys V editor, enter:
$ sudo sysvconfig &
sysvconfig - configure Sys V style init script links under Debian / Ubuntu Linux
(Fig 01: sysvconfig in action - startup screen with menus)

You can enable or disable any system services:
sysvconfig - enable or disable any system services under Debian / Ubuntu Linux
(Fig 02: sysvconfig in action - Enable or Disable system services)

Copyright : http://www.cyberciti.biz


Monday, July 27, 2009

HSFModem could not build on kernel 2.6.28-11-generic

I use kernel 2.6.28-11-generic and want to install my connexant modem driver from dell. Install is success, but when build hsfconfig there is an error like below:

make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /usr/lib/hsfmodem/modules/mod_engine.o
In file included from /usr/lib/hsfmodem/modules/mod_engine.c:10:
/usr/lib/hsfmodem/modules/imported/include/osservices.h:356:20: error: string.h: No such file or directory
make[2]: *** [/usr/lib/hsfmodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [all] Error 2

After browsing find an answer:
Modify #include on modem folder xx/modules/imported/include/osservices.h in source file to #include

Modem running free in 56Kbps

Tuesday, July 21, 2009

Network Manager Frontend Icon Missing

I remove my existing panel and make new panel but i'm lost the icon Network Manager. So i could'nt monitor my wifi, lan, and my broadband modem. When to connect to my broadband i have to do from terminal use wvdial. I check my service and found that nm-applet (network manager applet) is running well but the icon in the taskbar is not appear. Goggling and find the same problem but still couldn't solve the problem.

Finally after making trial, i found the answer:
1. Right click at panel and "Add to panel"
2. Choose Notification Area
3. Gotcha, the icon network manager appear again

Sunday, July 19, 2009

Clam AntiVirus

Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library.(Read more...)

Deluge

Deluge is a full-featured BitTorrent client for Linux, OS X, Unix and Windows. It uses libtorrent in it's backend and features multiple user-interfaces including: GTK+, web and console. It has been designed using the client server model with a daemon process that handles all the bittorrent activity. The Deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform.

Deluge features a rich plugin collection; in fact, most of Deluge's functionality is available in the form of plugins.

Deluge was created with the intention of being lightweight and unobtrusive. It is our belief that downloading shouldn't be the primary task on your computer and therefore shouldn't monopolize system resources.

Deluge is not designed for any one desktop environment and will work just fine in GNOME, KDE, XFCE and others.

Download the latest release and give it a try!

Boot-Up Manager

Boot-Up Manager is a Perl-Gtk2 application to handle runlevels configuration of any debian derivative system. With this program the user will easily start and stop boot-up scripts, without the necessity to handle thru complex links and permissions.

Boot-Up Manager has been developed and tested on Ubuntu, but as it only relies on Perl-Gtk2 libraries, it can be run on any Debian-like system.

Installation

Debian package

BUM is currently in Debian unstable/testing and in all Ubuntu's repositories. These users can just apt-get it.

apt-get install bum

Other users of debian-derivative distro's can just download the .deb package and type, from a terminal:

sudo dpkg -i bum_2.1.8-1_all.deb

Your Boot-Up Manager is placed into System->Administration menu.

Tarball

Unpack your tarball and build the program:

tar -xvzf bum-2.2.0.tar.gz

cd bum-2.2.0

./configure --prefix=/usr

make

make install

Last command must be run with root privileges. Please read the INSTALL file, for configuration options.

Requirements

Boot-Up Manager dependencies are: gksu, perl, libgtk2-perl (>=1.100-1), libglib-perl (>= 1.100-1), liblocale-gettext-perl, libgtk2-gladexml-perl

Download

Thursday, July 9, 2009

GYachI

GYachI is a software which gives you all the features of Yahoo Messenger !... really...

Installing GYachI

The instructions can be found at https://launchpad.net/~loell/+archive/ppa

Add these 2 lines in sources.list (normally /etc/apt/sources.list)

deb http://ppa.launchpad.net/loell/ppa/ubuntu gutsy main
deb-src http://ppa.launchpad.net/loell/ppa/ubuntu gutsy main


Change gutsy to your distribution (jaunty, intrepid, hardy...)

Run the command...

sudo apt-get install gyachi

That's it... it is a full fledged Yahoo Messenger frontend :)

Troubleshooting

If while logging in it shows error like "Invalid Username or Incorrect Password", and you are sure you entered them correctly, then it is the problem with special characters in your password. Change the password and you are good to go...

Also, use the Protocol "YMSG-15 / Messenger 8" as the older Protocols are being turned off...

Wednesday, July 8, 2009

Yahoo! Messenger

What's new In This Version?
  • Fast, Safe Login - Login quickly and safely without anyone being able to steal your password.

  • GUI changes - keyboard shortcuts, menus, improved conferencing, toolbars are all updated to offer a common user experience across platforms.

  • Contact Info - Enter details of your friends on any Operating System / Yahoo! Messenger and those entries show up on Unix. Your friends are now associated with nicknames, which can be used to replace unintuitive ID's in conversations and all displays.

  • Content - Richer content from Yahoo! Now enjoy Finance, News, Sports, Weather, Bookmarks, Travel, Auctions and Calendar

  • Typing Notifications - Get to know when someone is talking to you as they talk to you.

  • Performance Improvements - Faster execution of comands and lower memory usage with increased stability

Yahoo Messenger


Tuesday, July 7, 2009

Ubuntu KungFu

Ubuntu Kung Fu provides hints, hacks, tweaks and tricks for every level of user. Guaranteed to be free of the usual dross that fills tips books, Ubuntu Kung Fu is written to be entertaining and, above all, readable. Its 300+ concise tips utilize and exploit hidden or lesser-known features to boost day-to-day productivity. You'll also find tips on tweaking Ubuntu, wrangling the system into shape, optimizing, enhancing security, and lots more. Learn what extraordinary things can be done with Ubuntu. Written with the migrating Windows or Mac OS X user in mind, Ubuntu Kung Fu avoids the usual Linux/Unix folklore that can send most of us to sleep. The tips have one aim--to produce results as quickly as possible, in an environment where the reader can polish their skills as they read. This is the Linux book for the rest of us.

Monday, July 6, 2009

Resapplet

Resapplet is a simple utility that sits in the system notification area nd allows switching the resolution and refresh rate. 
It uses the randr extensions to switch the resolution on-the-fly and user esolution preferences to save the resolution.

It works in both GNOME and KDE, because it uses the system notification area.
To install:
#apt-get install resapplet
After install, the new icon will then appear besides NetworkMonitor in the notification area.
In order to start automatically, add in the System -> Preferences -> Sessions