Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

1
vote
1answer
8k views

Temporary failure in name resolution

I keep getting an error message whenever doing anything that requires a dns lookup on my centos server. For example: [root@15557 etc]# wget ...
10
votes
3answers
1k views

Temporarlly increasing sudo's timeout for the duration of an install script

I'm trying to write a script, that will install a bunch of software, I'd like to not have to run everything as root, so I'd like to be able to prompt for a password and then go about the install, ...
2
votes
1answer
411 views

Debugging a complete crash / hang?

We're running an Ubuntu instance on Amazon EC2, and we recently had an unexpected (and currently unexplained) crash (not related to their recent outage). The problem was basically that the machine ...
0
votes
2answers
1k views

RHEL/CentOS reassign scsi device letter

if I remove the physical disk associated with /dev/sdb and add a new disk in the same slot, it will be assigned /dev/sdc (or whatever the next available letter is). Is there any way powered on that I ...
4
votes
3answers
274 views

Proper permissions for two developer team on PHP5 Apache Linux server

I was hoping someone could point me in the right direction regarding Linux permissions. I understand how to calculate what permissions are, understand the methodology behind changing them and can ...
0
votes
1answer
354 views

Specifying amanda TCP ports

I'm running amanda and I need it to use a set range of ports to communicate with some hosts beyond a firewall. Using udp port 10080 for the initial communication is fine, but it's currently trying to ...
4
votes
3answers
1k views

ssh still accepts password authentication despite being configured for public-key only authentication (which works!)

I have configured an Ubuntu 10.04LTS desktop install to only allow public key authentication. RESULT: public key authentication works perfectly! QUESTION: The problem is that despite being ...
6
votes
3answers
1k views

/dev/disk/by-id/scsi-* links pointing to sdX instead of multipath device

We have two similar SLES10SP2 servers both using multipath on the same devices from the same storage array. On one server, the /dev/disk/by-id/scsi-* devices properly point at the multipath devices: ...
2
votes
1answer
75 views

Using PHP for Linux Admin?

We've got some CentOS/MySQL VMs that need regular maintenance activities. Cron is the obvious answer for scheduling, but there's a specific set of events and some significant looping/branching logic ...
0
votes
1answer
162 views

Free control panel for my CentOS box

Do anyone have any recommendations for a control panel for my CentOS box? Needs 2 be easy to use... Thanks for the help :)
0
votes
1answer
806 views

Incinga vs Cacti vs Zabbix vs [duplicate]

Possible Duplicate: What tool do you use to monitor your servers? I'd like to get a good overview of the various monitoring tools. I'm looking for something modern, fresh and lightweight ...
3
votes
2answers
9k views

What is mdev and how to /dev/* nodes get created in Linux?

Our Linux kernel is 2.6.31 running on an embedded MIPS processor with busybox. The initialisation script (rcS) starts mdev with: echo "/sbin/stbhotplug" > /proc/sys/kernel/hotplug mdev -s Can ...
3
votes
1answer
289 views

Putting a spare Raid device back to active state

I have a problem with my Raid setup. I have 3 disks in my Raid: md2 : active raid5 sdc3[3](S) sdb3[4](S) sda3[0] 2925532672 blocks level 5, 64k chunk, algorithm 2 [3/1] [U__] md1 : active ...
16
votes
2answers
11k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?
1
vote
2answers
199 views

How do you do your FTP on a web server?

I was just wondering how you do your FTP on your webserver. I've always created a folder in /var/nameofwebsite.com and added a system user with their home directory there. To me, this looks a bit ...
2
votes
2answers
321 views

LAMP stack on 64bit, 16 core box chews up 100% CPU

===SOLVED=== This issue was solved. Turns out that ImageMagick has trouble with multiple CPUs. Compiling ImageMagick to use one CPU solved the problem. ================ I added a new web server as ...
0
votes
1answer
266 views

Adding a drive to a Dell Poweredge 2950

I'm trying to add a drive to a dell poweredge 2950 running RedHat, which already has two drives in RAID 1. The third drive is intended to be separate and without RAID. I've added a virtual drive ...
1
vote
3answers
238 views

Opened 5GB text file in Pico Text Editor, server crashed, SSH no reponse, pinging works

Just opened 5GB text file in Pico Text Editor.. server crashed.. SSH gives no reponse, pinging still works. Will the server recover on its own? And how long will this take? The server has 6GB ram. Or ...
0
votes
1answer
437 views

Redirect port for specific hostname?

Lets say I have two domains pointing to my IP: first.com and second.com pointing to 127.0.0.1 When someone connects to first.com:6000 it should go to 127.0.0.1:6000. But when someone connects to ...
2
votes
3answers
523 views

Share bandwidth between Linodes

I have 5 linode instances, most of them are in moderate use. Recently I opened a site that takes up a lot of bandwidth, and the linode that its on is being hammered with traffic spending my precious ...
3
votes
3answers
1k views

BestReplicated File System - Small, Static Files

As part of our development workflow, we would like to have our build server publish our compiled binaries and other build artifacts to some LAN-based, replicated file system. Ideally, we'd just have ...
6
votes
4answers
1k views

List non-writable files in Linux

How can I get a list of non-writable files within my current directory?
0
votes
2answers
188 views

script - extract multiple files

I have 30 tgz files like these: live-3.0.10-20101031.tgz live-3.0.4-20101005.tgz when I extract them it will be extract in to "live" folder.(ie: tar xvzf live-3.0.10-20101031.tgz will extract to ...
2
votes
1answer
113 views

suspend process if number of hard page faults surpasses a given amount per second

Is there a way in linux to send a signal or otherwise install an handler to be called when a process surpasses a given rate of hard page faults per second? A simple sigstop would avoid many ...
1
vote
1answer
793 views

IP Packet Capture/Manipulation via TUN/TAP

I'm trying to capture and manipulate incoming IP packets (via eth0 interface) by using a TUN device (since I'm only concerned with IP layer). The first step I think is 1:1 packet forwarding from eth0 ...
1
vote
1answer
334 views

MySQL and WordPress Delayed inserts

I have a server with multiple WordPress sites running on it. The server configuration is quite standard: CentOS, Apache, MySQL, cPanel. I have noticed that often I see the following lines in the ...
2
votes
3answers
394 views

wget application replacement

Is there any other application similar to wget? If yes can you post a link?
2
votes
1answer
141 views

OpenVPN network sharing

For some hours I'm already trying to setup a virtual private network between two physical locations (Location A, 192.168.1.0/24), and (Location B, 192.168.2.0/24). I am forced to use a tunnel instead ...
5
votes
3answers
364 views

Is SPF enough to make sure emails get delivered to inbox?

So I just succesfully set up postfix + dovecot. is SPF enough to make sure emails get delivered to my website's users? I don't want my emails to end up in their spam box.
-2
votes
1answer
163 views

Why my IP got blocked from my webserver? [duplicate]

Possible Duplicate: Is there any chance of IP getting blocked?? I have my dedicated webserver in US I was installed sitemap script and was running the same. but frequently the script was ...
0
votes
1answer
131 views

Keep receiving warning for abnormally high response time

I have made an account with Appfirst.com which monitors the linux. Since few days i keep receving email and i don't know what that means . This is the email Over the last 5 minute(s) (from May 02 ...
1
vote
1answer
67 views

Ramdisc for two directories sharing the same memory space?

I need to put two directories into a ramdisc. They share the same parent directory but I can't make that parent directory part of the ram disc. How would I go about doing this?
0
votes
1answer
518 views

Exposing Turnkey Linux VM to public internet

I've got a VMWare server running the Turnkey Linux LAMP Stack. I've been using this server for some development work and want to make it accessible to a colleague for some feedback. As things stand, ...
-1
votes
1answer
485 views

Debian: setup aliases in /etc/profile

I need to run a script in /etc/profile to setup aliases for all users login thru SSH. But this doesn't work: setup_aliases.sh #!/bin/bash alias d='sh /opt/d/d.sh' alias dc='d c' alias de='d e' ...
1
vote
4answers
641 views

Securing an FTP Server

I am tasked to setup a FTP Server, which will receive file uploads from different locations and users. They asked me to setup a anonymous FTP, but that doesn't seem to be secure. I am using Windows ...
2
votes
1answer
95 views

Software for performance testing

Is there a linux tool that acts like ab but for CLI, not HTTP. I want the one that can accept CLI command, number of runs, number of simultaneuously run instances and gives some stats as a result.
-1
votes
1answer
367 views

Is there any chance of IP getting blocked?

I have my dedicated webserver in US I was installed sitemap script and was running the same. but frequently the script was stopped many times. and also parallel I was opened FTP port too. both are ...
12
votes
3answers
26k views

Soft limit vs Hard limit?

Can anyone explain in layman's terms what the difference between soft and hard limit is? Should I set my soft and hard limit to be the same? Or should soft be significantly lower? Does the system ...
1
vote
2answers
424 views

minimum specifications for an high traffic website

I have a website that contains one PHP page that runs 3 simple SQL queries to MySQL database 2 simple select queries and 1 simple update. The HTML output with some images is 500 KB The server needs ...
1
vote
1answer
194 views

What is the best way to estimate hosting/server costs? [duplicate]

Possible Duplicate: Good sites for discussing specific hosting provider/server specification scenarios I'm currently developing a web app that is built on the LAMP stack. I want to know how ...
-1
votes
2answers
258 views

Where can i find the advanced home dir backup scripts

Is there any script for linux which can backup the home directories and mysql databases in separate directories . i mean best of all scripts which is general and any one can use that one. By backup i ...
0
votes
3answers
1k views

virtfs is too big!

I am using cPanel hosting. I rent 20GB and /home/virtfs is taking up nearly 10GB. I read that using jailed shell accounts could be responsible for large virtfs file. Most of the user accounts have ...
-1
votes
4answers
3k views

What is the best to do linux administration via web interfae [closed]

I have written few shell scripts which can do specific tasks . But my mangaer wants that there should be some web interface where , he can run those scripts and function using web . Now i don't know ...
18
votes
3answers
20k views

How can I get user name by user ID?

In my FTP client I can see files' owner ID (99). How do I find out which user is the owner of these files?
3
votes
4answers
911 views

Which Unix book or pdf would advanced users like to keep with them?

I am looking for some books or online pdf or tutorials for advanced Linux system administration which they would always like to keep with them. I mean ones in which there are some advanced, ready to ...
0
votes
1answer
204 views

Dedicated MySQL Server for Large Wordpress Site Memory Usage

Preface We are currently using Rackspace Cloudsites to host a very large WordPress Membership Content site using WishListMember. This setup is kind of slow for the price we pay for it, as Rackspace's ...
0
votes
1answer
389 views

Ubuntu Lucid 10.04 preseed won't mount NFS volume during install

I have a preseed installation, which runs a script on its late_command. The preseed itself works fine, the script - too. I want to mount NFS volume with this script and get the packages from there. ...
3
votes
6answers
5k views

How can I see the memory usage of a Linux process?

how can I see the memory usage of a Linux process?
0
votes
3answers
136 views

Server migration: sync directory

We are currently migrating our servers over to a new platform and I need to keep 2 directories over 15Gb each in sync while testing/migrating services over to our new platform. I have thought of ...
4
votes
6answers
465 views

Is there a Linux utility that can distribute files to an array of hard disks, like a load balancer, but for storage?

I have 2 1TB disks not in any RAID configuration. I'd like files I need to store to be placed on one of the disks depending on the capacity of the disks, and when accessing the file I suppose I'd need ...