Server is a computer program running to serve the requests of other programs or a physical computer dedicated to running one or more such services.
21
votes
3answers
13k views
Does LVM impact performance?
I have to migrate a few servers to Linux, and one important aspect that I need to evaluate is that my new host system must have elastic storage capacity. Naturally, doing some basic research, I came ...
14
votes
7answers
788 views
Good Introductory resources for linux
Are there any good tutorials or resources I can read so that I am not confused by basic things like 'how to search all files in a directory and below for a given string', or 'how to find out how much ...
13
votes
6answers
11k views
Create services in Linux (Start up in linux)
I need one process run before log in to system. how to run it like services?(how do I make services in Linux?)
in Ubuntu and Fedora ?
the service is customized tomcat
13
votes
7answers
7k views
Lightweight outgoing SMTP server
What do you use as a lightweight SMTP for outgoing e-mails only?
I am running an app that sends e-mails via SMTP when events occur once in a while, and I don't need a fully featured e-mail server.
...
13
votes
4answers
1k views
What makes CentOS “enterprisey” compared to “generic” distributions like Ubuntu?
What makes CentOS "enterprisey" compared to "generic" distributions like Ubuntu?
When I say "enterprisey" I actually mean "better for server deployments". Just a general question, because I was ...
10
votes
4answers
864 views
Accidentally executed sudo rm /* on a remote server
I accidentally executed rm /* while logged in as root in a remote Ubuntu Server and deleted pretty much all bash commands and currently I can neither log in via ssh or ftp to restore the files (and ...
9
votes
2answers
1k views
Does SELinux provide enough extra security to be worth the hassle of learning/setting it up?
I recently installed Fedora 14 on my home pc and have been working on setting up different server related features such as apache, mysql, ftp, vpn, ssh, etc. I ran extremely quickly in to a barrier ...
9
votes
1answer
296 views
How to build a personnal cluster?
I have a debian server running some services (mail, web, git, mysql...). But it is alone, meaning that if it breaks, I have to repair it to access my services.
I'd like to put a second server so that ...
8
votes
4answers
638 views
A small challenge to familiarize myself with Linux
I would like to learn more about Linux. I briefly went through a few books and quite a few articles online, but the only way to learn something is to actually start using it.
I would like to jump in ...
7
votes
3answers
1k views
How to setup linux server for headless use?
Consider a headless server like this: A typical x86 box at a remote location, which you can remotely initialize with a stock - say - Ubuntu image. After it is initialized you only can login via ssh - ...
7
votes
3answers
295 views
Is it possible to execute scripts in BIND based on lookup
Is it possible, to set up BIND as DNS server on my local network, and make execute scripts when it gets a lookup?
I would like to execute a Python or Bash script, based on the incoming DNS lookup, ...
6
votes
2answers
3k views
How can I set up SSH on Linux to log in password-less?
My Raspberry Pi is running the default Debian image and has SSH enabled. I log into my Pi as follows:
ssh pi@<IP-address-of-my-Pi>
I have to enter my password every time. Can I somehow make ...
6
votes
1answer
3k views
How can I start the python SimpleHTTPServer on port 80?
I am using this command on Ubuntu but it is starting on port 8080 and I don't have another server running so I'd like it to start on port 80. I saw ways that you could set up a bash script to do ...
6
votes
3answers
169 views
Setting up a unix powered network
I want to set up several computers on a LAN, all connecting to one unix server.
The primary goal being that the user accounts should only exist on the server. So that any user could access his normal ...
5
votes
6answers
2k views
Simple command line http server
I have a script which generates a daily report which I want to serve to the so called general public. The problem is I don't want to add to my headaches maintance of a http server (e.x. apache) with ...
5
votes
2answers
784 views
Automatic security updates on Debian squeeze server
For a production Debian squeeze server, what are the best practices or recommendations for handling security updates? I have seen various articles on cron-apt, apticron, unattended-updates, apt cron ...
5
votes
3answers
7k views
FreeNAS versus a regular (CentOS/Ubuntu) linux server?
I'm looking to build a medium sized (6TB, mini ITX board) server for personal use. Most importantly, it will serve as a seedbox and will store a whole lot of data. I will be accessing the data over my ...
5
votes
2answers
295 views
How do I start my service at boot-time?
I'm trying to run a CherryPy app on my NetBSD 5.1 box. To have it start automatically, I've added this line to my /etc/rc.local:
/bin/httpd &
When I boot the machine, some of the output of the ...
4
votes
2answers
128 views
Best way to handle lots of mail on server?
Due to some bad cron jobs I now have ~1600 mail messages, most of them containing the same error log. I would like to quickly group them by subject and delete them, while limiting the chances of ...
4
votes
2answers
4k views
“Permission denied, try again” while transferring files with scp
I have two servers (A and B) and my local machine. I'm trying to transfer a file from server A to server B.
From server A:
scp ./backup.tar user@server.b:/home/public/
Permission denied, please try ...
4
votes
1answer
396 views
How to forward a window (display) to another computer on the network
I'm setting up a media server for my movies. The server is networked and so are a couple laptops/desktops. The server is running the latest Ubuntu (desktop edition, not server).
This is the scenario ...
4
votes
2answers
3k views
Ubuntu Server Continuously “goes to sleep”
I am running a web server at home using Ubuntu 11.4 (maybe? I can't 100% recall) on an older AMD 2400+ desktop with 1 or 2 GB of RAM. Sorry I can't recall the details 100%.
Anyway, I have a KVM ...
4
votes
3answers
814 views
Permissions issues for shared directory on a server
The setup is we have a VPS running Debian Squeeze, and I've set up a shared directory for us to share files. So far I've followed this guide:
...
4
votes
2answers
325 views
configure postfix to accept mail from two WANs
I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum.
I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
3
votes
2answers
1k views
Bash script to detect when my server is down or offline
Background : I need to receive an alert when my server is down. When the server is down, maybe the Sysload collector will not be able to send any alert. To receive an alert when the server is down, I ...
3
votes
4answers
387 views
Setting up a development environment in Ubuntu
I'm a long time Window user. Recently, I learned JavaScript/PHP/mySql and considered that Ubuntu Server will be the choice. I'll still work on Windows XP/7, though. Here's my idea
Development ...
3
votes
1answer
374 views
Bot requesting odd resource in apache logs
While studying for the RHSCA exam I set up my first home server and quickly found that bots had already started requesting commonly vulnerable files. It was alarming at first, then just purely amusing ...
3
votes
2answers
882 views
Execute remote script with local parameter value
How can I automatize this task?
1) You are at A.
2) You ssh into B.
3) You run a script at B, that needs a parameter known at A.
First, I thought perhaps I could send the value when I opened the ...
3
votes
3answers
1k views
How do I deploy Firefox Bookmarks for all Users in Network?
I have a bash-script for installing Firefox which is downloaded and executed from every client workstation in the network. The script is on the server and all workstations are running Ubuntu. Now I ...
3
votes
2answers
839 views
Upgrading Debian Squeeze To Wheezy - Should conf' files be kept or replaced?
I am currently upgrading my all-new Linode server running Debian 6 (Squeeze) to 7 (Wheezy) this way:
Updating current system:
sudo apt-get update && sudo apt-get upgrade
Replace all ...
3
votes
2answers
580 views
PHP interface to manage linux user accounts
I have a linux web & samba server. I need to give administrators access to manage minor accounts & groups. Is there a secure php web interface that can do this? I don't want to give them shell ...
3
votes
1answer
46 views
Can servers be synchronised to share the same configurations?
I have three VPS' running on separate hosts. They've had CentOS 5 installed on them at various points and I assume all run with slight variations of Webmin, PHP, MySQL etc.
I've started to notice ...
3
votes
3answers
928 views
How to check the operating system of a server remotely?
Is there a tool that takes an IP address and outputs the operating system of that machine?
3
votes
1answer
2k views
isc-dhcp-server fails to start at boot
I have been running the isc-dhcp-server fine for quite a while. A few days back after an update, it fails to start. I found a few more people reporting similar problems but that was from 2009. I was ...
3
votes
1answer
131 views
What happened to the GLP OpenGL extension?
I need to do headless hardware accelerated server rendering using OpenGL and found out that this is possible with pbuffers and frame buffer objects (FBO). But today these approaches still need a ...
3
votes
1answer
900 views
Unable to mount a second hard drive in Ubuntu Server
I am adding a second drive to my Ubuntu Server. It was previously in a FreeNas system, but I got rid of the XFS partition and created an ext4 partition (in an older Ubuntu system). I then backed up ...
3
votes
1answer
512 views
Auto mount cd or dvd on CLI based ubuntu server
I am using Ubuntu server as a samba server. The solution I am looking for is whenever the disks are inserted (cd or dvd) they should get auto-mounted to /cdrom directory. Are there any tools for ...
3
votes
1answer
1k views
How to properly prepare a server for power outages?
I have a personal Debian server set up, that I'm able to access in person and remotely, but normally I'm away from it and it's remote. It's on a battery-backup surge protector, but sometimes that ...
3
votes
2answers
365 views
How do I choose between Unix / Linux and Windows in a Server environment?
I need a server, and I'm used to windows at home and in the office, but it seems that Unix / Linux is an option, but I don't really know what it is. I don't know which one to get, how do I choose? ...
3
votes
1answer
866 views
degraded software raid boot
I've installed Ubuntu 12.04.1 in a new server and set up the 4 hard drives with 3 RAID 1 devices, the configuration is such that the first two drives have md0 (swap space) and md1 (/) with the third ...
3
votes
2answers
2k views
How do I switch from Ubuntu desktop to Ubuntu server?
I'm currently setting up a home server using a very, very old PC. It has Ubuntu 11.10 installed on it, but it can't actually handle the GUI. I want to install the server edition of Ubuntu, which is ...
3
votes
1answer
245 views
Trying to set up a server/workstation SLED environment
I'm considering a number of desktop distros for use in our office. It seems like SLED matches what I want more than any other distro, especially home user focused distros. In an attempt to learn more ...
3
votes
0answers
228 views
Using Creative Sound Blaster on Ubuntu Server
I just got a Creative Sound Blaster for playing audio wirelessly. I connected it to a virtual version of Ubuntu desktop and just had to go into the sound settings and switch it to the USB and the ...
2
votes
3answers
260 views
Is there such thing as a “free” equivalent to Microsoft Virtual Server?
As the title says, is there?
I'm a student, I'd love to play around with this technology without the fear of my licence disappearing the day I graduate from college (as it might with the Microsoft ...
2
votes
1answer
130 views
What exactly is a “home directory”?
When your University sends everyone an e-mail saying
"We're sorry! One or more of our disks have failed; thus we've lost 'x' number of home directories on our servers."
Is it basically just the root ...
2
votes
1answer
178 views
Managing disk space on servers
Are there any open source tools to view (and possibly restrict) disk usage per user? I need to track disk usage on a server by user.
2
votes
2answers
1k views
Disabling (or removing) X from CrunchBang home server
I've just installed crunchbang linux (based on Debian) on some really old hardware (we're talking single cores and DDR memory here) for a simple home server.
However, seeing as the hardware sucks ...
2
votes
2answers
2k views
dhcpd: any way to check dhcp pool status?
Once dhcpd (IPv4) is started, is there any way to check its internal pool status? e.g how many addresses are available?
I checked man(8) dhcpd, there's no signals/files available for that info.
2
votes
3answers
43 views
Get files on remote copy but not local
I have a folder.
I have one copy of this folder locally and one on a server. I edited my local folder as I wanted and then rsync it to the server.
Is there any way of comparing those two copies, ...
2
votes
2answers
4k views
sshfs always asking for password in fstab?
I'm trying to enter an sshfs mount in /etc/fstab with the following line:
sshfs#oli@192.168.0.2:/media/usb0 /media/ExtHD fuse defaults,nonempty,allow_other 0 0
So that this volume is mounted at ...

