- Open the file /etc/vsftpd/vsftpd.conf with any text editor.
- set the option chroot_local_user=YES if available or else append the option at the end of configuration file.
- restart the vsftpd server. # /etc/init.d/vsftpd restart
Restricting Users to home directory in ftp(vsftpd)
Disabling Anonymous Users Login to ftp server(vsftpd)
- As root user open /etc/vsftpd/vsftpd.conf with any editor
- By default anonymous_enable=YES means allows anonymous users set anonymous_enable=NO which disables anonymous users logging in.
- restart the service by giving # /etc/init.d/vsftpd restart
Debian Wireless Problem "device not managed"
2 Change the Settings of ifupdown managed form false to true
[ifupdown]
managed=false
[ifupdown]
managed=true
3 After that have to restart the network manager and networking
/etc/init.d/network-manager restart
/etc/init.d/networking restart
it started working..
Installing PERL IDE in Eclipse
![]() |
| Here i have entered the repository details to be used as default for PERL packages installation. |
![]() |
| In the above screen shot displays the list of packages available in Perl repository. |
![]() |
| Here in above screen shot we mark the Perl packages by selecting the check box and just click on next to continue. |
![]() |
| Here in above figure it displays the following packages to be installed, just click on the next and continue. |
![]() |
| After selecting the packages it prompts the License agreement, just go through the license agreement and click on i accept and click on next to continue installation process. |
![]() |
| After accepting the license agreement it displays the installation process as above.if you want you can check out the details by clicking on the details. |
![]() |
| After Downloading for installing packages it displays the security warning due to unsigned content, if you want you can check out the details or just continue by clicking on ok. |
![]() |
| The above screen is if you want to change the Editor properties than you can change by going to file menu Window->Preferences a window opens there select Perl and you can set you editor settings. |
Installing PHP IDE in Eclipse
![]() |
| After selecting the above repository, it takes some time for loading and displays as above. |
![]() |
| The PHP Development Toolkit will be present in the web,XML and JavaEE Development Group. |
![]() |
| After Selecting the Web,XML and JavaEE Development Group in it select the Check Box of PHP Development Toolkit and click on Next to continue. |
![]() |
| After Selecting the PHP Development Toolkit it displays the list of packages related to PHP are going to be installed by default with PDT, Just click on next and continue. |
![]() |
| After selecting the Packages before installing it prompts for Accepting the License agreement, just go through the License agreement, select accept and click on next to continue. |
![]() |
| Now it starts installing by downloading packages from the eclipse repository, for downloading packages it takes time based on your internet speed. |
![]() |
| After Downloading for installing packages it displays the security warning due to unsigned content, if you want you can check out the details or just continue by clicking on ok. |
Installation of VMware In Debian Squeeze
http://downloads.vmware.com/d/info/desktop_downloads/vmware_workstation/7_0(have to register or should have an account to download, select either 32bit or amd64 bit).2. After downloading given the executable permission to file as root user.
chmod +x VMware-Workstation-Full-7.1.3-324285.x86_64.bundle
3. Than just installed by giving the command
# ./VMware-Workstation-Full-7.1.3-324285.x86_64.bundle
it prompts for license agreement, product updates, eclipse directory for virtual debugger, eclipse c,c++ debugger plugins etc. just select yes or no based on requirement and finally press enter it starts installing.
4. After successfull installation in debian go to Applications->System Tools->VMware Workstation and open it.
While opening displayed a prompt saying VMware Kernel Module Updater stating Kernel Header version 2.6.xx-x-amd64 not found or specify the prompt where kernel header is located to install.
5. Than installed the kernel headers for debian by giving
# apt-get install linux-headers-2.6.xx-x-amd64
after that close the window and restarted it again.
6. Next while starting a prompt appeared stating “Before you can run VMware, several modules must be compiled and loaded into running into the running kernel.” just selected install. prompts for root password and continue.
7. Immediately prompted a new window stating “unable to build kernel module see log /tmp/vmware-root/setup-3037.log (which is the compiler and necessary building tools haven’t installed.)
8. installed the package build-essential by
# apt-get install build-essential
9. than again went back and selected the install option it started running fine.
10.Every thing done, prompted the license agreement and finally Started. ![]()
Note: A registered key is required to start working with it.
Easy Bloggging Through GNOME Desktop
My first post using gnome-blog.
gnome-blog, drivel clients for blogging through Gnome desktop instead of logging and posting through the blogger.com, even (lekhonee-gnome) for wordpress bolgs.
installing:
#apt-get install gnome-blog
or
from synaptic package manager search and select ‘gnome-blog’ than click mark for installation later click on apply.
Running:
Applications –> Accessories –> Blog Entry Poster.
or
Right click on panel –> add to panel –> Blog entry poster –>Add
it will be appearing on panel just left click and start posting..
Setting Preferences:
- In preferences select the Blogger.com.
- set the username and password
- click on the look up button & choose the blog for which the posting to be done.
List of packages in E-Swecha OS
- gdm, gdm3, gnome, gnome-desktop-environment, xserver-xorg, xfonts-base, openssh-server, gedit, synaptic, evince, iceweasel, unrar-free, bzip2, gnome-applets, python, build-essential, elvis, qcad, pidgin, barsero, xsane, g++, gcc, gcj, fortan, mysql-query-browser, mysql-admin, mysql-server-5.1, postgresql, anjuta, eclipse, openoffice.org, planner, quanta, bluefish, apache2, nasm, umbrello, dia, bugzilla, gdb, gimp, blender, inkscape, qucs, scilab, vlc, php5, oregano, ghdl, gtkwave, freemat, texlive, octave3.2, jikes, gcj
Network Bandwidth monitor tool : ntop
What is ntop?
ntop is a network traffic probe that shows the network usage, similar to what the popular top GNU/Linux or Unix commands does. ntop is based on libpcap and it has been written in a portable way in order to virtually run on every Linux or Unix platform and on Win32 as well.
Download ntop for GNU/Linux
http://www.ntop.org/ntop.html
ntop Documentation
http://www.ntop.org/documentation.html
Install ntop in debian
#apt-get install ntop
During the setup it will ask you to select the interface nTop will listen on (i.e. put in promiscuous mode). Note that it says that you can enter a comma-separated list of interfaces so you could install multiple NICs in a system and monitor multiple LAN segments on the same system.
Accept the ntop user name by hitting Enter. After the program is set up you’ll see the message:
device eth0 entered promiscuous mode
A few seconds later you’ll see the message:
device eth0 left promiscuous mode
The NIC dropping out of promiscuous mode indicates a problem. Here the “problem” is that we need to set a password for the nTop account we created during the nTop installation
(that the daemon uses). To do that, enter the command
#ntop -A
or
# ntop –set-admin-password
The uppercase A switch is for setting the program’s Admin password. After entering (and re-entering) a password, restart the process.nTop runs as a daemon.
Now that nTop is configured and running, just point a Web browser
at port 3000 on the Debian system. For example, if the Debian system’s IP address is 10.2.0.20 then you’d type in the following in the address bar of a browser running on a system on the same network:
http://10.2.0.20:3000/
If you want to start and stop ntop run the following commands
#/etc/init.d/ntop stop
#/etc/init.d/ntop start
If have any problems you need to check the readme file located at /usr/share/doc/ntop/README.Debian this file details as follows
ntop admin password need to be set:
===================================
When ntop is installed at the first time, you MUST set the administration
password for ntop (user ‘admin’). You do that by running ntop with the option
-A (or –set-admin-password) as root.
# ntop –set-admin-password
It will prompt you for the password and then exit. Now start the ntop
daemon.
# /etc/init.d/ntop start
Note that you can not run ntop as a user as it need full access to the
devices and only root have such access. After it has got that access it
will change user to ntop or whatever you have configured it to. You have
to make sure that the user have access files in /var/lib/ntop. This is
normally fixed by the installation script but it may fail.
Ntop will be started at every reboot when the admin password has been set.
ntop protocol list:
===================
If you start ntop in daemon mode with the supplied init script it will
automatically use /etc/ntop/protocol.list to choose which TCP Protocols
should be monitored. The format of this file is simply:
=
where label is used to symbolically identify the . The
format of is [|], where
is either a valid protocol specified inside the /etc/services file or
a numeric port range (e.g. 80, or 6000-6500).
log and rotation:
=================
Logs are placed in /var/log/ntop/ and will be rotated every week. The
log rotation will restart the ntop server which will reset the ntop
statistics. If you want to keep the statistics you have to edit or delete
the /etc/logrotate.d/ntop file.
upgrade notes:
==============
Option names may have been changed between ntop versions. You can either
change them in /etc/default/ntop or rerun the configuration using
dpkg-reconfigure ntop.




















