Tagged Questions
1
vote
1answer
64 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
51 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?
0
votes
0answers
22 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 ...
0
votes
0answers
26 views
Postfix address resolver + loopback to root problem
Ubuntu Linux 12.04.1 With LAMP stack.
The goal is to setup a web server that can send mail via the PHP mail() function, which uses localhost. The mail must then be relayed to an ISP domain ...
2
votes
0answers
21 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 ...
2
votes
1answer
141 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. ...
1
vote
1answer
141 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 ...
1
vote
1answer
200 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 ...
0
votes
1answer
582 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 ...
1
vote
0answers
233 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 ...
0
votes
1answer
184 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 ...
0
votes
0answers
349 views
Using bluetooth headset? [closed]
I am on Ubuntu Server 12.04 and I have a Bluetooth USB Dongle I would like to use. Will drivers be automatically installed (if available) when I plug the Bluetooth Dongle? Which tools are there to ...
3
votes
1answer
865 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 ...
0
votes
0answers
125 views
transparent home directory encryption [closed]
#1 I'm very new to the ubuntu home directory encryption or rather ecryptfs
folder encryption. I read about the same within Dustin's blog & tried
implementing it.
Problem or query is
my home ...
0
votes
2answers
3k views
Why isn't there a server edition for Fedora like Ubuntu?
I was looking for a server edition of Fedora to download, and just found that they don't have one. It's very strange to me. If Ubuntu has both desktop and server editions, why doesn't Fedora follow ...
1
vote
2answers
325 views
Prevent lots of writes on Ubuntu Server running from flash drive
I would like to have a setting, where Ubuntu Server is installed and booting from a flash drive (SanDisk Cruzer Fit 8GB), with two HDDs running in RAID1 and 4 drives running with RAID0 (only 1 drive ...
2
votes
0answers
226 views
Can /mnt/hgfs/'shared folder' be used as apache root?
I have an Ubuntu Server (12.04) running on my development machine. It is in a VM. I have succeeded with the task of setting up Apache2, MySQL, and PHP. I can access the server from my host browser ...
1
vote
1answer
55 views
vpn conntect over an additional server
I (A) want to connect to my virtual XEN-server (B) with Ubuntu OS via vpn. This server (B) should than connect to another server (C). The traffic should be routed from A to C. C is using CISCO VPN. ...
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 ...
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 ...
1
vote
1answer
313 views
Hiding files on FTP server
I have an Ubuntu server and I run an FTP server on it. I changed its folder structure and want to restrict access of users to some of the files not all of them in a way that other files be hidden to ...
1
vote
1answer
361 views
Allowing an entire subnet on Ubuntu server 11.10
I am trying to allow all hosts in my subnet to connect to a server I have running in VirtualBox with ssh. I have tried several different methods so far, none of which have made any progress. What I ...
2
votes
1answer
221 views
“error: no such device” at boot in Ubuntu Server 11.10 with Raid1
I have a configuration of 4 HDD's as Raid1 2 pairs of 2 HDD's. First Raid1 pair is for system, so I just made an 40GB space for swap, and the rest of it for the root, the second pair of Raid1 is for ...
2
votes
1answer
666 views
Ubuntu 11.10 Server: create user, home directory, sudo privileges: command line only
I have a rackspace server and I'm having problems with configuration. I need to lock it down and throw away the key, because right now I can only login with root to do anything substantial. I also am ...
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, ...
2
votes
3answers
330 views
Servers running from chrooted Ubuntu on HP TouchPad? [closed]
The problem: servers appear to be broken inside my Ubuntu chroot. No matter what kind of server I try to run, they all seem unresponsive (VLC server won't respond to client, mkRemote doesn't move the ...
1
vote
1answer
812 views
How should I set up additional EBS storage on an Amazon EC2 instance?
One of my clients has three EC2 servers on the Amazon cloud, with several attached EBS devices:
server 1 and server 2 are ubuntu micro instances, and server 3, the main production box, is a ubuntu ...
1
vote
1answer
147 views
Can I run several TKL appliances on one server box (eg, HP Microserver)?
I'm interested in by Ubuntu-based TurnKey Linux (TKL)'s many (apparently) ready-to-use, FOSS appliances. Is it possible to create one server box (without virtualization) that runs more than one TKL ...
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 ...
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 ...
0
votes
2answers
778 views
Unix (Ubuntu Server): $PYTHONPATH resets to blank when I reboot [duplicate]
Possible Duplicate:
How to make exported shell variables permanent?
Each time I set the $PYTHONPATH on my new Ubuntu server machine (old Thinkpad) and reboot, it's reset to blank.
I'm ...
0
votes
1answer
222 views
Formatting secondary hard drive that has windows on it
I recently installed an setup an Ubuntu Server machine. It has two drives in it and the other drive has windows installed on it. (I didn't want to overwrite the windows installation until I had my ...
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 ...
10
votes
4answers
862 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 ...
3
votes
1answer
899 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
511 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 ...
2
votes
1answer
728 views
Grub2 Error Loading Kernel
I have been trying to start a small home server, using Ubuntu 10.04 Server edition. The installation process finished, and I got an error from Grub saying that it was "out of disk". After a bit of ...
0
votes
2answers
1k views
What could cause network latency on a fresh Ubuntu Server 10.10 install?
I have recently purchased a machine to run an online game server. I put the machine together and have installed a fresh copy of Ubuntu Server 10.10. I have noticed that the game server produces a ...
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 ...
8
votes
4answers
635 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 ...
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 ...
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