Ubuntu Servers :: Setting Up At Multiple Locations

Mar 27, 2010

So I've got a home server hosting a website for my restaurant, but I'd like to get another server up to get some redundancy going.

I have another machine I'd like to set up at another location to take over retrieving requests sent for the website whenever my home server goes down. I've got my domain through [URL], but the domain is hosted through [URL] for their dynamic dns service (because im not using a static ip).

So I'm guessing having another server set up is just a matter of setting up dns records, however I don't know where to begin with setting that up. Any words of wisdom out there?

View 4 Replies


ADVERTISEMENT

Server :: Using DNS At Multiple Locations?

Jan 13, 2011

My company has 2 locations. I have a server running BIND, Apache, and MySQL. I'm setting up a second server just in case the primary goes down. I'm sure it's bad form to it the way I'm doing it, but how might I go about configuing my backup? Should I do it as a Secondary DNS server?

View 2 Replies View Related

Ubuntu :: How To Mount USB Drive To Multiple Locations

Feb 10, 2010

I have two storage drives that I will be sharing by FTP. One is internal 1TB ext4 HDD and another one is an external USB 1TB NTFS HDD. Both drives get mounted to /media and I am trying to set an additional mount point for each. For internal HDD everything works perfectly. I simply went to /etc/fstab and copied the line related to it. Now I have:

Code:
/dev/sdb5 /home/eugene/.MOUNT/sdb5 ext4 defaults 0 0
/dev/sdb5 /media/sdb5 ext4 defaults 0 0
which does exactly what I need.

I tried doing the same for the USB drive which produces unexpected results. The lines are
Code:
/dev/sdc1 /home/eugene/.MOUNT/sdc1 ntfs defaults 0 0
/dev/sdc1 /media/sdc1 ntfs defaults 0 0

This has the following results:
- in /media/Y (Y is label of this HDD) I have this HDD and can access all its contents which is good
- in /home/eugene/.MOUNT/sdc1 I don't have anything and this is bad
- in /media/sdc1 I have only one folder from this HDD and this folder is empty (on the HDD this folder is not empty) and this is somehow weird.

View 4 Replies View Related

Ubuntu :: Syncing Tomboy Notes To Multiple Locations?

Sep 3, 2010

Is there a way to sync Tomboy notes to multiple locations? I would like to be able to sync them to my UbuntuOne account and at the same time to my local NFS server, but from the looks of it Tomboy only lets you choose one location for syncing. Maybe there's a workaround for this or something?

View 8 Replies View Related

General :: Remove Multiple Directories In Different Locations?

Mar 15, 2010

I have hundreds of directories in various subdirs that I need to remove. I want to remove all of these dirs, but can only find solutions on how to do remove files (or how to remove subdirs from within the current dir).

I think I need something like

find -iname 'testfile*' | xargs rm -i

where I want to remove every directory that contains the word 'testfile' within the directory name. I know xargs wont work for dirs,

View 9 Replies View Related

General :: Copying Files From Multiple Locations To One Destination

Feb 21, 2011

Suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt

How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt

Can 'cp' search for all file and copy them in another folder?

View 3 Replies View Related

Networking :: Data Sharing Across Multiple Geographical Locations?

Mar 9, 2010

I am looking for a solution where the data to be shared across multiple locations through login. In this regard, the following options are required.

1) The files/folders created can be viewed by the group and the owner has an option to edit and delete. However, if required the owner/admin can grant permission temporarily.

2) log of files/folders being accessed

3) The access of files/folders is based on username and password.

One thing striking me is FTP Server to enable the above solution. If so, i just want a step by step guide. Otherwise, let me know any other better options.

View 1 Replies View Related

Ubuntu Servers :: Search For Files And There Locations Printed To A File?

Oct 26, 2010

I want to search for all files on my server that end in a couple of differnet filenames, and then have the location of them sent to a file.

What is the best way to achieve this.

View 1 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related

Ubuntu :: Setting Up Conky With Multiple Wallpapers?

May 19, 2010

I have recently installed Lucid Lynx and am enjoying it immensely.I was just wondering if anyone can help me with setting up Conky to work with the Compiz wallpaper plugin.I've disabled Nautilus from drawing my desktop to enable multiple wallpapers in Compiz, but now I can't get Conky to show up on the desktop. Can anyone who's done this in Lynx post their .conkyrc files please?I've tried googling around for a solution, but most of the threads I came across were from 2007-2009, and some of the configuration options for Compiz have been updated since then. It'd be cool if I can still use conky in my multi-paper environment.

View 9 Replies View Related

Ubuntu :: Setting Up Multiple Cups-pdf Queues

Oct 21, 2010

I have an Ubuntu Server running CUPS-PDF successfully. The problem that I am running into now is that we want to have different CUPS-PDF queues.Example:Joe from Finance wants his PDF prints to go to /home/finance which is samba shared out to all users in Finance. Mark from Operations needs logs printed out to /home/ops which is samba shared to all users in Operations and must be landscape.Finance and Operations print from the command line (lp -d print-queue filename) on the server via ssh since their app runs from a terminal.

I have looked and looked all over the net and through the cups-pdf documentation to see if there is a way to force the URI for the cups-pdf print queue instead of it going to the default of $HOME/Desktop as stated in my /etc/cups/cups-pdf.conf file. Basically, I want to set up a cups pdf printer called Finance, Advert and Ops that has all the options they need so when they print something from the linux applications, and they tell it to print to the virtual printer that they have permission to use and it go to the respective directory that they have access too.

View 2 Replies View Related

Server :: Setting Up Multiple (2-3) FTP Users On Ubuntu 9.04?

Dec 22, 2009

setting up multiple (2-3) FTP users on Ubuntu Server 9.04 I currently only have ONE FTP user, but I need to have 2.

View 1 Replies View Related

Ubuntu Servers :: Windows DHCP Server - Multiple Boot Servers ?

Apr 1, 2011

I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.

These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'

From: [url]

I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.

1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?

2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?

View 7 Replies View Related

Ubuntu Security :: Setting Up Keys For Ssh For Multiple Users?

Jan 30, 2011

Ubuntu 10.10 Server is loaded. Openssh has been loaded.

I have multiple users which need access to server via ssh.

My impression from reading about ssh is that a key needs generated for each person. Thus, each key will have a passphrase that is unique to them.

In /etc/ssh/sshd_config, the default sshd_config suggest using:

%h/.ssh/authorized_keys

My assumption is %h is a variable that will allow the current user to use the public key stored in his home directory under the .ssh folder in a file called authorized_keys. Is their a command string that automatically populates the authorized_keys file?

I am surprised that even though there are a number of hidden (e.g. .****) files located in the home folder, there is not one automatically generated as .ssh. It appears I have to create that directory myself. I am especially surprised by this since it appears the instructions for generating a key seems to load the key in the home directory instead of proceeding to create a .ssh folder to store the keys in.

It is not clear, but it appears that the public key needs to be copied or appended to the authorized_keys file, but, using the scheme above, the public key needs to be copied or appended to each users authorized_keys file instead of appending all public keys to a single authorized_keys location.

It then appears that each persons authorized_keys file needs permissions set to 600.

It also appears that if I decide to use RSA instead of DSA, I would do the same thing above but would use authorized_keys2 file instead.

Why doesn't the home folder which gets automatically set up for each user automatically get a .ssh folder generated? i.e Why does it have to be created by hand? Does it need the same permission on the .ssh folder? ie 600?

My aim is to allow many to log on via ssh simultaneously and then allow many to simultaneously vnc into their respective gnome desktops.

View 6 Replies View Related

Server :: VPS Setting Up Multiple Outgoing Ips?

Jun 10, 2011

i have ip's which are 1.1.1.1 and 1.1.1.2. If i log into 1.1.1.1 the outgoing ip shows up as 1.1.1.1 and if i log into 1.1.1.2 the outgoing ip still shows up as 1.1.1.1. I need to set it so that when i log into a 1.1.1.2 to shows up as 1.1.1.2 as the outgoing. Same for when i log into 1.1.1.1 it shows up as 1.1.1.1 on the outgoing end. I need to know how to set it like this. Anyhelp would be greatly appreciated. I am using my VPS as an SSH tunneling. I would to have it set up so that if i log into 1 account the ip will be x.xx.xx.1 and if i log into another account it would be x.x.xx.2 ect. I have been searching for hrs on thsi stuff and no luck at all.

View 2 Replies View Related

Ubuntu Installation :: Setting Up GRUB2 With Multiple Hard Drives ?

Jul 28, 2010

I have been trying to move away from Windows2000 on Ubuntu for months. I have a few applications that I run on Windows that I have been unable to find usuable equivalents on Ubuntu eg Outlook/Mobile sync application required for my job and a DVB TV card application for home. So it looks like I am stuck ruuning W2K and Linux for at least a while and indeed I have been using GRUB2 to select between W2K and Ubuntu.

I need some basic advice about setting up GRUB2. My philosphy when it comes to PC data is you can never have enough backups and I avoid any single point of failure. So I have always used two hard drives which I keep in sync almost daily with FreeFileSync. I also swap my most critical encrypted data between a laptop and desktop. Then I also alternate external USB drives stored away from my home.

My current partions are

When I installed on the Ubuntu 500GB I let it & GRUB2 take the default options so it boots from Hd1 and I assume certain executables are stored at the begining of the Ubuntu partition as well as configuration files in its file system.

Now I'm replacing the 500GB with a 1.5TB and the old 500Gb will become my backup drive. I want to keep the backup drive bootable in its onw right. If either hard drive fails I want a bootable system and acccess to my data.

So my plan is to use the following partitions.

I can install W2K on the 1.5Tb from scratch or use Acronis to restore an image file. Then I can install Ubuntu from scratch.

OK now for my questions.

1) Can I get GRUB2 to put its executables and configuration files on a small partition of its own? I see no reason why they should be dependant on a specific Ubuntu partition. I have read posts mentioning this but not sure if this has to be a bootable Linux or just a file system with the config files.

2) Can I run update-grub on any Linux and store or copy the config files to the partition in 1?

3) I will use BIOS to determine which hard drive is first to boot. When I run update-grub (or when it runs during the new Ubuntu install on Hd1) I dont want GRUB2 to do anything with Hd2, not even know Hd2 exists, it that an option?

View 4 Replies View Related

Server :: Setting Up Postfix To Use Multiple IP Addresses?

Apr 17, 2011

I set-up his mail server for him with Postfix but what he wants I have no idea how to do.

Essentially he wants it so that the mail gateway IP corresponds with the dedicated IP of the domain and I have no idea how to accomplish this.

I found some documentation on the web saying that the fix for this was to run multiple instances of Postfix which I tried doing but each time I try to start the second instance I get the error that postfix is already running.

There has to be an elegant way to make this happen, I really hate to tell a client something can't be done even though the concept is a bit pointless, IMHO. I am hoping I can get some feedback here on if this can be done and if it can the easiest way for me to accomplish doing it.

Here is some of the config files (example.com has been put in place of the actual domain names and the ip of 5.5.5.5 is in place of the actual IPs


Code:
[root@youronlinehosting ~]# cat /etc/postfix/transport
example.com smtp:5.5.5.5
example.com smtp:5.5.5.6
example.com smtp:5.5.5.7

[Code].....

View 1 Replies View Related

CentOS 5 Server :: Setting Up Multiple Websites/IPs?

Sep 25, 2010

I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).

View 3 Replies View Related

Debian :: Setting Up A RAID Array With Multiple Partitions

May 23, 2011

I need to set up a RAID 1 array on Squeeze. I have 3 partitions: sda1 is root, sda5 is home, and sda6 is swap. (sda2 is the extended partition containing home and swap. This was a clean installation, so I don't know what happened to sda3 and sda4...)

All the information that I've been able to find recommends doing something like this:

mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sdb1 /dev/sdc1

Do I need to type a separate command for each partition, or is there a better way to do it? Also, should I use the UUID instead of the dev names?

View 4 Replies View Related

General :: Setting Permission For Multiple Users To A Directory?

Feb 25, 2010

I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.

UserA --> /source/myDirA
UserB --> /source/myDirB

I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.

rwxr_x_r_x UserA
rwxr_x_r_x UserB

They're read/write/exec permissions are identical.

View 14 Replies View Related

Server :: Setting Up Network Share With Multiple Drives

Aug 12, 2009

I have what will soon become a file server here running Mandriva 2009.1 and I need to set it up for use. There are 6 physical drives, sda-sdf. According to my fstab (pasted below), the OS is installed on sdb.. and for some reason I have a swap partition on sda and sdb. I had a horrible time getting a working installation, and that's probably leftover from a previous attempt.

Question 1: Can I simply edit my fstab to remove the swap on sda, effectively confining all system resources to sdb? The end result I want is all storage space over all drives accessible from a single mount point which can be accessed over the network.

Question 2: Once I sort out the weird fstab, what's the best way to go about setting this up? I imagine I need to format & partition the other drives (all but sdb).. but as far as organizing the free space, what's the best way? Is it possible to have multiple physical drives accessible from a single mount point? Or will the users have to use each drive separately? I was thinking I could create a directory on sdb (in /home?) to use as a root for the network share, and then automount the other 5 physical drives there. Does that make sense?

Code:
/etc/fstab:
# Entry for /dev/sdb1 : UUID=7461ae34-aaa1-443d-82e1-fc9000afcc42 / ext3 relatime 1 1
# Entry for /dev/sdb6 : UUID=41535e04-0368-4682-ab9c-5f791bfea803 /home ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda5 : UUID=9edbc49b-302c-43c8-8264-ed49a7f1fff2 swap swap defaults 0 0
# Entry for /dev/sdb5 : UUID=b7039857-dfae-4a92-8ff4-9d1cdcf25351 swap swap defaults 0 0

View 5 Replies View Related

Server :: Setting Up A Multi-level Multiple Fuctions?

Dec 4, 2010

A friend of mine is starting a school this school has computers. I'm assuming windows but that's not that point at the moment. He asked me about setting a main unit that held the kids info and their work complete on the computer. Effectivley what I am asking is how do I set up a server to allow many multiple (at least 50 user at a time) each with their own folder as their home (or desktop I guess is a better word). He also wants a person to be able to add themselves as an account similar to that of signing up for something (ie facebook twitter you know). Oh and ( I almost forgot the most important) how to setup the server to allow the other computer to boot to it via the network...

View 3 Replies View Related

Software :: Setting Up Tightvnc For Multiple Users On Same Machine?

Nov 26, 2010

I am searching for a way to have multiple sessions or users on the same vnc server. I have a machine that I need to remotely access as root (for admin purposes) and as myself (as the normal user) the rest of the time. I probably will never have to remotely login at the same time as both root and myself (I am not that multitasking!)I searched the web for almost 1 hour without finding anything useful... Right now my /etc/rc.d/rc.vncservers.conf looks like:

[code].....

View 2 Replies View Related

CentOS 5 :: Setting Up Repositories With RepoSync And Multiple Versions

Jul 17, 2009

I'm missing a fundamental that I just cant seem to wrap my head around with setting up repositories with RepoSync. I set up a local repository when my system was running version 5.2. Everything ran like a top up until the release of 5.3 Upon release I ran the standard yum on my 5.2 server which upgraded it to 5.3 and thats where my mental block is catching me up.

When I run a reposync It seems that all I'm able to download is the 5.2 packages. I'm trying to figure out how I can manage both a 5.2 repo along side a 5.3 repo with reposync and figure out what needs to be done to properly make reposync pull down the latest updates for the newer version. My original thinking was that once my repo server was upgraded to 5.3 it would start pulling the 5.3 updates but obviously I'm way off base since that is not happening.

View 1 Replies View Related

Ubuntu Servers :: Backup Multiple Servers ?

Jan 19, 2010

I currently have a group of 3 servers connected to a local network. One is a web server, one is a mysql server, the other used for a specific function on my site (calculation of soccer matches!).

Anyway, I have been working on the site a lot lately but it is tedious connecting my USB hard drive to each computer and copying the files. This means I am not backing up as often as I should...

I have a laptop connected to this same network that I use for development so I can SSH into to the computers, is there any software for ubuntu that can take backups of files that I choose on multiple computers? I know I could rsync but is there something with more or an GUI?

Then I can just every 2 days move the most recent backup from my laptop to the USB drive. Then I will have the backup stored in 2 places if things go kaboom somewhere.

View 9 Replies View Related

Ubuntu Servers :: Multiple FTP Servers On One Machine?

May 20, 2010

I'm running Ubuntu Server 10.04 and have a secure (SSL/TLS) FTP server on it. However, I'd like to use this FTP server to update programs I made using Microsoft Visual Studio. Unfortunately, in Microsoft's infinite wisdom, secure FTP servers cannot be used. Rather than use an insecure FTP server, I want to set up my secure FTP server to be able to access whatever I need to on the machine, and then add an insecure FTP server that only has access to the directory where I put my update files. I am currently using vsftpd as my FTP server. Is there any way that I can set up two FTP servers on this single machine?

View 6 Replies View Related

General :: Setting Multiple Switches In Grep - Bash Script ?

Feb 21, 2010

I'm working on setting multiple switches in grep.

Here's an example of how to run my script:

would (should) produce the results of this:

Right now i have some code to catch the inputs, using a variable "z":

Code:

Then:

Code:

I'm almost positive that the problem is in the bolded line above (for one thing, it always leaves off the initial "-e"). So basically i want a string that gives me "-e input" and concatenates as many times as necessary.

View 5 Replies View Related

Software :: Webmin Dansguardian Setting Up Multiple Groups Gives Error

Mar 10, 2010

I am running Webmin Squid and Dansguardian. Works great. Trying to set up multiple groups now. In the Dansguardian module it has an icon to set up lists and configs for multiple groups. I click it and I get the following:
Global symbol "$debug" requires explicit package name at /usr/share/webmin/dansguardian/setupfiltergroups.cgi line 114.

It repeats this same error message for line 123 138 139 141 302 and 315. I am running Ubuntu 9.10 desktop. Ubuntu is up to date. Not sure if I need another package or not? When I installed Webmin, I installed apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl when I set it up, so I am not sure if I need another module or anything to help with the error?

View 2 Replies View Related

Ubuntu Servers :: Setting Up DNS For A Small Lan

Jan 25, 2010

how to set up dns/bind but the issue I am hitting is that I want to just create a non internet domain setup ie t60.mysuperlan. desktop.mysuperlan. etc . Using a hosts file isn't the best as its pretty much about learning all the stuff to make it work.

View 2 Replies View Related

Ubuntu Servers :: Setting Up Lpr For Printing Under 8.04

Feb 23, 2010

I managed to install a networked printer to my box by

apt-get install system-config-printer-common system-config-printer-gnome

And using the system-config-printer, I can send print test page and it works.

Now, I noticed that I don't have lpr installed on this box.

So even if I install lpr or lprng I cannot seem to make it work.

Ohh and by the way, the only thing I use to print from that box is Acrobat Reader 9.. it is proprelly installed. I can see the networked printer entry from the program.. but for some reason Acrobat Reader 9 needs to use lpr to send the print job.

I wish to know what I am missing here.

I can do lpstat -v and I see my printer entry from there.

Now: the question: how can I setup lpr to work with my networked printer?

Should I install lpr or lprng?

What is the proper way to install a networked printer under Ubuntu-server?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved