Ubuntu remote backup software like Windows Home Server [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm running Ubuntu 10.04 Desktop on a headless machine to act as a server and a laptop dual-booting W7 and Ubuntu 10.04. I have a network setup so I can vnc, ssh from the laptop to the server.
My question is what is some good software to run on the server that can perform scheduled full backups of clients within the network. It should be close to what windows home server does, which literally makes an image of the entire hard drive so that restoration restores even the OS. It'd also be nice, as with windows home server, to be able to restore by booting to a CD with software on it to connect to the server and initiate the restore.

Do you want to backup windows or linux clients?
It's tricky to do a full disk image 'pull' of a windows client entirtely from the Linux server without anything on the windows box. The easiest way is to run something like drivesnapshot.de periodically on windows saving to the remote server's drive networked with samba.
It's much less common to do full image backups of Linux clients, it's generally enough to backup your /home tree and a list of installed packages - then simply reinstall a fresh machine from the net.

Well, if you want to schedule backups from your server, you can use a program called Rsync. But, if you want to create images of your computer and save them to your server, you will want to use a live cd called Clonezilla. This will create an image of your computer on the server and you can restore the image from your server onto your laptop.

Related

How to get recursively dependencies for package with versions? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I need to install a package on a system without internet access (the package contains a driver for network card).
System A has internet connection and runs Ubuntu 14; System B has no internet connection and runs Ubuntu 16.
How can I download all dependencies recursively with the correct version on system A, that could be next installed on system B?
I would suggest that you run a docker container (or some type of virtualization) with Ubuntu 16.04 on System A. After that, you can update the packages index (apt update) then install the desired packages on that system. Finally, you may copy the packages index from /var/lib/apt, and the packages themselves from /var/cache/apt/archives to System B.
It's a good practice to restrict hosts from internet access. However, as a patch management solution, you should setup a local mirror - this will centralize your patching needs for the entire organization. It's not just limited to ubuntu but you could host multiple linux distro mirrors. The only thing you really need is a large capacity disk, maybe mirror it for some non-critical resiliency. This will also cut-back on a multi-server environment using bandwidth, limiting the bandwidth to a single host pulling updates to it's mirror one-time. Just make sure you have a process or script to run to regularly check for updates. That way your hosts are ready for patching when you need it, assuming you stay on top of emerging threats and vulnerability management for various *Nix platforms.
I'm not a huge fan of reinventing the wheel so.. here's a couple how-to references.
How-to: Setup a local Ubuntu Aptitude Repo (Can setup to mirror Ubuntu 14,15,16 to support all your linux hosts.)
How-to: Set a local CentOS YUM Repo (just incase you have some RH based servers)
What you're going to have to do afterwards is change your /etc/apt/sources.list to point to your new internal repository for aptitude repos. You can just copy the lines existing there, change the server domain name to your local server. Then you don't need any of your linux hosts to communicate to any hosts outside of your network, the one server pulling from the mirrors can. It will definitely help you refine your security needs.
For RHEL based or yum, it's configured in /etc/yum.repos.d/{reponame}.repo

Remote File Transfer from Linux Machine to Windows Machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am looking to remotely transfer a file from my Linux machine to a Windows machine. I have done some research and it appears that scp is what I want to use to achieve this. However... all of the code that I'm seeing appears to be using cygwin (or similar) that is already installed on the windows machine, hardly "remote." My two systems are completely separate and have their own unique IP addresses.
Filezilla or WinSCP will do the job. It's required only to have SSH server running on your Linux machine, enabled SSH port (tcp/22 by default) in firewall and your Windows computer must be able to reach the Linux host - you can try ping <Linux-machine-IP> from your Windows computer to verify.
If you want something else, you could configure Samba or probably WebDAV (httpd.apache.org/docs/2.4/mod/mod_dav.html), which allow you to mount your Linux directories as drives in Windows without additional tools. For example, your linux home /home/user can be mounted as Y: drive in Windows.
If you already have an ssh server on your Linux machine, I suggest using Filezilla, which comes with a GUI.
You just want to install the client on windows, don't bother with the server, a classic ssh server does the job.

SSH into Linux and Open GUI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
So i know how to SSH into a box and create/modify directories etc. However I do want to know how I can open the exact GUI (For instance I want the Fedora environment that I have on my virtual machine) to open up. Meaning I need to be able to simply see my linux environment. Would anyone know how I can achieve this?
I am using a mac.
I'm presuming you want to see the gui you are running on the vm, which won't really help you here. You have a couple of options:
If you are running linux (or an X server like xceed) on the machine you are actually using, then you can enable X forwarding in ssh (-X on the command line) and then run your window manager from there.
Alternatively, you could look at installing a vnc server on your linux machine (I'd recommend tightvnc) and your host and connecting that way.
Either way this would be getting you a fresh desktop rather than what is visible on the console of the machine.
For the specific case of a virtual machine, as you mentioned, both vmware and virtualbox (I'm guessing you are using one of those) provide either vnc or rdesktop head support; you can then use either a vnc client or windows remote desktop client to connect to the actual console. In this instance this is probably what you want to do.
Set up a VNC server on your Linux machine, it can provide you with a desktop environment.

Linux Ubuntu Desktop vs Server [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to host a Webserver on my PC mainly to run Wordpress on it. But I am going to use VMWare Workstation for running it along with Windows.
Now, what I'd like to know, do I need Ubuntu Server to host the site or can I use Ubuntu Desktop for the Job?. Note that the server is not for high traffic, is mainly for testing by myself and maybe a few other people...
Thank you
Ubuntu Desktop can handle the job just fine, you'll just have to install a web server, an SQL server, etc., via aptitude. The main difference between Desktop and Server is that Server comes without GUI and other 'features' -- thus if you want to run a more lightweight instance, Server might be favorable.
They are slightly different, but one can be converted to another without reinstall.
Server comes with some packages like apache preinstalled, but no GUI.
Desktop comes with GUI and office-related packages like LibreOffice preinstalled.
Server has server kernel which is in package linux-image-server, and desktop has desktop kernel linux-image-generic.
You can convert for example desktop into server by executing
sudo apt-get install linux-image-server
and then you need to tweak grub.cfg such that new kernel is booted by default.
Biggest difference for server kernel is that it gives less priority to interactive tasks and more to serving background server tasks.

Is there Any Windows Terminal Service like for Linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
We have some codebar scanners based on Windows CE that run remote applications located on some servers via Windows Terminal Service.
Given that we are migrating our server applications to UNIX based operating systems, I was wondering is there any reliable RDP based solution that can be considered ?
Thanks,
vnc is the main unix alternative for a graphical session other than that you could run some commands over ssh.
Not RDP, there is X-windows. it's not like terminal services, but it might solve your problem (the app runs on the server, only the graphics on the client).
You run the app on the server, and re-route the display to your device.
VNC and NX are the two things that perform the same functionality as RDP.
Linux supports many different ways of remoting applications, since you probably want to detach and re-attach to the session then ssh X11 forwarding is out of the picture, which leaves:
NX: the advantage here is the speed and the fact that you can get seamless sessions. There are many wrappers around the NX libraries, the most popular ones are: x2go and winswitch - don't bother with FreeNX and NeatX which are unmaintained.
Xpra: does seamless sessions like NX, not full desktops.
VNC: TigerVNC, TurboVNC, TightVNC, ... I would go with the one that ships with your distro. Full desktops only, not seamless.
RDP (there are RDP servers for Linux too although I would not recommend them), the RDP clients are fine, although I could not get seamless sessions to work with them...
I have put up a more detailed comparison here - it also explains what seamless sessions are, etc.

Resources