Hi All,
There are many articles on setting FTP server in Ubuntu using vsftpd, but I found that most of them don't talk about the Anonymous FTP server. So here are the details.
Step 1. Install vsftpd
> sudo apt-get install vsftpd
Step 2. Need to change the configuration file so that anonymous user can access it.
> sudo chmod 777 /etc/vsftpd.conf
> sudo gedit /etc/vsftpd.conf
> look for anonymous_enable and put its value as YES.
> if you want to enable local access also, set local_enable as YES.
> Most important give the directory location where you will put all the files which you want to share.
for that look for anon_root, if not there then put it there and set its value with location like /home/ftp.
Step 3. your ftp server has been configured now. just start the service
> sudo service vsftpd restart or sudo /etc/init.d/vsftpd start
That's it. just type the ip in browser and you will be able to see all the files in the /home/ftp folder.
Online Diary for trouble shooting of daily technology problems.It have mixture of different flavors of technologies like android, windows problems, linux as well as the good informative links related to online movies or music or travel.
Tuesday, July 19, 2011
android.database.sqlite.SQLiteException: table already exists
Hi guys,
Many times I have faced this problem when I tried to call the db.execSQL(CREATE_TABLE) after openOrCreateDatabase(DATABASE_NAME,Context.MODE_PRIVATE, null); function. And generally it happens when you are trying to create a table in the same database which already have one or more table in i, other situation is when you are running the same program again and again and the same table is already in the database. So to solve this issue you just need to modify your CREATE_TABLE string(which is creating the table).
Generally we directly use “create table TABLE_NAME” which create problem, so instead of it just add one more thing in it, now create table using string “create table if not exists TABLE_NAME”. It will solve your problem. Hope it will help you.
Saturday, July 9, 2011
Bootable Pen Drive : Install Windows using Pen Drive
Hi,
Here is my another experience and blog for it. Today I tried to format my Lappy because it was getting slowed and now and then it was showing some dll errors. But after deleting the partition I came to know that my CD Rom is not working at all. So I have to go for the other option which is installing through pen drive. So here are the steps:
Step 1. go to command prompt. (If you are Vista / Windows 7 user do it in administrative mode.)
Step2. Type Diskpart
Step3. then type LIST DISK
Step 3. It will show you the list of disk. Observe the size. identify which is your pen drive.let us assume it is DISK 1. Now type following commands one by one
>CLEAN
>CREATE PARTITION PRIMARY
>SELECT PARTITION 1 – This 1 remains same always.
>ACTIVE
>FORMAT FS=FAT32
>ASSIGN
>EXIT
Here is my another experience and blog for it. Today I tried to format my Lappy because it was getting slowed and now and then it was showing some dll errors. But after deleting the partition I came to know that my CD Rom is not working at all. So I have to go for the other option which is installing through pen drive. So here are the steps:
Step 1. go to command prompt. (If you are Vista / Windows 7 user do it in administrative mode.)
Step2. Type Diskpart
Step3. then type LIST DISK
Step 3. It will show you the list of disk. Observe the size. identify which is your pen drive.let us assume it is DISK 1. Now type following commands one by one
>CLEAN
>CREATE PARTITION PRIMARY
>SELECT PARTITION 1 – This 1 remains same always.
>ACTIVE
>FORMAT FS=FAT32
>ASSIGN
>EXIT
Step 4. Copy CD/DVD contents to Pen Drive
> xcopy e:\*.* /s/e/f f:\
where e:\ is your source DVD drive, f:\ is target Pen Drive
Step 5.Change BIOS Settings in the target system
Give your Pen Drive priority as 1. Now just save settings and reboot with Pen Drive inserted in it.
That's it. you are ready with your Windows Pen Drive. :)
where e:\ is your source DVD drive, f:\ is target Pen Drive
Step 5.Change BIOS Settings in the target system
Give your Pen Drive priority as 1. Now just save settings and reboot with Pen Drive inserted in it.
That's it. you are ready with your Windows Pen Drive. :)
Tuesday, June 21, 2011
The action cannot be completed because the file is open in another program
Hi All,
One more troubleshooting utility I found today, which I would like to share with you. sometimes we face this problem that we are not able to delete the files, it shows one pop-up saying that "The action cannot be completed because the file is open in another program."
This happens because some other application has lock on this, so to remove there is free utility available called "Unlocker".
You just need to right click on the file and click on Unlocker option. There the file will be shown as processes, just select and click on "Unlock". Thats it. Now your file is ready to delete. ;)
One more troubleshooting utility I found today, which I would like to share with you. sometimes we face this problem that we are not able to delete the files, it shows one pop-up saying that "The action cannot be completed because the file is open in another program."
This happens because some other application has lock on this, so to remove there is free utility available called "Unlocker".
You just need to right click on the file and click on Unlocker option. There the file will be shown as processes, just select and click on "Unlock". Thats it. Now your file is ready to delete. ;)
Labels:
cant remove file,
open in another program,
rahul,
rahul garg
Friday, June 17, 2011
Remove Write Protection from external Hard disk
Hi All,
Sometimes you face the problem that when you try to remove few files or directories from your external hard-disk, it says that if you want to modify it, please remove write protection from external hard disk. So here is the simple solution, I also found it on some discussion forum.
Step 1. Start -> Run -> regedit.exe
Step 2. Go to
Computer\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\StorageDevicePolicies
If StorageDevicePolicies is not there then create a new key.
Step 3. Now Click on StorageDevicePolicies and on the right-hand side there should be a DWORD value labelled "WriteProtect".
Step 4. Do the same with the following two locations (creating any non-existent keys/values along the way):
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control
I hope this will help.
Wednesday, May 25, 2011
Few Useful links
List of Comedy movies
http:/ /www. collegehumor. com/ bestcomedy
Photoshop tricks
http:/ /designm. ag/ inspiration/ 35-amazing-photo-effect-photoshop-tutorials/
http://www.mccannas.com/pshop/photosh0.htm
http:/ /layersmagazine. com/ photoshop-cs4-a-picture-worth-a-thousand-words. html
http://10steps.sg/tutorials/photoshop/creating-an-abstract-watercolor-wallpaper/
BMTC Bus Route
http:/ /www. narasimhadatta. info/ bmtc_query. html
source code for murphy books
http:/ /github. com/ commonsguy/ cw-andtutorials/ downloads
Info about korea tourist place
http:/ /www. lifeinkorea. com/ travel2/ seoul/ 124
Ebook
http://www.epubbud.com/read.php?g=E3A5GQE3
online charts
http://www.gliffy.com
travel guide
http://www.journeymart.com/
add code snippets to blog
http:/ /concise-software. blogspot. com/ 2010/ 03/ enabling-syntaxhighlighter- in-blogger.
Lifehacker's wifi cracker tutorial
http://lifehacker.com/5305094/how-to-crack-a-wi+fi-networks-wep-password-with-backtrack
http:/ /www. aircrack-ng. org/
remove vocals from track
http://r3dux.org/2010/06/how-to-easily-remove-the-vocals-from-most-songs/
http:/
Photoshop tricks
http:/
http://www.mccannas.com/pshop/photosh0.htm
http:/
http://10steps.sg/tutorials/photoshop/creating-an-abstract-watercolor-wallpaper/
BMTC Bus Route
http:/
source code for murphy books
http:/
Info about korea tourist place
http:/
Ebook
http://www.epubbud.com/read.php?g=E3A5GQE3
online charts
http://www.gliffy.com
travel guide
http://www.journeymart.com/
add code snippets to blog
http:/
Lifehacker's wifi cracker tutorial
http://lifehacker.com/5305094/how-to-crack-a-wi+fi-networks-wep-password-with-backtrack
http:/
remove vocals from track
http://r3dux.org/2010/06/how-to-easily-remove-the-vocals-from-most-songs/
Friday, April 22, 2011
Ice Skiing in Korea (Jisan Ski Resort)
As I mentioned earlier Korea is very vibrant and energetic in terms of adventure sports, So here is the details for the Skiing in Korea. I heard a lot about Jisan Ski resort which is very near to Suwon. So Here I am with the details.
How to reach there???
There is free bus service available from the Jisan Resort itself. What you need to do is register to Jisan Ski Resort. And do it 1 or 2 days before, as reservation is required. So this reservation includes Entry ticket as well as the bus ticket. And bus pick-up stand details you can get from the website which is http://www.jisanresort.co.kr/eng/intro02_01.html
It’s around 45 minute’s journey from Suwon.
What to do???
Basically two things are available there one is Ice-Skiing and other is Snow boarding. There are around 7 courts for the same. So according to your practice you can try different courts, But I will suggest try only one thing in a day otherwise you won’t enjoy. Ice-board and Skiing kit you can take from the shops which are there in that area. Try to take these kits from the place which is nearest to the court. Otherwise you have to carry all the kits, which is very tiring effort. .
When to go???
You can check the timings of buses, and you can plan accordingly.
Etc:
There may be some offer available through banks, especially with Citi bank Credit Card. Because one of my friend only paid 10K while for the same I paid 50K won. And also try to take Group Discount.
Labels:
ice,
jisan ski resort,
korea,
rahul,
rahul garg,
skiing,
tourist,
travel
Subscribe to:
Posts (Atom)