SSH Unzip Command Changes Files To Lower Case
Oct 4, 2008
I have a small issue that's probably easy to answer. If I upload a zip file to a Linux server, and run this command via SSH:
Code:
unzip -a name_of_zip.zip
Although it does unzip the directories as expected, it makes all file names and folders lowercase. This is a problem when trying to install software that relies on case sensitive names.
Does anyone know what command tells the server to retain the file names and not alter them?
View 1 Replies
ADVERTISEMENT
Mar 27, 2009
I need to show a listing of all files in a directory that match a certain string, with *either* upper or lower case.
So if the contents of the directory are:
FILE1.txt
file1.txt
And then I do an "ls *file*"... I need both files to be in the results.
how can I do this? I couldn't find an "ignore case" switch when doing a "man ls".
View 2 Replies
View Related
Apr 3, 2007
I want to know that is there any ftp program by which I can unzip files on my server.
View 3 Replies
View Related
May 29, 2008
what command to type if I want to check all latest files (edited/saved) on a certain folder?
View 2 Replies
View Related
Jul 16, 2007
I am trying to move over a client from Verio's hosting to my VPS. The verio control panel looks very amateurish and there is no option to do a full account backup. There is no SSH either.
I tried wget -r ftp://user:pass@hostname/directory/* which was mentioned in another WHT thread, but after it gets connected, it shows the following and stops there:
Quote:
Logging in as accountname ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /directoryname ... done.
==> PASV ...
Can anyone suggest a command that will work? There is only about 35 MB of files there, but I spent hours yesterday trying to download through FTP.
View 5 Replies
View Related
Jun 26, 2007
I have had multiple websites hacked and need to do a cleanup. I need to run a command that will log all files (including path to that file) that contain <!-- ~ --> to a text file from the /home/* directory.
So far I have recieved 2 different ways to do it but none of them have worked
View 5 Replies
View Related
Mar 6, 2007
I got our server staff to install BackupPC on our dedicated server and run daily backups. All is well (from what I can tell) but i've come to a point where I want to actually use an archived file.
So I jump into my ftp client, navigate to the backup folder, and download the file. The problem is, the file reads as jibberish. I'm assuming that BackupPC has compressed it.
So the question is two-fold:
1. How do I decompress it on windows (command line stuff is well beyond me)
2. Is there any browser/windows apps that I can use to manage the backups?
View 1 Replies
View Related
Aug 22, 2009
I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?
View 3 Replies
View Related
May 12, 2007
I want to install a script on my webspace, and I have to enter the path to unzip. But what is unzip? How could I find out the path?
View 1 Replies
View Related
Oct 17, 2009
I have VPS with centos 5.3 installed ..
i tried to unzip zipped file of 5 gb but i got error
file greater than 4294959102 bytes
From the SSH i use unzip filename.zip
i do have enoght space more than 30GB ..
View 5 Replies
View Related
Feb 14, 2009
I'm hosting some domains on a whm setup. One of the domains has outgrown the shared hosting setup, so I'm moving it to it's own vps. I want to limit the downtime, and I understand I should lower the TTL on the domain.
The registrar is Network Solutions and the nameservers are pointing to the shared host (which is on a whm/cpanel setup). How can I lower the ttl on this domain? Do I have to move the domain to a more advanced DNS service to achieve this, or is this something I can do within whm?
View 9 Replies
View Related
Feb 23, 2008
I don't mind have nfs running, but how do I keep it running at the lowest as possible... seems like it's hogging up all my usage/cpu's...
View 2 Replies
View Related
Jan 31, 2008
I was checking my server information today on WHM panel and this is what I saw:
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Processor #1 speed: 1596.000 MHz
Processor #1 cache size: 4096 KB
Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Processor #2 speed: 2660.000 MHz
Processor #2 cache size: 4096 KB
Why is the Processor #1 speed labeled as 1.6 ghz? Processor #2 speed never goes down no matter how high the load is. Could it be the reason that my server can't handle 4 websites with a cumulative total of 20k unique hits per day?
View 8 Replies
View Related
Aug 14, 2008
I'm having a problem with high MySQL CPU usage on my server, one of my sites is getting hit pretty hard right now and MySQL is just killing the box. Its averaging a load of over 20, CPU usage is around 130%.
here is my my.cnf file. is there anything in their that should be changed to help lower the CPU usage?
# The MySQL server
[mysqld]
port= 3306
socket= /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 256M
max_allowed_packet = 1M
table_cache = 512
max_connections=500
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 2
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
Server Specs.
Pentium E 2.0Ghz
2GB ram
2x 320GB hard drives.
Cent OS 5
Cpanel
View 5 Replies
View Related
Jun 18, 2007
On a Cpanel server, lightly loaded, but some fairly large sites (~3GB stored) loads get pretty high during CP backups (D/W/M to secondary drive, compression on). It looks like RAM is showing mostly used during this time (977,555 out of 1,026,348), and iowait is ~50, sometimes quite a bit higher at ~80 on the larger accounts. Not pegged at that amount, but fairly steady. This box only has 1GB RAM, so I'm thinking adding another Gig would alleviate this issue.
OS: CentOS 4.x
Hardware: Intel P4 3.6HT/1024MB/2x160GB
View 12 Replies
View Related
Jun 27, 2009
I'm gathering info for getting a new dedicated server, planning on using my own colocated hardware, but still looking at what's available in dedicated servers at the same time.
There are lot's of dedicated servers being offered at prices lower than 1U colocated rackspace. How's that possible, what am I missing?
View 13 Replies
View Related
Feb 13, 2008
When i check the server status is shows a high server load.
How do I lower the server load? it looks like for mysql activity.
View 14 Replies
View Related
May 8, 2007
I host my DNS with DNSmadeeasy.com , I noticed that I have daily more than 350.000 DNS requests for main domain, This domains got about 80.000 uniqes/day, so this is strange how can there be 350.000 DNS requests/day. Seems that I'll go over the quota because of this.
The TTL for all domains is set to 86400.
Is there a way to discover how its possible ? And also is there a way to do something to make this number lower (DNS requests)
View 1 Replies
View Related
Mar 9, 2008
to buy a good dedicated server to serve my clients here. So im looking from advices on a good hosting company USA based.
But i have been ping several major hosting USA company (like, mediatemple, theplanet, etc...) and i still didnīt get a Ping under 130ms.
If i ping a good EU company i get 60 to 90ms.
I know that the distance is bigger but,
Does anyone knows any good USA hosting company with a Ping to Europe lower than 100ms?
My budjet goes up to 800 $/moth
View 14 Replies
View Related
Oct 11, 2012
Does the apache virtualhost environment lower the web or apache server's security? virtualhost has no security issues.
View 3 Replies
View Related
Nov 22, 2008
I'm trying to do this
/usr/bin/gzip -p /home/mysite/public_html/shop/feeds/myfile.xml.zip > /home/mysite/public_html/shop/feeds/myfile.xml
But it just tells me
/usr/bin/gzip: invalid option -- p
X-Powered-By: PHP/5.2.5
Content-type: text/html
How do I find the correct option to unzip first file to second file?
View 8 Replies
View Related
Dec 20, 2007
Using Red Hat EL4 with Apache 2
Is there any way to setup the server to ignore case-sensitivity? For example:
[url] is the same as
[url] or
[url]
Regardless of what is upper or lower case that it goes to the same directory.
View 9 Replies
View Related
Apr 12, 2007
Got a question about cases fans but know someone will have a laugh at me about this.
We have recently moved from 1u supermicro cases to matx cases to lower the general server cost. We realised that we wouldnt fill 2/3 of a rack if we used 1u (16 amps power would be hit) and it was just logical to use matx.
One worry is the heat factor so was looking at some powerful fans. The one place I know where to get them from is our dyanatron supplier but I am left very confused. You always see on fans they use 0.3amp/12v (for example) but how much does that work out to be at the final power usage? this goes for the same in watts. Are fans something you have to worry about in the long run or do they make a non exsiting dent into a racks amp usage?
View 5 Replies
View Related
Sep 26, 2007
I figured this would be the place to ask this question as the parts Im using are ex-server :-))..
Basically, I've purchased an old dual xeon board with matching xeons and I'm after a case. However the motherboard is EATX, and dosent seem to fit any of my ATX cases.
So, what case should I go for? Im trying to make it a cheap as possible.. Also I live in the UK.
I saw, this case. I figured for that price I cant go wrong. But will it fit an EATX?
View 2 Replies
View Related
Jul 14, 2007
upgrade fails often with severe issues.
My server had issues and it took me 3 days to solve it.
Plesk gives only paid support and not wanting to pay them more then the license I just bought 2 months ago I read the forum threads and found a work around that finally worked.
If you are considering to upgrade - please check out their forums for issues first as it's very common to have them...
View 2 Replies
View Related
Feb 23, 2007
I'm planning on replacing my current celery server with Core 2 Duo using PDSMI+ board. My colo contract is for a 1U, so I need a 1U case. I'm looking for a cheap 4 SATA hotswap case for it.
Anyone know of any other case that fits the requirement and is cheaper than the SC813MT-300C chassis? (looks like going price for this case is just over $250.)
View 8 Replies
View Related
Oct 6, 2009
I have a 6RU rackmount server cabinet, which I am putting a 1RU server inside.
I am wanting to put some fans in the metal cabinet, to bring in cool air, and let out warm air.
Does anyone know where you can find these sorts of fans?
Because the server inside the rack cabinet is closed, I can't use a fan with a Molex connector.
I haven't seen any case fans that use a usb connector, or just a normal power outlet connector.
View 1 Replies
View Related
Jan 14, 2008
does anyone know what desktop motherboard can it fit? prefer AMD desktop motherboard.
View 14 Replies
View Related
Sep 19, 2008
I'm reeling right now after my shared hosting has been down for more than 24 hours (and this isn't one of the super-cheapies, it's in the $20-$30/month range)
In the future I'd really like to be protected against this kind of outage... I know downtime is inevitable with any host, so I'm wondering if it's possible to have some kind of failover system. Maybe I could get a second account with a bargain basement host (<$10/month) and keep it relatively up to date with a mirror of my site. But I don't know how I could manage the DNS so it went to the second host in the even of a failure on the first....
Does this kind of redundancy exist as some product in the industry that I don't know about (is that what "colocation" is?)? Is it likely that my host has the ability/willingness to redirect my domain (302 or something) in times of trouble like this?
View 14 Replies
View Related