Restricting Users to home directory in ftp(vsftpd)

  • 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
Posted in ftp | 1 Comment

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

 

Posted in ftp | Leave a comment

Welcome

Hello,
welcome to my site..

🙂 Have a Great Day!

Posted in Other | Leave a comment

Debian Wireless Problem "device not managed"

In debian after installing the wireless drivers its displaying the the wireless device status as “device not managed”.1. For it have to open the file /etc/NetworkManager/nm-system-settings.conf

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..

Posted in Debian OS | Leave a comment

Installing PERL IDE in Eclipse

          i am installing the PERL IDE in eclipse, the Eclipe IDE & Perl packages are pre-installed in my system.

Firstly after launching Eclipse IDE,we have to go to software installer by clicking on Help->Install New Software and a new window appears as above. Then click on the Add button and give the Perl package repository as http://e-p-i-c.sf.net/updates and click ok, you can see it in below screen shot.
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.
After successful installation Eclipse requests for restarting, you can select yes if you want to restart by applying changes or select no if you are in middle of some work or just select to apply changes and you can restart later.
Finally after restarting the eclipse you can check Perl installed by clicking on the File->New->Other  you see a window prompt like above and there select the Perl File or Perl project and you can start working.
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.

 

Posted in Eclipse IDE, PERL | Leave a comment

Installing PHP IDE in Eclipse

Firstly after starting Eclipse IDE, select Install New Software by going to Help->Install New Software you will be getting the above prompt there by clicking on down arrow mark select the repository, i have selected the Galileo repository or if not available add the repository by giving name as Galileo Update Site and url as http://download.eclipse.org/releases/galileo/ than click Ok.
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.
After successful installation Eclipse requests for restarting, you can select yes if you want to restart & apply changes or select no if you are in middle of some work or just select to apply changes and you can restart later.
Finally after restarting the eclipse you can check PHP installed by clicking on the File->New->Other  you see a window prompt like above and there select the PHP File or PHP project and you can start working.

Posted in Uncategorized | Leave a comment

Installation of VMware In Debian Squeeze

1. Firstly Downloaded the file from
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.

Posted in Debian OS | Leave a comment