Applications :: Create Local Mirror Of Remote Server Without Altering It?
Jul 29, 2009
I'm new here and hope to profit from your immense linux knowledge and of course to share my own experience where I can.
I'm in a student organization and we use a file server that runs linux. I can log in through ssh and copy using scp using login and password (no rsa/dsa keys because most users are windows users using winSCP and they're lacking in computer knowledge so we don't require them to mess around with keys)
However, I don't have network access everywhere, so I'd like to make a copy on my laptop harddisk of some of the folders I use most frequently. Note that I don't need it to copy files from my pc back to the remote server so I don't need two-way sync. Deleting the local copy every time and downloading a new full copy is not an option as we are talking about several gigabytes and the download speed is limited. Normally I would use Unison, however, this requires unison to be installed on both pc's and I can't install any software on the file server so this is not an option.
Any ideas on how to achieve this? I'm reasonable knowledgable about linux so I don't mind tinkering with some config files and using command line applications.
View 1 Replies
ADVERTISEMENT
Aug 27, 2010
I have a remote drive mounted on my system(ubuntu 10.04 x64), and i have the contents of that drive backed up to dropbox. the problem is, if i unmount the drive, the files disappear from dropbox. is there a way to mirror the contents of the network drive to a localfolder(preferably in such a way that all changes and file deletions are changed on the local folder instantly, but unmounting doesn't delete it all)? It looks like rsync would work, but im not sure how to make it work.
View 2 Replies
View Related
Aug 22, 2011
I am trying to create a local mirror/repository for CentOS 5.6 for updates and network installs. I have read the page here on the site about how to do it over and over again, and I still can't figure it out. I have already created the directory, but right after that, I can't go any further. I know this is much easier than I probably think it is. Would someone mind telling me, (in beginners terms) on how to do this? I just want the 'os' package and nothing else.
View 1 Replies
View Related
Feb 10, 2010
I know there has to be an easier way to do this than to download each file individually. On an ftp site I would just use
PHP Code...
But with those files being on an HTTP server and wget not supporting HTTP file globbing I'm at a loss.
What is a one step method to recursively download all files in a directory on an HTTP server?
View 5 Replies
View Related
Jan 9, 2010
I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast. My proxy settings are like this (they go in /etc/yum.conf):
[code]....
View 2 Replies
View Related
Jan 11, 2010
I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:
#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result
[Code]....
I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.
View 3 Replies
View Related
Oct 8, 2010
For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.
Here is what I have tried:
scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures
scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder
I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.
View 2 Replies
View Related
Nov 17, 2010
I have 10.04.1 on my server with a 250gb sata drive. I have all my files on this hard drive. I'm running out of space so I have another 250gb sata drive I need installed. I want to create raid 0 so I can expand my servers hard drive space. I don't want to lose my data on original hard drive or reinstall to create the raid. Is there a way to achieve this with mdadm without altering the first hard drives data?
View 2 Replies
View Related
Apr 24, 2011
I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.
View 1 Replies
View Related
Jul 12, 2011
I am having problem to collecting email from remote POP3 (all the emails for a domain is stored here) and distribute it after collecting to several users defined to Linux server. I have install postfix in Linux server for email distribution.
View 3 Replies
View Related
Feb 19, 2010
The issue is that my CentOS workstation is in a vlan from where the Intranet's DNS servers are unreachable. For browsing the web there is an ISA proxy server, which I presume resolves DNS for my firefox. However, wget, host, ping and aria2c fail to get any sort of DNS resolution since they're being run from command line.I have exported HTTP_PROXY value, which provides me internet access on console, but,only when I connect using IP address. It fails on name resolution.
My question is:May I redirect the DNS queries to my home PC which would be running a DNS server on a non standard port?I was thinking of putting nameserver 127.0.0.1 in /etc/resolv.conf and then put iptables rule to redirect 127.0.0.1:53 UDP to a.public.ip.address:3535 UDP..I don't know if I am shooting blanks or what, I am not very much aware of this kind of setup.My main need is to provide DNS resolution to console apps.I want to utilize my company's idle bandwidth for bulk downloads, so, using proxy, SSH tunneling through my Home PC is out of question.
View 8 Replies
View Related
Aug 4, 2011
I recently bought an host to have a personal website and would like to create a bash script to create make a mirror copy of it and then add it to crontab to run once a week. Essentially what I want to do is to get the website by using wget -m ftp://user***@ftp.host/mydir
Once this is done I'd like to have everything in an archive called mysite.date.tar.7z I've no experience at all of bash scripting but I guess this should be an easy task? How to make the user and password not visible ? Is there any other option better than wget? (maybe rsync it works better?)
View 2 Replies
View Related
Oct 15, 2010
As many developers probably do, I have a Windows based machine on which I run XAMPP locally to test my code and a Linux machine with Fedora as my remote server.As I sometimes use .htaccess as a way to authenticate some parts of the website, I end up having two .htaccess files: one with the local path (something line D:My_Webs) and one with my remote path (something like /var/www/html/) to the password file.I have searched high and low, but I cannot seem to find any trick so that I only have to maintain one version of the .htaccess file which can work on both Linux and on Windows machines.
View 6 Replies
View Related
Nov 9, 2010
I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.
View 3 Replies
View Related
Jan 26, 2011
I have a problem while copying files from a remote computer to my local one using the scp command. I am sure that I am using it correctly, please check it below:
---
blah@blah.com:~/g4work> scp blah2@blah2.com:IndirectMethod_Spher...s/H_1.mac.root .
---
What I get in return (instead of the statement saying 100% of file copied) is:
---
On this machine the G4SYSTEM=Linux-g++
---
The interesting point is that the above returned statement is one of the Environment variables set on both the machines that are necessary to work with a toolkit called Geant4. Here is what I get when I type 'printenv | grep G4' just to show you (note the statement in bold):
---
G4LEVELGAMMADATA=/home/blah/geant4/geant4.9.3.p02/data/PhotonEvaporation2.0
G4INSTALL=/home/blah/geant4/geant4.9.3.p02
G4LEDATA=/home/blah/geant4/geant4.9.3.p02/data/G4EMLOW6.9
G4NEUTRONHPDATA=/home/blah/geant4/geant4.9.3.p02/data/G4NDL3.13
G4VIS_BUILD_OPENGLX_DRIVER=1
G4RADIOACTIVEDATA=/home/blah/geant4/geant4.9.3.p02/data/RadioactiveDecay3.2
G4ABLADATA=/home/blah/geant4/geant4.9.3.p02/data/G4ABLA3.0
G4LIB=/home/blah/geant4/geant4.9.3.p02/lib
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4LIB_BUILD_SHARED=1
G4VIS_USE_OPENGLX=1
G4UI_USE_TCSH=1
G4VIS_USE_RAYTRACERX=1
G4REALSURFACEDATA=/home/blah/geant4/geant4.9.3.p02/data/RealSurface1.0
G4SYSTEM=Linux-g++
G4WORKDIR=/home/blah/g4work
---
The other thing that I would like to mention is that these Geant4 Env. Variables are loaded each time a new (bash) shell is started as a result of the bash login script.
View 6 Replies
View Related
Jun 12, 2010
I'm trying to get VNC working on Damn Small Linux. I installed the package, and I can get the viewer to work. However what I want to do is get the server working so that I can remote connect to users. When I do connect instead of the active session all I get is a grey screen with an xterm window. I've done a lot of searching for this, but cannot seem to find a good answer. What I'd like to do is connect to the native X session. I've tried changing things in the xstartup file to things such as "-display :0" but it still doesn't work.
View 13 Replies
View Related
Oct 26, 2010
I recently purchased a linux VPS from [URL] just to learn and play around with. I currently ssh into the machine via Putty from various Windows boxes. Is there anyway to throw some mp3s on the remote server and then have them play locally? Server is currently running Ubuntu Server 10.04.1.
View 4 Replies
View Related
Aug 14, 2010
I am having trouble to make my SSH server working with remote machine.
Code:
telnet 192.168.1.102 22
PHP Code:
[Code].....
View 9 Replies
View Related
Nov 6, 2009
I created a local mirror with a DVD Image, is there a way to get this mirror to 5.4 now?I already updated the updates/extras repo, but now my main-repo is outdated and my updates go wrong.my directorystructure looks like this:
/server/rpmrepo/centos/5]
# ls
centosplus extras os updates
and the os folder:[code].....
View 3 Replies
View Related
Jul 24, 2010
I would like to experiment a "green" idea of virtual desktop where multiple users are served by a single powerful machine.
I have a server running 24/7. The monitor of this machine is turned off most of the time and the OS is on the login screen.
Other users, in the same local network, use less powerful machines, which could be a thin client or an old Pentium 3 machine. They access their accounts remotely and work with the GUI as if they were sitting in front of the server. Each user sees their own desktop (different themes, screen resolution, etc.). And of course it can happen that several users could log in at the same time.
The usage is modest: mostly web browsing and the usual default applications (office, wine, gimp, etc.). In particular no games or any demanding applications. The users want to use their desktop in graphical mode only.
Question: How do we call this way of using a server? Is it possible with Ubuntu? And how to implement it?
View 3 Replies
View Related
Sep 22, 2010
I have a fast computer in my office and I want the person using the slow computer in the same office to boot up and see the login window (gdm) and log-in from there into the fast computer and be able to use their session on the fast computer the same time I am locally logged in to the fast computer as a different user and session.Is this best done through XDMCP? Where is a good tutorial on how to set this up?
View 9 Replies
View Related
Feb 24, 2010
Well my local LUG has developed a cooperation with the university. Their major is music. So we would like to develop a local repository to help the updates to be faster. I checked the How to set up a local Yum Repository on Fedora 8. I guess it's same with 12.
My questions are:
1. How much space do we need?
2. Since we might setup repository for another distro, is it a way to be done with other distro? The above address describes only how to make it in Fedora.
3. Since we'll have it installed and will be usefull for the university, can we make it available to the rest of the world? Maybe contact someone for this.
View 4 Replies
View Related
Aug 26, 2011
We have several linux hosts at our site. I would like to set one of the servers to offer a local update service rather than have each host contact the public servers for update information. This would greatly speed the updates for each host since we only have a DSL connection (about 1.2Mbps transfer rate). Is there a tutorial somewhere that describes how to set up a "shadow" update server?
View 9 Replies
View Related
Jan 30, 2009
I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.
View 1 Replies
View Related
May 17, 2010
After digging around trying to figure out how to upgrade my local apt-mirror to 10.04, I figured I would share it here so anyone else who does this, can do it with ease. It requires a few steps, and editing a couple files, but the process is relatively painless.This assumes you have an apt-mirror already running on your server. Also it assumes you're using /var/www/ubuntu as your root where all your packages are stored.
The first step is to visit http://changelogs.ubuntu.com and download the meta-release packages. Create a new directory, /var/www/ubuntu/upgrade, and drop the files there.On the client's end, a single file needs to be edited, /etc/update-manager/meta-release. Change the URI's in that file to the URI of your apt-mirror and run your update manager. Your upgrade will start, only asking if you want to change your paths in your sources.list. Agree to it, and the packages will download and configure.
View 2 Replies
View Related
May 13, 2010
How can I make the user in remote LDAP server to be used to authenticate Local Linux server ?
View 5 Replies
View Related
Apr 27, 2010
I'm currently booting Linux Mint off a live USB, and its really great. The only problem i'm having is that i'm trying to get this one program, called Monica, it adjusts the gamma values, etc for your monitor, which i need because my monitor is kinda messed up :P. But yeah, the site that hosts it is down, and I cant find a single working mirror. If anyone has the package for it, would it be possible to upload it?
View 5 Replies
View Related
Oct 18, 2010
I am using SuSE 11.2's built in Samba and LDAP server (that comes with Yast) on our network. Everything connects fine, I can access shares, I can authenticate correctly, but I just need help on how to create a local admins group so Windows users can install their own software and such.
View 14 Replies
View Related
Aug 3, 2009
As the title says I'm trying to build myself a local RPM mirror. I have multiple laptops and a desktop that use Fedora 11. So I used 'rsync' to setup and sync my directories. I next went on to create my repo with the 'createrepo' function. I run my server backend as FreeBSD so I moved my data over there and setup my 'lighttpd' service.
Everything went fine until I used 'rsync' and synced up my data. Am I supposed to run 'createrepo' after each sync? If so, does anyone else use the same kinda setup, even if not FreeBSD, but a different os other than linux for their server that they run this from? I've been dealing with this for 2 weeks now and finally gave up researching and testing and thought. Not something I'm good at doing. Check my register date and my first post date.
Edit: FreeBSD doesn't have a port or unofficial port for this. I noticed it seems to be written as a python script so thought I could somehow get it to run on FreeBSD with linux emulation.
View 7 Replies
View Related
Apr 17, 2010
Release upgrade ends up with error:
"Error during update. A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. The server may be overloaded. Restoring original system state".
When doing do-release-upgrade -d to upgrade from karmik to lucid. I using local mirror ftp://ubuntu.snacho.ru (also have http that works but not browseable). When I change lines in /etc/apt/sources.list from local mirror to official [URL] all works fine. I don't want to download 1Gb from internet (because of traffic cost). What is wrong with local mirror ? I can communicate with its owner, but what he needs to change on the mirror ?
View 1 Replies
View Related