Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

Xen machine with a DomU router/firewall on a single NIC machine

I've got a machine with a single NIC. I'd like to set it it up like thus: Dom0 listening on 192.168.x.1 and doing nothing but being Dom0 DomU on 192.168.x.2 and external ip assigned by dhcp doing ...
4
votes
2answers
581 views

Linux TC / Policy Routing tools

In addition to a really good firewall Linux has a builtin advanced routing and traffic shaping (lartc). There are many applications (firehol, firestarter, etc) to make the creation of iptables ...
22
votes
8answers
13k views

Should we disable the root user?

Should we remove the root password, disable remote login and basically require adminstrators to use sudo to perform administrative actions?
30
votes
5answers
62k views

How to identify I/O bottlenecks on a Linux server?

How do you determine that the performance of your Linux server is I/O bound and, perhaps more importantly, what process or processes are casuing the problem?
64
votes
54answers
9k views

Hidden Features of Linux

Following in the spirit of Hidden Features of PowerShell and various others on Stack Overflow, what Linux commands or combinations of commands do you find essential in your work? Also See: Hidden ...
37
votes
10answers
46k views

How do I know if my Linux server has been hacked?

What are the tell-tale signs that a Linux server has been hacked? Are there any tools that can generate and email an audit report on a scheduled basis?
2
votes
1answer
3k views

Are PERC 5/i RAID controller drivers available and easily installed on Ubuntu 9.04?

We are looking to migrate a Dell PowerEdge 1950 with PERC 5/i RAID controller from an aging Windows 2000 Server installation to a modern Linux distro, probably Ubuntu 9.04. I have come across some ...
21
votes
1answer
74k views

How does one get setfacl to set ACL permissions recursively on Linux?

I'm setting up a new server and wanted to give ACL a shot over the chown:chgrp:chmod style permissions. The man page for setfacl indicates that the '-R' option can be used to set the ACL ...
5
votes
15answers
3k views

How can I be notified if somone is attempting to hack into a Linux server? [closed]

I'd like to be notified via email if our Linux servers are under any kind of hacking attempt or service attack. Is there some kind of all-in-one solution that can monitor for suspicious activity and ...
10
votes
5answers
9k views

How do you set bzip2 block size when using tar?

I am using tar to backup a linux server to tape. I am using the -j option to compress the file with bzip2, however I can't see a way to adjust the block size options for bzip2 from tar. The default ...
39
votes
17answers
22k views

Linux - Running The Same Command on Many Machines at Once

I have about a dozen Linux boxes that I occasionally need to run the same command(s) on. Is there an easier way (or automated way) to do this asides from logging on to each machine and running the ...
0
votes
1answer
3k views

sshd_config GatewayPorts

Is there any reason why I should not set GatewayPorts yes in my sshd_config file if the hosts are only going to be internal to the network?
35
votes
9answers
15k views

How do you setup ssh to authenticate using keys instead of a username / password?

How do you setup ssh to authenticate a user using keys instead of a username / password?
1
vote
4answers
1k views

How can I create a non-ssh VPN on debian/linux?

I have a set of remote servers, assigned to a small IP address pool. I would like to control access to some services on some servers via ip address, rather than login/password. However, I would like ...
10
votes
5answers
3k views

Install Linux over ssh

I'm a totally blind individual so can't install Linux with the normal install process. SSH does work for me how ever, is it possible to use an ssh connection to remotely install a Linux server? ...
2
votes
3answers
2k views

How do I create an interactive daemon login?

I run a service on a debian/linux machine which runs at boot with a 'screen' session I can always attach to. I would like to create a username which I can run this service as. At the moment I use a '...
14
votes
4answers
3k views

Log transport and aggregation at scale

How're you analysing log files from UNIX/Linux machines? We run several hundred servers which all generate their own log files, either directly or through syslog. I'm looking for a decent solution to ...
0
votes
7answers
2k views

Configure Wi-Fi adapters in Linux

Linux distributions these days come with NetworkManager to allow a user to configure a WiFi network adapter. However I can't seem to figure out how to configure a system-wide network adapter. There ...
6
votes
10answers
1k views

Is there a decent flat-rate online backup solution for Linux machines? [closed]

Has anyone found a Mozy (or Backblaze) like solution for backing up Linux boxes? I'm hoping for something with a flat-rate fee for a backup plan ideally.
4
votes
6answers
415 views

Could someone point me at some basic “setting up linux at home type” docs?

I've spent a fair amount of time using various *nix systems, but don't have a lot of experience in setting them up from scratch (unlike Windows, which I can more or less do in my sleep at this point, ...
7
votes
7answers
1k views

How to provide proper backups for multiple Linux based servers? [closed]

There have been several questions related to providing backups, but most of them were either too specific, intended for home usage or Windows-based. What I'd like to hear: How do you ensure that all ...
5
votes
3answers
238 views

How to stay up to date with the latest information about UNIX software patches and upgrades?

Until now I have always used the SecurityFocus mailing lists to keep myself informed about the possible need of upgrading my server packages. The main problems I have with using this method: Massive ...
7
votes
6answers
4k views

VPN Solutions for Linux server and Windows, Linux, and OSX clients?

I'm wondering what would be the best vpn solution for a linux server with windows, linux, and osx clients. I'm currently using openvpn but I find it difficult to set up and the windows client has ...
20
votes
4answers
10k views

Which database server scales better: PostgreSQL or MySQL?

I'm working on a website that could eventually have a very large database. The website will be an art community not until deviantART. I'll be running a lot of queries for analyzing how the site is ...
2
votes
4answers
3k views

Package Management on Linux From Scratch

I've been thinking about doing a linux from scratch install. But I'm concerned about keeping my system updated. What are my options for package management? Would I be doomed to recompiling every ...
8
votes
2answers
164 views

Is there a good summary somewhere of what should go in each of the main folders in a linux install?

eg bin, sbin, proc, lib, boot, usr, etc... Is there a standard list somewhere, does it depend on the distro? This is essentially to answer the common question I have "I'm installing X or putting Y ...
15
votes
9answers
5k views

On a linux server how do you use multiple terminals over a single ssh connection?

I often find myself opening several ssh connections in order to view several log files at a time with tail -f. This isn't a problem when I'm at home because I use public key encryption for password-...
3
votes
4answers
862 views

Linux bind server serves address of DHCP Windows clients, but not of DHCP Linux clients

I have a Linux Fedora server running Bind 9.5.0 and DHCP 3.0.6. Bind is configured to allow updates (I'm only showing part of the config, but the reverse part is there too): zone "myhome.org" IN { ...
2
votes
7answers
5k views

What's the best file system to use for a new /home partition [closed]

If I were to setup a new computer intended for single user use with /home on a separate partition, what would be the best file system to use for that partition? Would you use ext3, ext4, reiserfs or ...
2
votes
5answers
577 views

How to best tune a Linux development machine?

How to best tune a Linux PC for development purposes?
14
votes
7answers
43k views

How to Find a file in FreeBSD

I'm trying to locate all copies of example.filename on my FreeBSD server. What's the best / easiest / most efficient way to do this?
2
votes
1answer
6k views

What are some cool things I can do with Backtrack?

I've been interested in trying out BackTrack for a while, but I'm not sure how to use most of the tools. I know there's a lot there, but is there a simple, graphical way to monitor activity on my ...
5
votes
1answer
1k views

Tutorial on user and group management in Linux?

Is there a good tutorial out there on how to do user and group management in Linux? For example in Ubuntu; I've been trying to find how to alter GECOS information about each user on command line, ...
6
votes
7answers
7k views

rsyncing a bootable backup

jwz mentions PSA: Backups a backup system that's fairly clever. Your backup method is to essentially restore to the replacement drive. This seems to work simply on OSX. What all do I need to do to ...
170
votes
12answers
281k views

Shell command to monitor changes in a file

I know there was a command on Unix that I could use to monitor a file and see changes that are getting written to it. This was quite useful especially for checking log files. Do you know what it is ...
2
votes
2answers
1k views

What's a good substitute for ProComm on Linux?

Is minicom the only option? I need to be able to modem in to some ancient applications that are commonly accessed by ProComm running on Windows, but I would like to do this from a Linux box.
2
votes
4answers
1k views

GTK applications fail to start - xfs restart needed Options

After a recent update (Xorg was updated among other things), GTK apps stopped running in my kde4. I have a Debian unstable, updated around 22 April. When I try to run them I get the following error: ...
14
votes
3answers
2k views

Automatically modify iptables based on Apache log data to block badly behaved clients

Is there any tool on Linux to automatically modify iptables so as to block a troublesome client based on an analysis of the Apache log? I help run a site that sometimes get overwhelmed by requests ...
68
votes
7answers
112k views

Apache 2 startup warning: NameVirtualHost *:80 has no VirtualHosts

When my Ubuntu Apache server (Apache 2) starts up I get a warning message that reads: [warn] NameVirtualHost *:80 has no VirtualHosts However, the web server is working fine. What might I have ...
1
vote
1answer
983 views

Printing big files from Linux causes PostScript errors

I've been trying to make a Dell 5110cn printer to work from Linux, to no avail. I've tried sharing the printer from both a Linux and a Windows machine, and in either case, Windows clients can always ...
6
votes
7answers
14k views

how to merge two ext3 partitions on ubuntu from command line?

I have a partition /dev/sdb1 and a partition /dev/sdb2 They are both in /etc/fstab with proper UUIDs and mounted as /opt and /home I'd like to merge them without losing any files Can this be done ...
4
votes
4answers
2k views

Severe write performance problem

[Sorry, I tried to stay short but it just was not possible] I'm running Linux 2.6.22.19 with linux-vserver 2.3.0.34 on a Fujitsu Siemens Primergy RX200 S3 for development purpose. Intel(R) Xeon(R) ...
3
votes
7answers
4k views

What is the best Linux backup method for a home server? [closed]

I currently back up my Fedora Linux server using rsync and a local USB drive. So far this seems to suit my needs, but I suspect there are better ways to go about this. Long ago I used to use tape, ...
15
votes
8answers
5k views

How many and which partitions should I create for a linux server?

Partitions are very important on Linux server because it give you a lot of flexibility, for example when upgrading to a bigger hard drive. But, how many partitions should I create when building a ...
17
votes
16answers
2k views

Linux distributions recommendations for servers [closed]

I have limited Linux server experience. I am looking for recommendations on distributions. What's your favorite for servers and why? EDIT: Clarification: I'm hoping for one, general purpose ...
6
votes
7answers
21k views

What can I do to optimize NFS copy speed on a 1GBit home network? [closed]

I have a home network with a 1 GBit/sec switch as the central point, and all computers with 1 GBit/sec NIC's. However, I get at most 200 MBit/sec copy speeds over NFS shares. It seems I should be ...
17
votes
26answers
12k views

What tools should you absolutely know as a Windows/Linux Sysadmin? [closed]

What are tools/utilities that you should absolutely know while working as a Linux or Windows Sysadmin. I'm thinking for example about GNU/screen that you'll need if you're working on Linux servers.
3
votes
1answer
222 views

Running a Xen Dapper dom0 with a Hardy domU

Is it possible to set up a Hardy domU on an existing Xen dom0 running Dapper? I have found many postings talking about the reverse (Dapper domU on a Hardy dom0), but I have the existing server set up ...
7
votes
4answers
2k views

What is the most effective way to setup a linux web server for manual failover

I currently administer a small web server running ubuntu linux with apache, mysql, and ssh. I'm backing it up using rsync to another server, but I'm backing it up to a /backup directory. I'd like to ...
27
votes
9answers
4k views

Ubuntu, how to setup a new machine like an existing one

I have one machine setup with the apps I need, and I'd like to install the same on a new Ubuntu box. Is there a script that will list all the installed apps, so that I can diff between the boxes and ...