November 26, 2014, 01:49:04 PM

News : Linux Help Community Forum..

Recent Posts

Pages: 1 ... 8 9 [10]
Linux Installation Support / Re: How to install iconv on Linux?
« Last post by keen_prat on December 07, 2012, 07:19:16 AM »
As per documentation :
This extension is enabled by default, although it may be disabled by compiling with --without-iconv .

The optional --with-iconv-dir directive is used to specify the location of iconv on the system that PHP is being compiled on, otherwise only the default locations are scanned.
So it is already available and if its not there you can install it yourself..  see itself:
Os Talk / Re: If linux is free why is Africa not using it
« Last post by keen_prat on December 07, 2012, 07:14:49 AM »
Because people are so much used to windows that they are hasitant to try to linux and people should understand Linux is not M$ windows.
Linux Servers Support / What are Inodes and how to increase them?
« Last post by keen_prat on December 07, 2012, 07:13:19 AM »
I recently ran into a problem and I have discussed it here
Failed to open /etc/webmin/webmin/oscache for writing : Disk quota exceeded

It turn out to be inodes limitation provided by host on this machine I am using, but what the heck this all inode is about, I had GBs of space free on that server and still because I ran out inodes limit, I was not able to use it

I get to know about inode usage by
df -i

But thats actually bad, anyways and how to increase them ?
-z is now deprecated but I think I found the solution, I was just trying and it was indeed path issue. I gave it like ./directory-name (as it was in root of archive) and it did the job.
Ya, that was indeed misleading, I had plenty of gigs space available on the server and still that error.
Its resolved now.
Miscellaneous / Re: How to extract a single directory from tar archive using command line
« Last post by dalek on December 07, 2012, 07:05:25 AM »
I think it need to be like this:

Code: [Select]
tar -zxvf archive.tar mydirectorytoextract
You have the order correct but I think you may need the -z option.  Watch that -f tho.  When you use it, it has to be right before the file name, either as a separate option or on the end like you have them.  I ran into that a few times myself.  Also, I read somewhere that you have to put the path to the file you want to extract too.  If I backup /home and then want to extract /home/dale/Desktop then it would be -f /home/dale/Desktop for tar to find the file.  If -z doesn't help, try checking the path.  Maybe it needs that.

Hope that helps.

 :)    :)
Ah, that will do it to.  That error is sort of misleading isn't it?   ???

 :)    :)
Linux Servers Support / Re: iptables question.
« Last post by keen_prat on December 07, 2012, 06:53:30 AM »
As far as I know, you don't need to take all that trouble, in squid.conf  you can set it to listen to local IP only and thats it.
Linux Servers Support / Re: ftp between computers
« Last post by keen_prat on December 07, 2012, 06:52:23 AM »
I feel you can use rsync to synchronize both computer. It uses ssh , so on both computer ssh should be running, its really easy to use rsync and its very powerful.

Its used as :
rsync -r <source> <destination>

rsync -r filename username@

So it will copy your "filename" file to remote computer's /remote/directory and next if you do rsync, it will only update changes so it not copy all content and should be very fast. This technique is used in servers to make backup and its actually real synchronization.
Thanks dalek but I think I found the problem, it was limit imposed by hosting provider in some form of inodes..
Pages: 1 ... 8 9 [10]