0
votes
1answer
30 views

Special Administration Console (SAC) in linux

Windows have Special Administration Console (SAC), same feature is available to linux? Refer http://technet.microsoft.com/en-us/library/cc785873(v=ws.10).aspx
-3
votes
1answer
63 views

What's a good language for linux system administration? [closed]

I've created a set of nifty set of Makefiles for repeating the steps to provision and maintain many AWS clusters. The benefits of make have been: the bulk of the execution are various shell ...
4
votes
1answer
72 views

How (not) to setup lightweight WM for occasional server management?

I'm working with our admin team to firm up all the requirements of the dev team before creating some system images. One of the things we ended up needing is a lightweight GUI setup. Knowing that the ...
0
votes
1answer
51 views

Logging violations of rules in limits.conf

I am trying to log the details of the programs that where failed due to the limit cap defined in the limits.conf. My initial plan was to do it using the audit system. The idea was to track the system ...
2
votes
1answer
149 views

How to manage Linux servers and tasks?

As a developer who is managing more and more Linux servers for my various projects and tasks, I'm starting to seriously think about how to manage these servers efficiently. I have come up with such a ...
1
vote
1answer
40 views

Debian virtualenv location

I have a question that I would appreciate some help with. I want to run a number of sites from my debian server, each with their own virtualenv. Should I be creating my virtualenv in the www-data or ...
1
vote
2answers
87 views

How do you manage updates without a staging environment: CentOS 6.3

I am managing about 20 servers, many of them virtual. They are almost all different purpose, and none are clustered. I have a distributed LAMP stack, a few application servers, some build servers, a ...
2
votes
2answers
176 views

Archetypical user setup for capistrano to tomcat deployment on Linux box

I'm relatively new to the CD and DevOps topics and I am trying to setup automatic deployments with capistrano, which works well on my local add hoc test environment. I wonder however how one would ...
2
votes
1answer
170 views

Software to prevent daemons from binding/listening to local ports?

Having an issue with some not-so-bright developers creating daemon processes that are binding to the (not actually reserved) local ports on our Linux servers. Those ports being defined in: cat ...
0
votes
2answers
2k views

What is the best Linux version to run on virtual box? [closed]

I just started learning Linux administration and i need to practice lessons i learnt on a Linux machine. I have a Windows PC and therefore i thought of running Linux on Virtual Box. Anyone who has ...
1
vote
1answer
48 views

How to find every active SVN repo on linux server

Is there any easy way to find the path of every Directory that is the root of an active SVN repo on a RHEL server? I figure I could do a find for revprops or a directory named hooks or something. Is ...
1
vote
1answer
531 views

keepalived 2 VIP and 2 servers

Is it possible to configure keepalived in a such way? In normal state VIP_1 assigned to SERVER_1 and VIP_2 assigned to SERVER_2 on server failure all VIP's going to working server, and after failed ...
-1
votes
1answer
36 views

manage shared hosting with linux commands [closed]

I have a dedicate Linux server on a data center and now i installed LAMP on it, it works perfectly, But i have a question. I have to config this server to sell shared hots to customers, then i need to ...
0
votes
3answers
1k views

smtpd_helo_restrictions = …, reject_unknown_helo_hostname occasionally rejects mail I care about, how to handle?

I have configured my postfix as follows: smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unknown_helo_hostname This is working well because most spambots don't seem ...
1
vote
0answers
57 views

Process Accounting: Enabling Specific File Logging

I would like to thank everyone who reads this in advance for donating their time to hear my plea. I will try to be as clear as possible. What I am trying to do is figure out a way to enable Process ...
1
vote
2answers
1k views

SSH multi-hop connections with netcat mode proxy

Since OpenSSH 5.4 there is a new feature called natcat mode, which allows you to bind STDIN and STDOUT of local SSH client to a TCP port accessible through the remote SSH server. This mode is enabled ...
1
vote
1answer
2k views

Mysql PID Error, Locking Database

I changed my.cnf file to add some parameters in it but after restarting the service it failed to start giving locking error. i removed locks using rm command and again trying to restart but it not ...
0
votes
1answer
192 views

How to Running applications automatically when X starts? [closed]

for RHEL5 How to run a script or application automatically after starting X server (after loading level 5)?
22
votes
3answers
1k views

What are the actual benefits of assigning sudo privileges to a user instead of using root?

I am fairly new to server administration, and I have seen a lot of sites recommending to assign sudo privileges to a user created by the root user and giving the root user an insanely long password ...
1
vote
2answers
2k views

What is the Linux equivalent of the windows group policy?

I have a number of Linux virtual machines which I use for building software. I am finding that I am having to repeat tasks on several machines such as: Removing software Updating software Adding ...
-2
votes
1answer
472 views

How to effectively partition a new server?

I'm a developer but I've been assigned to a new project were it seems I'll have to wear the IT hat too. Company bought a new server were we'll be running an application which basically "translates" ...
0
votes
2answers
401 views

What is the best practice for mounting storage drives

There is a situation: I have two 1.5 TB drives 1st is for backup 2nd is for storage (movies, www, music etc) I am going to make 3 users: storage, backup and obviously real users peter, george etc. ...
2
votes
1answer
1k views

How to automatically reconcile /etc/group and /etc/gshadow

Running grpck to check the groups, I see these errors: 'twinky' is a member of the 'foo' group in /etc/group but not in /etc/gshadow 'dipsy' is a member of the 'foo' group in /etc/group but not in ...
-1
votes
1answer
136 views

what charset should be on Ubuntu server?

what locale settings I should use for Ubuntu server. LANG=C ? (I heard that it's not good to have any utf8 charset as main locale settings on servers) what I should do to have ability read in ...
2
votes
2answers
321 views

how to email / notify admin when users log in to the linux server

I'm looking for an easy way to configure my server, so that whenever a user logs into it, I get an email about it. Any pointers around how to get this working?
1
vote
1answer
351 views

BASH quoting for sudo su user -c

I need to run the following command: sed -i 's/^/command="\/bin\/false",no-agent-forwarding,no-pty,no-X11-forwarding, /' ~/.ssh/authorized_keys within sudo su user -c I think I've spent about 3 ...
1
vote
1answer
200 views

cgroup administration and inheritance

In cgroups there seems to be an option called 'cgroup.clone_children' for each subsystem, that allows you to specify if the setting of the parent cgroup should be inherited into the child cgroups. But ...
2
votes
1answer
161 views

Pro Linux Administration Guide / Book [closed]

We run a cluster of 45 linux machines with a lot of different stuff running (nginx, Varnish, Apache, MySQL, memcache etc) and load getting balanced on different machines. We do around 3000 requests ...
2
votes
2answers
373 views

Run config script on next/first boot?

I'm wearing the devops hat for my company. All our infrastructure is manually configured in AWS and I would like to start using Chef for configuration. First step: Make it easy to bootstrap an ...
1
vote
1answer
205 views

How can i monitor and rectify Full GC happening in my RedHat Linux Application Server…?

Last few days i am facing some Full Gc issues in my RedHat Linux Application Server with out having any load and sample gclog is shown below 2012-02-24T10:37:35.359+0530: 1194221.789: [Full GC ...
0
votes
1answer
329 views

How can i monitor and track the incoming connections(Access) to my Linux Server from remote users…? [closed]

I have a Redhat 6 64 bit linux Server for hosting one of my java application.I want to put my server in internet and allowed to access my remote clients from outside through 8080 port.Please give me a ...
0
votes
1answer
293 views

Looking for KVM switch (over IP) with good linux client [closed]

I have some ATEN CN6000 and i1708 KVM boxes and clients for them are made for windows and java. Java clients doesnt work neither on win or linux systems(I can run them with JavaRE but they dont ...
3
votes
2answers
655 views

In Linux, how can I create thin-provisioned file so it can be mounted and a filesystem created on it?

I am building a system that gives users certain amounts of disk space. The way I am doing it is: create a file with dd create an ext4 filesystem inside the file mount the file and tell the user ...
2
votes
2answers
4k views

How can I find out if my server has IPMI of some sort?

I've never seen a Linux server I admin. How can I find out if it has IPMI of some sort installed? I tried answering my own question by installing ipmitool: Setting up ipmitool (1.8.9-2) ... Starting ...
0
votes
1answer
212 views

Is there a way to control two instantiated systemd services as a single unit?

I've got a couple python web services I'm trying to run on a Fedora 15 box. They're being run by paster, and the only difference in starting them is the config file they read. This seems like a good ...
0
votes
2answers
79 views

How to instantiate Linux user accounts so that they can safely be reused? [closed]

Let's say I have 10 user accounts. I want that users logged in will use an instance of that account not the account itself. So when they log in, they will work on a copy of that account that should ...
-1
votes
2answers
197 views

How to run a program for a limited time as a specified user without leaving a trace on the linux system? [closed]

I have to run a non-trusted, third-party application on a linux server. The program should be run as a specified user for a limited time, for example 30s. During this period, the program can use all ...
0
votes
1answer
218 views

How do I study for a basic linux competency test? [duplicate]

Possible Duplicate: Linux knowledge a Junior cannot miss One of the requirements for a position I'm seeking includes some basic linux server administration. I've had some experience so I'm ...
1
vote
2answers
180 views

Upgrading CentOS does not update kernel version

I am familiar with Debian based distros and now I have to administer CentOS machines. I have two CentOS 4.4 machine and I both applied yum upgrade on them and they are both (lsb_release -a) 4.9 ...
4
votes
3answers
79 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.
0
votes
1answer
67 views

How to remotely install server via root

I would like to know if it is possible to remotely install a server OS via root. If it is possible, how can it be done? This question might be strange or impossible, so I have listed my assumptions ...
0
votes
1answer
75 views

Web Server sercurity (used only for web services)

I am using a Virtual Private Server for accessing Web-Services used only on the Mobile devices, there are many entries in the access and error log, even there is nothing on the web server. I am ...
19
votes
4answers
40k views

Postfix - how to retry delivery of mail in queue?

I have a backup mail server in case of a failure on the main one. In that case of failure, mails come on the backup server and stay there until the main one is back. If I wait some times, the ...
2
votes
3answers
911 views

Calculate highest time difference between log message in /var/log/messages

I need to calculate time difference between two log messages of /var/log/messages. As we know log messages prefixed by date & time , i want time difference between two log entries.
-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 ...
0
votes
1answer
177 views

Gitosis & an existing repository

I've successfully installed Gitosis. I added a repositories to it. However the Gitosis docs are very sparse, so I have a question: I've got a working copy of some repository on the same machine where ...
2
votes
1answer
103 views

RHEL Based Training for Power Users?

I have a group of "application administrators" who manage a fairly large student information system. The group as it stands has daily interaction with a UNIX prompt (mainly AIX, but some Linux and ...
0
votes
1answer
1k views

How to recover a MySQL InnoDB table?

When I try to launch the Plesk administration page of you server I get the following error: ERROR: PleskMainDBException MySQL query failed: MySQL server has gone away The MySQL Server is working ...
0
votes
2answers
651 views

SSMTP to forward root@localhost mail

I would like to forward mail that gets sent root@localhost on multiple servers to our company admin account (e-mail is hosted on gmail) I have installed ssmtp on centos 5.5 via yum and configured ...
1
vote
2answers
705 views

How to change log rotate Extension..?

currently my logrotate configuration adds a single number after the rotated log file: mylogfile.log is rotated to mylogfile.log.1 I would like to change the extension to mylogfile.log.Current date ...