Tagged Questions

A 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. See http://meta.unix.stackexchange.com/questions/3066/burninate-server before using this tag.

learn more… | top users | synonyms

2
votes
1answer
80 views

Running services without sudo

I want to run a nodeJS web server on a couple of machines which I don't have sudo access on. What would be a good way to do this? The two requirements are: running the service without being ...
2
votes
1answer
110 views

How can I be sure that access to my home server from my home network is not done via Internet?

As advised in this question: Network file-sharing between Linux and Android, I have decided to use ownCloud to store files on my home cloud server. However, my needs have changed a bit. I want to be ...
0
votes
2answers
2k views

Git pull error libcurl.so.3 not found

I have a php script to git pull from my github repository set up in my webservice hook urls like so: <?php echo shell_exec('~/git/usr/bin/git pull 2>&1'); ?> When I open this script ...
1
vote
0answers
155 views

CUPS Color & Black and White [closed]

Yesterday I set up CUPS to turn a USB printer into a network printer. All of the print jobs are being sent to the server from windows and it's working great except for one problem. When I set the ...
3
votes
1answer
5k views

How can I set up a usb printer as a network printer using a linux server?

Basically right now I have a USB only printer, it's very nice. There are 5 people in my household and we all are constantly wanting to use the printer. Windows has a built in way to share the ...
1
vote
1answer
376 views

Upgrading Debian Squeeze to Wheezy - Should updatedb.conf be kept or replaced?

A similar question to Upgrading Debian Squeeze To Wheezy - Should conf' files be kept or replaced?, but in my case it concerns a different conf file and I am not on Linode. I am upgrading a VMWare ...
1
vote
3answers
3k views

how can I find out my server's subnet mask via SSH

Hi I use media tamples dv server... I connected it via SSH with putty.. I need my server's IP address and subnetmask. I know the IP address but I don't know the subnetmask. How can I find out my ...
1
vote
2answers
136 views

Remote backup of local server applying Rsnapshot

I have a server which uses Rsnapshot to take snapshots of folders in miscellaneous computers within a Lan. I would like to have another server located remotely that is to serve as a backup to this ...
0
votes
1answer
589 views

Certificate extensions in generating and signing certificartes using openssl

References: SSL Configurations for Intermediate certificate How to add my own created certificate authority to system trusted repositories Why I can't find a page which tell me what's the kind of ...
1
vote
1answer
725 views

How can I test whether the output from a command is null or empty string? [closed]

I'm trying to get a pre-commit hook script to work on our old SVN box. It's very old, running Ubuntu Server 8.04. This script: @echo off :: :: Stops commits that have empty log messages. ...
1
vote
2answers
432 views

How can I get Fedora and Opensuse server edition?

I want to get server edition for Fedora and Opensuse. I've visited their respective sites, but there is no specific server edition in the download section. So how can I get the server edition for ...
1
vote
2answers
380 views

Unable to chown recursively

I'm using this command: chown root:www-data /var/www/example.com -R but I get an error message that the directory is not listed. What is wrong?
1
vote
0answers
162 views

Samba and Active Directory limitations

I was wondering if somebody could help me with a question on a networking assignment I have do do with Active Directory and Samba working together (I chose SAMBA). I understand using a Samba domain ...
0
votes
0answers
122 views

uploading from Netbeans to remote CentOS server failed

I have a php web application on Netbeans on my Ubuntu , and server is CentOS on a virtualBox . Suddenly uploading to server stopped and I'm getting these errors for non-root user : Failed: file ...
1
vote
2answers
2k views

How to simulate unplugged network cable or down server?

I have simulated network latency with netem and It's great. Now I want to simulate unplugged network cable or when server goes down. I need this to make testing of my application easier and I couldn't ...
0
votes
1answer
104 views

Keep the ssh session

I am using Macbook developing a client application. I want to access server logs, so I opened a shell terminal and established a ssh connection to the server and access the log file there by ...
2
votes
1answer
67 views

Sharing /boot between two Ubuntu 12.04 Server installations?

This question may seem trivial at first sight, but it has certain implications and I'm wondering what is the recommended path to take here. Assume the following scenario: a server system. The default ...
0
votes
1answer
105 views

Problem in connecting server to Internet

I just have setup a Linux server. But currently I am having problem in connecting to the outside world. I am not able to do wget,apt-get or ping. Here ar some relevant details: $ping google.com ...
3
votes
1answer
6k views

Cannot reach outside network or IP after upgrading to Ubuntu 12.04

I am running Ubuntu 12.04 on my server but since the upgrade from 10.04 I can no longer reach any outside sources of the server. I can SSH into the box, but from inside here I can not reach anything. ...
0
votes
1answer
464 views

NFS server optimization for maximum performance

I'm looking for maximum of performance for a NFS mount. I'm on local network, it could be completly unsecure, the performance is the most important in my case. What I already found : In /etc/export ...
1
vote
2answers
781 views

Mount a folder without noexec

Is it possible to mount a single folder without the noexec option. I have a situation in which a web app in the users home folder on the server has to be mounted without noexec to run correctly, ...
3
votes
2answers
1k views

/nagios/cgi-bin/statusmap.cgi was not found on this server

I installed Nagios 3.4.4 on Ubuntu server 12.10. Installation was successful but now I'm not able to view maps and trends.When I try, I get the following error /nagios/cgi-bin/statusmap.cgi was not ...
2
votes
3answers
361 views

How to create partition in ubuntu server 12.10

I'm trying to create partition during Ubuntu Server installation(12.10).Now I have a 500GB hard disk where I need to create a partition of 200GB for root file system and another 20GB for swap space ...
9
votes
2answers
1k 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 ...
7
votes
2answers
23k views

How to display open file descriptors but not using lsof command

Hi I have read Here that lsof is not an accurate way of getting the number of File Descriptors that are currently open. He recommended to use this command instead cat /proc/sys/fs/file-nr While ...
1
vote
2answers
203 views

Can Linux PC serve as network router?

I was wondering if it is possible for Linux PC to substitute router in small networks. I'm not expert in networking so this question may be stupid, but I don't see why one should not use Linux ...
5
votes
4answers
9k views

How to set up an SSTP Server

Is there a way to set up a linux based, preferably ubuntu, SSTP server? I know there is a SSTP client available on sourceforge, but I can't find a server. To be clear: I do NOT want openVPN, I want ...
0
votes
1answer
153 views

Altered fstab - no longer able to SSH or access http

I might have done something stupid on my person debian server - I altered the fstab file. I changed udev to dev to try to fix a mounting issue in /dev/sda1 but after I restarted the server, I cannot ...
1
vote
3answers
787 views

SUID permissions - Which is correct?

Trying to secure a Linux server and have little experience with SUID. After executing find / -perm +4000 many programs were discovered. I have seen conflicting advice here and hereon what should ...
1
vote
2answers
89 views

how to require sudo to view files?

I have a ssh server. I allow people to connect to it if they want. I do my programming homework on it. I am in trouble with my teacher because people were cheating off it. I need to know how to ...
1
vote
1answer
400 views

Error 'IO Error: Broken Pipe' when upgrading server from Debian Squeeze to Wheezy

As I am upgrading my virtual machine from Debian 6 (Squeeze) to 7 (Wheezy), I am seeing what appears to be a changelog (screenshot below). So, I pressed the 'q' key to quit and proceed with the ...
3
votes
2answers
2k 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 ...
2
votes
2answers
403 views

Apache server redirects main domain to https

I have this server with multiple domains running CentOS 6.2 and Apache. This server has a SSL certificate installed and working well. Every time I browse to the main domain, without adding http:// it ...
1
vote
0answers
2k views

NFS sharing is read only

I have problem with NFS sharing. See my exports: /export 192.168.1.11(rw,fsid=0,insecure,no_subtree_check,sync) /export/share 192.168.1.12(rw,nohide,insecure,no_subtree_check,sync) From a client ...
0
votes
2answers
60 views

Knowing if a directory is modified

I have a server online and I am wondering if there's a way to know if some file on the server is modified or a new file is added to certain directories. For example, I have this ...
1
vote
2answers
5k views

How to setup VLAN on same subnet as Ethernet ?

I have a physical NIC with dev name eth0 with ip 192.168.1.2 and gateway 192.168.1.1 and I want to setup a VLAN with ip 192.168.1.x and same gateway as eth0. Setting up the VLAN runs smoothly and I ...
0
votes
1answer
117 views

What is a remote config server?

I found myself enabling one of my computer on LAN to connect to a server through port 1236. A check on the list of services show: bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote ...
2
votes
3answers
2k views

Run local scripts on multiple servers using sudo user through a script

I have about 100 remote servers. I want to manage all my servers using one terminal server to update , run commands with sudo privileges. I need to have one main script that takes another test script ...
0
votes
2answers
524 views

Simplest screen echo server?

What is the simplest way to do the following thing? Run a program which will open specified port, listen for it, and display whatever it receives. Also if type something -- then send back to ...
5
votes
1answer
6k 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
2answers
444 views

Virtual Wireless Access Point

Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s ...
4
votes
2answers
1k views

Port fowarding and load balancer in ubuntu server 12.04

I am looking to create a load balancing server. Essentially here is what I want to do: I have a public IP address, lets say 1.1.1.1 I have a second public IP address, lets say 2.2.2.2. I have a ...
2
votes
1answer
1k views

How do I make a registered domain name resolve to a local/private IP address

I have a Debian Linux server running on my local network. I also have port forwarding set up on my router so that computers outside my network can use my domain name and get to my website/FTP/SSH ...
6
votes
3answers
11k 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 ...
0
votes
1answer
200 views

Intruder nature detection by opensource tools like tripwire

I want to use different kind of intrusion detection tools like OpenSource Tripwire. Please suggest me some tools which can provide me some additional information to that provided by tripwire? ...
1
vote
3answers
412 views

Make Apache view hidden files (Solaris)

Is it possible to make an Apache server like this Apache/1.3.41 Server at user.it.uu.se Port 80 display hidden files (i.e., those who start with a dot) in a specific directory? I have some ...
1
vote
0answers
96 views

Wi-fi management & billing

I want to setup a wifi management & billing using linux server. But I don't know where to start. Is there any guide on how to do this? For example... When user connect to my access point, it will ...
1
vote
0answers
383 views

Ubuntu Server goes to standby mode

I am using Ubuntu Server 12.04 in a virtual machine (VMware Workstation) and it seems like the system goes to standby, at least the first request on a webserver installed on it takes quite long and ...
1
vote
0answers
161 views

Best way to migrate a mail server?

I have a Plesk panel mail server with used hard disk space of 480GB out of a total of 900GB. I would like to migrate the plesk panel and data to a new server on raid 1 hard drives(600GB). The mail ...
0
votes
1answer
318 views

Simple jail for user with open-ssh [duplicate]

Possible Duplicate: Restricting an SSH/SCP/SFTP user to a directory Can I confine my users to their /home/%u directory using simply open-ssh configuration? I did the following from what I ...