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
ADVERTISEMENT
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
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
View Related
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
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
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
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
Jul 22, 2010
I want to pass a directive to all but one or two locations. How do I do that?
Like:
<Location /1>
xxx
</Location>
<Location /2>
[code]...
View 2 Replies
View Related
Mar 15, 2010
i have different subnet running on my network they are 192.168.1.0 to 13.0, i want to restrict subnets with different sites. for example. from 1.0 to 6.0 i want to give them 3 sites to visit, for 8.0 give some different sites to visit. allow all traffic to 13.0 but block few sites for them. i want to use url_regex for this and place sites name in different locations.
View 1 Replies
View Related
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
Sep 29, 2010
have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet
View 1 Replies
View Related
Jul 14, 2010
I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.
Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:
Code:
sudo tcpdump -i vlan4 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
[code]...
View 8 Replies
View Related
May 28, 2010
In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.
View 1 Replies
View Related
May 18, 2010
I have an issue with users logging into a server. There are multiple (5 or so) database admins that have to log into a windows 2003 server and from there log into a red hat server. Once they are in the rhel box they execute an app (let's say xclock) that gives them an xwindows session on their desktop. Currently only one person can do this at a time, but they have asked me to configure it to allow multiple users to log into the red hat box from the windows server and run an xwindow.
View 6 Replies
View Related
Apr 4, 2010
i have setup mailrelay using postfix and relay email to exchange server. The problem is how can i relay email to multiple exchange server. For example: -
domain aa.bb.com relay to exchange server 10.10.10.10
domain 123.test.com relay to exchange server 192.168.10.5
View 5 Replies
View Related
Aug 30, 2010
I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?
View 1 Replies
View Related
Feb 2, 2010
When running MintLinux a year or so ago, I encrypted a load of sensitive documents. This was done using a PGP tool for Nautilus. (Something like right clicking on the file, and then encrypt). I made the keys, and obtained an encrypted file. Everyone knows what's coming up now. Since then, I have lost the key I retained for opening this file. I understand that I have no chance at all of getting the data out without the secret key. My question is, where would the secret key have been put? It was a Gnome program which did the work, and also guided me through making the keys. I cannot find this program in Gnome under Ubuntu 9.10.
Would I be silly in thinking that the same program with exactly the same parameters would make the same secret key file? I know the passphrase exactly, just lost the secret key.
View 1 Replies
View Related
Mar 7, 2010
What can you do when your linux system "can't find" dynamically linked libraries that are indeed installed in their correct locations? Case in point, I'm trying to run a program called 'ucanvcam':
oliver@human ~/installed/ucanvcam-0.1.6/bin $ ./ucanvcam
./ucanvcam: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
oliver@human ~/installed/ucanvcam-0.1.6/bin $ locate libgd.so.2
/usr/lib64/libgd.so.2.0.0
/usr/lib64/libgd.so.2
oliver@human ~/installed/ucanvcam-0.1.6/bin $ ldd ./ucanvcam
linux-gate.so.1 => (0xf7706000)
[...]
libgd.so.2 => not found
[...]
librt.so.1 => /lib32/librt.so.1 (0xf6b1e000)
How can I tell it to look for libgd.so.2 in /usr/lib64? And more importantly, why isn't it looking there, and where is it looking?
View 1 Replies
View Related
Mar 27, 2011
I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?
View 1 Replies
View Related
Aug 21, 2010
I am sitting here at my computer at 2:30am on a saturday morning with no idea what the hell im doing. But here's my goal I have a KML File for Google Earth. This file is generated with the GPS locations of certain sites.
I have a text file with extra information about certain sites. What i'm trying to figure out how to do is by using perl I want to open the text file grab the first location on line one and search for it in the KML file. When that line is found I want to edit the Description field in that KML file and add something to the description and change the placemark from Yellow to Blue.
Can anyone give me advice on the best way to handle this and where I can start. I can understand if nobody wants to give me the answer directly but I would like to be pointed in the right direction
View 2 Replies
View Related
Feb 23, 2010
I've got an external HDD from Iomega that I've been using for over a year and lately it's been doing this thing where it suddenly changes from /dev/sdg to /dev/sdh while the partition on it is still mounted, seemingly at random. I'm often (not always) able to look at the contents of the partition, but it gives me I/O errors followed by a list of files and directories.
I am using slackware64 13.0 running kernel 2.6.29.6. Below I've provided the relevant lines from dmesg (edited out irrelevant lines to keep post under max character limit.) I'm beginning to suspect NFS has something to do with this, but I can't even begin to imagine how.
When this happens I'm able to umount -l the partition and remount it using the new /dev/sdh1 but eventually the same thing just happens and the whole drive switches back to /dev/sdg. This problem persists between reboots. It's also happened with an ext3 filesystem, in fact I switched to ext2 because it kept telling me "Aborting journal" and I was afraid I would get a corrupted journal and perhaps a destroyed file system.
About 8 months ago I was doing some work at my brother's place and while down on the floor fiddling with cables I yanked this whole drive off the desk and it smashed into the floor (while spinning probably, I'm pretty sure this model is disk based.) I've been expecting to see some strange behavior since that happened, but it took a while and I can be certain this is related to that incident, although I'm rather convinced it is.
Code:
sd 5:0:0:0: [sdg] 976773168 512-byte hardware sectors: (500 GB/465 GiB)
sd 5:0:0:0: [sdg] Write Protect is off
sd 5:0:0:0: [sdg] Mode Sense: 34 00 00 00
sd 5:0:0:0: [sdg] Assuming drive cache: write through
[code]....
View 5 Replies
View Related
Apr 18, 2011
I have 2 linux servers in different locations. I need to setup a ip tunnel. I follow this steps on both servers:
Server1: ip tunnel add tun0 mode ipip local IP_Server1 remote IP_Server2 dev ethX ip l s tun0 up ip a a 10.10.10.1 peer 10.10.10.2 dev tun0
Server2: ip tunnel add tun0 mode ipip local IP_Server2 remote IP_Server1 dev ethX ip l s tun0 up ip a a 10.10.10.2 peer 10.10.10.1 dev tun0
After creating the tunnel everything is ok, but after a time(maybe some hours), I can't ping the other end of the tunnel (ping to IP_Server1 and IP_Server2 is ok all the time; the connection to internet is very reliable). I have tried "ipip" and "gre" mode, but same result. If I ping from two servers the other end of the tunnel, the connection is again established for some hours and ping is working in both directions.(if I ping only from one side the ping is not working) How can I resolve this issue for no longer having to log on both servers to ping the other end of the tunnel? If I use an crondjob to ping the other end of the tunnel at 2 hours everything is working fine for weeks, but I need other solution.
View 5 Replies
View Related
Mar 27, 2011
I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?
View 4 Replies
View Related
Aug 1, 2011
I am completely new to compiling the kernel. Trying to compile on an old Dell C610 laptop that has Debian 6.01 installed and working. Here is what I have done so far:
Downloaded linux-3.0.tar.bz2 to home directory Also downloaded patch-3.0-git13 to home directory tar xjfv linux-3.0.tar.bz2 which uncompressed the tar ball in the created the linux-3.0 directory in my home directory
[Code]...
View 9 Replies
View Related
Jun 15, 2011
I have a workstation dedicated to monitoring. The goal is to have multiple web sessions and other applications running across dual screens on multiple virtual desktops. I have a nice Perl/TK/wmctrl script that will automatically rotate the desktops. All is working great.
The problem is, I need a solution to automatically start the applications on the correct desktop, with the correct window size, in the correct location on the desktop. That way we can start the monitor boxes in the morning and have everything start in the correct place. It is a really cool effect to have wall mounted monitors with cube rotation showing off multiple graphs and more.
Do any of you pros know how to start an application with a specific window size and define where on the desktop it is placed? The box is running OpenSUSE 11.4 KDE. Is that kind of control possible?
View 1 Replies
View Related
Apr 24, 2010
I am trying to view a share I have on a windows computer but nautilus claims it can't handle that. I tried it in dolphin and found the file but when I tried to open it gedit claims it cannot handle smb locations either!
View 8 Replies
View Related
Jun 23, 2011
Last night I used Nautilus to FTP a couple of files to my web-site, it worked fine and I created a bookmark for it. Today, with no changes to my system, it refuses to do it showing the error message in the title of the post. I thought that maybe my bookmark was corrupted so I tried File>Connect to Server using FTP with login. Just after entering my password I get the error message. I'm using Maverick. My Internet connection is working well. What the heck is going on?
View 2 Replies
View Related
Mar 13, 2010
I have a disk with two folders, folder1 and folder2. I'd like to mount these folders separately in my home folder, that is, to the locations:
Code:
View 5 Replies
View Related
Apr 21, 2011
I am writing a script to install a program (a GUI interface) and would like to search if the required software is already installed. This made me think of the command whereis. I was curious how the command whereis is working but didn't know where to search. Is it equivalent with a find at the most common locations?
View 6 Replies
View Related
Mar 15, 2011
I am experiencing weird problem with Gnome 2.30.2 on my Debian installation. I can't open "Computer" from places, also, partitions which are not explicitly defined in fstab are not mounted automatically.
View 2 Replies
View Related