Connect Machine (desktop) To Server To SSH Into Box And Backup Some Files
Feb 7, 2010
I have an old pc currently running ubuntu server 9.10. It was configured during install to connect to the home wifi router by a PCI ethernet card, which worked all well and good. However, at the moment I cannot connect to the router (I have moved the machine too far from it). I want to connect this machine (desktop) to the server so I can SSH into the box and backup some files. I need help creating a simple wired network connection between the two, as I have no clue as to where to start.
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
I have around 100 users. I want to take backup of files which are on desktop for every user. My user directory path is -: /home/dr/<user_name>/Desktop
1) Script has to run on a particular time everyday 2) Script has to take backup of all files present in "Desktop" directory 3) Make a tar with name "yyyy-mm-dd-desk-files" 4) Make directory outside "Desktop" with name "Desktop-Backup", if already exist then don't make this folder. 5) The tar have to moved in this folder. 6) Remove the files from "Desktop" directory. (i.e. Desktop should be empty) 7) Mail the status that "Backup Successful"
I am using Ubuntu 10.04 x86_64. I log in to the machine using nfs. For a problem with mounting my home directory, I had to copy all the contents of my home directory (including all configuration files) from a recent snapshot on to itself. That is, I did something like,
Code: cp -r /home/user/user /home/user
All of my recent data and program configurations were in /home/user/user. So after the copy operation, I logged out and logged back in again to see that all my configuration and data was restored to what I wanted. But the problem is that now on my desktop I see hundreds of mounted volumes. These are coming from an hourly/weekly snapshot program. The tech support guys for my lab have suggested copying all relevant data to a backup and then deleting the home directory altogether. But I don't want to configure all programs all over again. I think I should be able to get rid of the problem by editing/deleting one or more desktop configuration files. I just don't know which ones. I tried looking around the gconf-editor but was overwhelmed at the amount of information on there.
I have a Posh new 64bit Ubuntu computer with one of the latest distro's on it,works loverly.this is in my front room.In my beroom I have an older box with Xbutu 10.10 installed which I want to use to play movies into my telly that are stored on the ubuntu box which is connected to the same sky router.I tried ubuntu before xbuntu to achieve this ,which worked with "connect to server",but the bedroom machine doesnt have the Ooomph to play movies without clipping the video part.I was hoping Xbuntu would free up enough resources to enable the playing of movies, and it is indead more suitable,but I cant work out how to connect to the files on the ubuntu machine.
I've just got a few questions about the last steps of my backup server. I've got ubuntu server 10.10. The 2 machines I want to backup are a xp desktop and win7 laptop. All connected via router. I have sshd, samba server and rsync packages installed on the server. I don't want all 3 mirrored so should each comp have it's own partition on the server or could it be setup as /media/desktop and /media/laptop?
Currently the server firewall is setup with ufw as deny all incoming allow all outgoing. I want to use ssh with rsync and samba so do I only need to leave port 22 open and allow a max of 2 connections at at time as fire wall rules? Also what do I need to do with permissions on windows? Do I just enable sharing on the files I want backed up? Can I only allow sharing with the server and no other computers? Last question for now I think, I will be backing up from the server as local and the windows machines as remote, what software do I need to install on the windows machines to allow backing up with rsync and file sharing with samba.
I have a Win7 deskptop (host) and want to run a linux virtual machine; but I want that linux virtual machine to be able to access a directory on the host machine (in this case, to serve a web directory).
What virtual machine software would you recommend for this?
We have linux base server in US. We have to take a backup of that server we access this server through SSH secure shell client software.so we have to take a backup of that server in our pc.can anybody tell us How we should take backup of all files in our pc.
My school are cutting costs.I suggested they go open source.They said if I could find out how then they would consider it.Basically they want a mixture of windows and ubuntu clients.What I would like to no is how a ubuntu machine can connect to a server (SAMBA I think) so that it can access our home folder like the windows machines do.
I am using MySQL as the database system for my application on a Linux system. Every week I update the system and take backups (mysqldump) of the databases changed (2 databases). I then .tar.gz them and ftp the resulting file to a remote server, after which I remove the original backups and tar.gz files from the Linux server. Being a complete novice when it comes to Unix systems, I would like to know if it is possible to write a script which would do all this automatically, i.e. perform the following steps.
1) Backup database A to A.sql (mysqldump) 2) Backup database B to B.sql (mysqldump) 3) tar -cvzf dest.tar.gz A.sql B.sql 4) ftp dest.tar.gz to ftp@remoteserver.com 5) Delete A.sql, B.sql, dest.tar from local server
To automatically upgrade i need to connect to a FTP server. Now do i have to allow wordpress access via apache to the machine it is on or do i have to create a ftp server on another machine with the files on it?
I have a backup folder which I need to prune and I've been trying to do a find and destroy action on files in this folder which have not been modified for more than 30 days. I figure if no users complain that their files have been missing for more than 30 days, it's safe to delete them from this folder.
I'm trying to install the openconnect VPN client on a server machine, Debian 7 Wheezy, and APT is trying to install a lot of dependencies. I think it's trying to install the whole desktop environment.I was searching the web but all articles are for desktop machines and nobody mentions my problem with the dependencies. I also have openconnect installed in two Gnome desktop machines without problems.
This is the output:
Code: Select all# apt-get install openconnect Reading package lists... Done Building dependency tree Reading state information... Done
Since a few weeks I cannot open a console in vmware server 2.0.2 anymore. I don't know exactly when this started because I use vmware only occasionally (I have only 1 program (an old Ashlar DrawingBoard) which does not run properly in wine). VMware server and the console have been working before without problems, but now I get the message "Cannot connect virtual machine console." and it times out. This is on Opensuse 11.1 with VMware Server on the same pc, Firefox and the guest is Windows2000.
I have tried to disable all extensions in firefox 3.6, disabled the firewall, even created a new user (on the same pc) with a clean firefox, all without any result. However when I connect from a different computer which runs Internet Explorer under windowsXP, then I can get the console without problem.
So, somewhere there is something wrong between Firefox and VMware server.
I am a total noob with regards Linux so will undoubtedly frequent this board asking some lame questions in the coming weeks. At present I am trying to setup a LAMP Server on an old desktop machine I have lying about, however there is not going to be a keyboard, monitor or mouse attached beyond the installation process. My question simply is am I best installing the server or desktop version of Ubuntu for this requirement?
I have been playing with Desktop 9.04 and found it tough to use headlessly, however understand that Server 9.04 fully supports headless access. Being a newbie I do prefer to use the GUI to make changes and generally play around, so a UI such as GNOME would be essential. Having read about I understand the best way to access remotely is to install SSHServer and VNCServer and then login over SSH and VNC into the box.My remote machine I will use to connect to Ubuntu is a Windoze 7/XP machine.
I currently run Win 7 and want to upgrade my computer to a server to accomplish the following... I have a VPN Service. I want the server machine to connect to a VPN providing a secure connection. Then, I want all the machines in the house (windows based) to connect through the server onto the VPN connection. Hopefully this makes sense. Would it be better to stick to Windows Server 2008 or switch to Ubuntu?
I've set up a PC installed with Ubuntu 11.04 on my home network, given it the name "server" and given it a static IP of 192.168.1.200. I've created a file in the home directory called "Public" and set it to be shared with everyone, basically a chmod 0777 situation. Now, how do I connect, or map out that folder from another ubuntu 11.04 machine? I know how to do it in Windows, just hit "run" and type in "\server" and blamo, I can see everything that's shared on that machine. I can't figure out how to do this with Ubuntu.
I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).
The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:
I would like to create a bash menu script for my home server For instance if i were to type ./script It would then bring up 3 options
a. Create a backup b. Restore files from a backup c. Quit
If you were to select a or b it should then ask you were you want to backup or restore from. And if i were to type in an incorrect letter i should get an error and take me back to menu. I have attepmted this a view time now and have magaged to get the menu up using parameters
I was looking for:how to access my Linux machine(OpenSuse 11.3) that is being hosted at my hoster company from my home Win Pc, I found TightVNC , but I am confused, should I install it on both systems ( viewer and server) ? .. what about the VirtualBox , can i Access with that tool or it is only for mounting the local Virtual Machines?
I want to write a shell script which will copy files from user Mac machine to UNIX Server without prompting userID and Password. I do not want to use ssh or rcp commands as it prompts for password.
I remember it being really easy to add a printer attached to another computer using Ubuntu, but I don't remember exactly what made it so easy. All I know is that now that I have switched to Kubuntu the process has become much harder because now I have to find out some special locations, numbers etc. for it to connect to the printer. It's connected to a Windows XP machine on the other side of the house. It says alot about 'contacting the network administrator' if I am unsure about what to put in. But I am more or less the network administrator. how to find out what numbers to put in so that my Linux machine can connect and print to the Windows machine? Or maybe someone knows a few commands to share? I go to Applications > Settings > System settings, Printer configuration, New Printer, New Network printer, and then there are a few options but I don't know which one to choose. Windows Printer via Samba, I guess? Then in the box that says smb://[enter stuff here] I need to put in info but I don't know how to find that info.
As a Windows user, I generated a pair of DSA keys from CoreFTP Lite and sent it to a third party that runs an SFTP server. They told me that a valid DSA key needs to have ssh-dsa at the start and the username@systemname at the end. CoreFTP generated neither the ssh-dsa header nor the username@systemname footer. I tried with WinSCP and it didn't generate them either. Is there a difference between how SFTP works between Windows and Linux? If I put a useraccount@systemname at the end of the text will it work? How would the Linux system validate that my system is called "systemname"? If it can't validate, what is the purpose of adding it?
I am trying to share files between my Windows XP machine and ubuntu server. I set up and configured samba following the instructions in the Online Ubuntu Server Guide. [URL] This is the abbreviated version of my smb.conf file here.
[global] workgroup = HOME server string = %h server interfaces = 127.0.0.0/8, 192.168.1.101/24 # map to guest = Bad User
My centos server was startup to command line mode (console), and I install desktop on that server. after that I set up vncserver from putty, and connect to it using vncviewer, but I can not get into the desktop environment in installed but xwindow desktop instead, and if I try to "startx" in the vncviewer, error occurs, what's wrong ?
I set up the remote desktop on ubuntu and I connect to my current ubuntu's desktop with the VNC viewer. It is working, I see the mouse cursor, but I cannot see the files while I'm dragging them.
Another friend of mine has THE SAME problem.
I have installed and configurated NX server, and the problem is the same.
If I connect with the nx client, using a different session, I can control my desktop, I can drag windows and files, but if I'm using the shadow option from the nx client program, then I cannot drag windows and files.
I have 30 systems in a LAN . My users need to login as domain user from their XP clients and store their files in the Linux server. They should not be allowed to store in local machine and also should be granted a particular size of space in server.
what are the procedures to be done in linux server and
just like in windows we access shared files in by typing in run command
\192.168.0.1 is there a provision to view shared files from xp to Linux