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

learn more… | top users | synonyms (1)

12
votes
3answers
1k views

Server credential management for Linux and Windows

We are a relatively small shop (as far as number of sysadmins) with a mix of RHEL, Solaris, Windows 2003 and Windows 2008 servers; about 200 servers in all. For our administrator accounts (root in ...
0
votes
3answers
267 views

Server architecture for a read-heavy website

The site is a custom written PHP application with a nearly 3NF (highly relational, many foreign keys) Mysql database. This website is about 90% read / 10% write. Currently, we are on a VPS with ...
1
vote
2answers
2k views

Easiest way to sync two folders

What's the easiest way to sync the contents of a folder on a Mac OSX machine with another folder on a Linux server? You can use scp: scp -r /path/to/folder/ username@IP_ADDRESS:/path/to/sync/with ...
119
votes
9answers
64k views

Keeping a linux process running after I logout

I'm connecting to a Linux machine through SSH, and I'm trying to run a heavy bash script that makes filesystem operations. It's expected to keep running for hours, but I cannot leave the SSH session ...
0
votes
2answers
74 views

what this command will do

Mistakenly i run this command cat /etc/* want to know what it can effect on my Linux system what i was wanted to see the distribution of my sytem so cat /etc/*-release when i run this command ...
0
votes
1answer
282 views

How to get the postfix work?

Briefly describle my testing env window7 (192.168.0.10) with vmware server 45G virtual harddisk with CentOS 6 (192.168.0.13), router Dmz 192.168.0.13 everything(http, ftp, ssh, mysql, phpmyadmin) ...
3
votes
1answer
385 views

Has anyone seen this kernel panic? What to do? (Ubuntu 10.04 LTS)

The last few weeks, we've been getting this kernel panic on one machine or another out of a cluster of 15, about one every four days. The machines are all running Ubuntu 10.04 LTS with Erlang R13B03; ...
1
vote
1answer
304 views

OpenVZ with RHEL6 kernel & page cache?

After upgrading kernel from debian 2.6.32-openvz-amd64 to RHEL6 2.6.32-042stab035.1, I have problem with kernel page cache. Looks like no OpenVZ containers use page cache and now I have 10-15GB free ...
1
vote
1answer
164 views

Redirecting local domains in WRT120N

I have a WRT120N and I want that my users go to 192.168.1.108 when they type server in the browser. It would be great to modify the host file but I couldn't find that option in the web interface of ...
4
votes
2answers
4k views

determine ulimit for root user

we believe we have increased the max open file descriptors for the root user. This was done by adding this line to /etc/security/limits.conf: * - nofile 2048 We think we've ...
0
votes
2answers
85 views

User groups in Linux

Something is wrong. I've a user U which has primary group A and secondary B. Folder /www/dev is now 775 and set to user www-data and group B But my user U does not have writing permissions to that ...
1
vote
1answer
712 views

linux kernel 3.0.0 i7 CPU overheats and locks up

The server with i7 CPU (Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz) under linux kernel 3.0.0 (3.0.0-10-server) generally works properly, but when it is put under heavy load - it overheats (as shown by ...
0
votes
2answers
746 views

Point apache to NAS folder?

I have a NAS on which I have a RAID 10 array that I use as my GIT repository, I like my clients to have access to the site's builds right down to the latest commit. My plan is like so: ____________ ...
20
votes
6answers
6k views

Bidirectional real-time sync of large file tree between two distant linux servers

By large file tree I mean about 200k files, and growing all the time. A relatively small number of files are being changed in any given hour though. By bidirectional I mean that changes may occur on ...
3
votes
4answers
1k views

What are the cons of restricting chmod to root/sudo users?

I have an issue with some of my users misusing chmod by doing things like chmod 777 ~ -Rf I'd like to disable chmod so that only users with full sudo rights (I.E. IT) have rights. Are there any ...
1
vote
1answer
1k views

lftp, setting for ignoring time-stamp?

I am using lftp for mirroring the files on a server to a PC. The problem for me is that as I put a batch of files on the PC that are exactly the same as the ones on the server, the mirroring starts of ...
0
votes
1answer
600 views

Debian Server Backup in Realtime - Mail, Apache, MySQL

I'm looking for a backup strategy for my production server. It should be fully automatic and as "real-time" as possible. Further, i don't want to do much to recover everything. Let's say like a ...
0
votes
3answers
197 views

Establish Linux to Windows connection [closed]

We can establish connection between Unix based machines using these commands - ssh telnet but how to establish a connection between a Linux and Windows? Putty, WinSCP etc are used in Windows to ...
3
votes
1answer
3k views

How to mount vfat drive on Linux with ownership other than root?

I'm running into trouble mounting an iPod on a newly upgraded Debian Squeeze. I suspect either a protocol has changed or I've tickled a bug, which I don't know where to report. I'm trying to mount ...
2
votes
1answer
363 views

how to enable selinux in kernel

I am working with the Linux -64 AMI on AWS. I am trying to get my mail server running on the box. In an attempt to turn on SELinux I did Edited /boot/grub/grub.conf and added selinux=1 to the end ...
1
vote
1answer
439 views

How to disable local switching in linux

I am running a server on one interface and a client on another. For certain reasons, I need to make sure all the traffic egresses from the box and isn't locally switched inside the Linux networking ...
4
votes
3answers
87 views

Dump MYSQL databases to induvidual files

Has anyone got a one liner (command line) that will dump all databases to seperate dump files e.g. forumdb.dump wikidb.dump etc.
5
votes
4answers
6k views

Linux server ran out of memory stopped everything except ssh and swap was unused

A few days ago my linux apache server ran out of memory. The server is a xen guest. The server killed all my processes except ssh (even cron, monit, syslog). A minute before it ran out of memory, a ...
0
votes
1answer
169 views

Postfix forward mail to named pipe

In Postfix I can configure to forward emails to a script in /etc/aliases like mailuser: | mailprocessor.pl If I create a named pipe with mkfifo /opt/mypipe and then change /etc/aliases to write ...
1
vote
4answers
186 views

Server Configuration to Prevent Code Injections

Back story: I was cleaning up hacked web space on a shared host the other day, and found a script in the web directory that allows the attacker to inject code into all php and html files in the web ...
0
votes
1answer
2k views

Understanding Java's memory usage (JIRA/Tomcat)

I have a CentOS virtualized server and I just installed Jira. I'm having trouble understanding what is going on with the Sun JVM whenever Jira is running. Java's max heap size is set to 384MB but the ...
2
votes
3answers
9k views

Setting up Apache to use multiple cores

Recently I have purchased a 6 core server which is running Ubuntu 10.04 and Apache. How do you set up apache to use all 6 cores and what is the best practice to do this? Is it possible and if it is ...
-1
votes
1answer
1k views

How to add a private IP for OpenVPN

I want to give a specific user his own private IP to use. How do I assign this in OpenVPN? I have googled on the specific terms, but I couldn't find anything useful. Anyone here with more experience ...
0
votes
2answers
702 views

Subversion Edge fails after setup

I've set up Subversion Edge two or three times on (linux) servers now, and after an undetermined about of time, it just fails. I install using the included readme and get everything up and running. ...
1
vote
1answer
976 views

Cannot start MySQL 5.5 as normal user (fedora 15)

service mysqld start gives me: Starting mysqld (via systemctl): Job failed. See system logs and 'systemctl status' for details. [FAILED] ...
4
votes
4answers
854 views

User creation on Linux Redhat

Is there anyway one can determine when a user was created on Linux? I know of a couple of things one can do,but it's an unreliable way of doing it. The first option is checking when the home directory ...
0
votes
1answer
210 views

file utility on linux does not give MIME type for certain m4v files

We're using the file utility on linux to determine the file MIME type (and this information we subsequently use), which seems to be failing on some m4v files, but not on others. Running ...
1
vote
3answers
344 views

Check file integrity while writing

I'm doing backup with the command like following: ionice -c3 tar -ch data | lbzip2 -n 4 | ionice -c3 tee /mnt/smb/out.tar.bz2 > /dev/null and after that I'm trying to restore data from backup: ...
2
votes
2answers
893 views

How to synchronize command calls on Linux

This is my specific problem I need to solve (But my question is different, so please read on even if you don't know what fail2ban is): I'm trying to use fail2ban on a linux server to ban brute force ...
0
votes
1answer
797 views

Trying to bridge NIC. What does this error mean?

I would like to bridge between br0 and tap0 for my OpenVPN server, but I get the error at the bottom of this post. Background The server have one physical eth0 with IP xxx.xxx.68.58. The bridge ...
1
vote
1answer
6k views

Unable to Login to kadmin from Kerberos Client

I have a small problem of getting my client to authenticate to a kerberos server that I just setup. Whenever I run: [root@localhost log]# kadmin -r KERBEROS.MONZELL.COM -p host/kerberos.monzell.com ...
2
votes
1answer
1k views

How can you designate an arbitrary leading path when adding files to a tar?

Is it possible to set an arbitrary path within a tar archive to place files which may not exist on your original filesystem? This differs from the -C switch in that I may want to take a back up of ...
3
votes
2answers
1k views

iptables rate-limit module problem

I am using iptables' rate-limit module to prevent DoS attack (I know it cannot stop a full scale DDoS but at least it can help with smaller attacks). In my rules I have something like: ...
2
votes
1answer
2k views

Problem with mixed cases in username

We have integrated a linux thin client with an AD using kerberos, pam and winbindd. We are using pam_mkhomedir to make the home dir, and that works fine. But the login scripts don't run when the AD ...
5
votes
3answers
3k views

Linux User and Permission Management within an AD Environment

Issue: Centralized user management and user permission mangement of user access needs for resources (access to services, home directories, joining to local user groups, file system permissions, etc.) ...
1
vote
1answer
200 views

Copying a file between folders on the same NFS mount

What is the best way to duplicate a file on an NFS mount, specifically is there any way to to that without looping the read/write back through the local network interface? I have a large application ...
1
vote
1answer
338 views

is there any conflict between HP blade system ProLiant BL680c G5 hardware and Redhat Linux Enterprise 5.5 or 6

We're going to install Linux Red Hat enterprise 5.5 on HP blade server that is connected to a part of SAN storage MSA 2000. I've tested both marked and unmarked sda option in partitioning. I did this ...
1
vote
2answers
608 views

AllowGroups and Match Address for SSH

I have a home server with some SSH accounts that have weak passwords. Since we only used it locally, that's not that big a problem. Now I want to allow external access from only one account, but ...
1
vote
2answers
1k views

SCP does not completely transfer file

I am trying to transfer a large (1.5 GB) text file using SCP. While the transfer finishes normally, only 1.4 GB are transferred. Is there any reason for this incomplete transfer. I am on Ubuntu 10.04
-1
votes
1answer
208 views

Help, ive just corrupted my ext4 partition

After troubleshooting problems with my mdadm config and kernel settings for about a week now i got careless and left my data drives plugged in after a successful boot test. i was attempting to change ...
4
votes
2answers
5k views

Best file sharing protocol for Windows clients?

I want to share files on a Linux server with Windows 7 clients. I have a choice between multiple file sharing protocols: SMB/CIFS, FTP, WebDAV, NFS… question is: which one is the best for my needs? ...
3
votes
1answer
161 views

Syncing files from multiple sources to a master copy based on modification time

I use rsync to bring files from multiple servers to a "master copy". Sometimes the same file has different content in different sources. What I want is to keep the last modified one. I wish rsync had ...
1
vote
2answers
3k views

HAProxy seems to be load balancing instead of following ACL rules

I'm seeing some really odd behavior with HAProxy. I have the following setup below designed to allow example.com/wiki to go to one server and example.com/ go to another. The trouble is that it seems ...
1
vote
2answers
2k views

Confused about what Amazon EC2 image (AMI) to use for CentOS

I use Fedora as my home machine and thus wanted to use Centos 6.0 linux as amazon EC2 instance. Here is the thing though - Amazon gives you long list of very unscientifically sorted instances, some ...
5
votes
1answer
15k views

How do I give a user access to /var/www/html?

I'm new to Linux admin'ing. I created a user named webadmin and I want to give it permission to read/write in the /var/www/html directory. How do I go about doing this?