How do I uninstall / unregister DeltaCopy Server Service
Question:
How do I uninstall / unregister DeltaCopy Server Service
Answer:
Follow the steps below to unregister DeltaCopy service with the OS. IMPORTANT: This method does not remove any files, all it does is modifies some registry settings so that the Windows OS does not treat DeltaCopy as a Windows Service.
Stop the service if it is running in the background. This can be done either from DeltaCopy Server application or from Windows Control Panel.
Open a Console (DOS) window
Using the cd command, change the directory to location where DeltaCopy is installed
Type the following at the prompt: DCServce /UNINSTALL
You should get a message confirming the removal of this service.
How to copy files from windows server to linux client in optimal way. Between linux rsync is optimal way to go, the same can be done between linux and windows, open source way, setup in 5 minutes
[i]. DeltaCopy is a small rsync server for windows. It runs as windows service and uses built-in Cygwin libs to support rsync
Woks for:
✔ Windows 7
✔ Any linux with rsync client
✔ DeltaCopy v. 1.4
Should also work for:
✔ Any current windows version
✔ Other DeltaCopy versions
Basically, you download the DeltaCopy, register it as a service, say where your local directories are, that’s it. Ready to rsync.
I chose “without installer” because it makes it more portable. Just directory.
2
Setup the service
– Decompress the deltacopy archive to the directory you prefer it run from.
I used C:\programs\servers\DeltaCopy
– Now, start “DeltaS” or “DSetup”.
– Press “Register Windows service” button.
– Provide your local credentials or your domain credentials whatever you prefer
💡 In win 7 you can use “whoami” to find out your current user:
C:\Users\diuw>whoami
mydomain\diuw
– Press “Start server”. If it fails to start, go to windows “services” and try starting manually.
Find “DeltaCopy server”.
I.e. if service credentials are not good, you can modify them.
For that, right mouse click on the service->properties->Log On
Further, for example try “local system account”
3
Setup the source directories
DeltaCopy will server the directories under “Virtual Directories”. Switch to that tab, use “Add New Directory”.
In my case I created “C:\Temp\testdir” and gave it a virtual name “testdir”.
You can use any existing directory though.
4
Rsync from linux
Use something like rsync -r -t -v rsync://YOUR_HOST_IP_OR_DNS:/testdir .
First, I ran rsync on empty dir, the I added empty “test.txt“ on the windows end. Here is what I got
In computing, a file system (or filesystem) is used to control how data is stored and retrieved. Without a file system, information placed in a storage medium would be one large body of data with no way to tell where one piece of information stops and the next begins. By separating the data into pieces and giving each piece a name, the information is easily isolated and identified. Taking its name from the way paper-based information systems are named, each group of data is called a “file”. The structure and logic rules used to manage the groups of information and their names is called a “file system”.
There are many different kinds of file systems. Each one has different structure and logic, properties of speed, flexibility, security, size and more. Some file systems have been designed to be used for specific applications.
My Conclusions and thoughts (by preference order):
XFS – Is best choice for server and data storage environment. Hard to to have data corruptdue to a power fail, system crash or hardware fail. Created by SGI in 1993 (the most robust filesystem – more than 20 years old). Is supported by most Linux distributions, some of which use it as the default file system (like Red Hat Enterprise Linux 7+).
JFS – Met expectations. Uses less CPU resources than other filesystems. Also hard to have data corrupt due to a power fail, system crash or hardware fail. Created by IBM. It’s under a free software license GNU GPL.
EXT4 –Stable and proven. Good performance and easy to handle. Is a good choice for desktop use, even for server environment in some cases. Has default on almost any distroinstallation.
Remarks:
ZFS – Have a remarkable good performance on Linux. Great features like unlimited snapshots, clones, pool bases storage, etc. really a good choice for data storage. Create by Sun Microsystems for Solaris and later for FreeBSD, then, for Linux (2008). Still in its infancy and should be avoided in production environments too. No many benchmarks, tests or documentation on Linux environment found. So IMHO, it not worth the risk.
Brief: This tutorial shows you how to install Arch Linux in easy to follow steps.
Arch Linux is a x86-64 general-purpose Linux distribution which has been popular among the DIY enthusiasts and hardcore Linux users. The default installation covers only a minimal base system and expects the end user to configure and use it. Based on the KISS – Keep It Simple, Stupid! principle, Arch Linux focus on elegance, code correctness, minimalist system and simplicity.
Arch Linux supports the Rolling release model and has its own package manager – pacman. With the aim to provide a cutting-edge operating system, Arch never misses out to have an up-to-date repository. The fact that it provides a minimal base system gives you a choice to install it even on low-end hardware and then install only the required packages over it.
Also, its one of the most popular OS for learning Linux from scratch. If you like to experiment with a DIY attitude, you should give Arch Linux a try. It’s what many Linux users consider a core Linux experience.
In this article, we will see how to install and set up Arch Linux and then a desktop environment over it.
How to install Arch Linux
The method we are going to discuss here wipes out existing operating system(s) from your computer and install Arch Linux on it. So if you are going to follow this tutorial, make sure that you have backed up your files or else you’ll lose all of it. You have been warned.
But before we see how to install Arch Linux from a USB, please make sure that you have the following requirements:
Requirements for installing Arch Linux:
A x86_64 (i.e. 64 bit) compatible machine
Minimum 512 MB of RAM (recommended 2 GB)
At least 1 GB of free disk space (recommended 20 GB for basic usage)
An active internet connection
A USB drive with minimum 2 GB of storage capacity
Familiarity with Linux command line
Once you have made sure that you have all the requirements, let’s proceed to install Arch Linux.
Step 1: Download the ISO
You can download the ISO from the official website. Arch Linux requires a x86_64 (i.e. 64 bit) compatible machine with a minimum of 512 MB RAM and 800 MB disk space for a minimal installation. However, it is recommended to have 2 GB of RAM and at least 20 GB of storage for a GUI to work without hassle.
Step 2: Create a live USB of Arch Linux
We will have to create a live USB of Arch Linux from the ISO you just downloaded.
If you are on Linux, you can use dd command to create a live USB. Replace /path/to/archlinux.iso with the path where you have downloaded ISO file, and /dev/sdx with your drive in the example below. You can get your drive information using lsblk command.
On Windows, there are several tools to create a live USB. The recommended tool is Rufus. We have already covered a tutorial on how to create a live USB of Antergos Linux using Rufus in the past. Since Antergos is based on Arch, you can follow the same tutorial.
Step 3: Boot from the live USB
Once you have created a live USB for Arch Linux, shut down your PC. Plugin your USB and boot your system. While booting keep pressing F2, F10 or F1dependinging upon your system) to go into boot settings. In here, select to boot from USB or removable disk.
Once you select that, you should see an option like this:
Select Boot Arch Linux (x86_64). After various checks, Arch Linux will boot to login prompt with root user.
Next steps include partitioning disk, creating the filesystem and mounting it.
Step 4: Partitioning the disks
The first step includes partitioning your hard disk. A single root partition is the simplest one where we will create a root partition (/), a swapfile and home partition.
I have a 19 GB disk where I want to install Arch Linux. To create a disk, type
mount /dev/sda1 /mnt
mkdir /mnt/home
mount /dev/sda3 /mnt/home
Step 5: Installation
Since we have created partitioning and mounted it, let’s install the base package. A base package contains all the necessary package to run a system, some of which are the GNU BASH shell, data compression tool, file system utilities, C library, compression tools, Linux kernels and modules, library packages, system utilities, USB devices utilities, vi text editor etc.
pacstrap /mnt base base-devel
Step 6: Configuring the system
Generate a fstab file to define how disk partitions, block devices or remote file systems are mounted into the filesystem.
genfstab -U /mnt >> /mnt/etc/fstab
Change root into the new system, this allows changing the root directory for the current running process and the child process.
arch-chroot /mnt
Some systemd tools which require an active dbus connection can not be used inside a chroot, hence it would be better if we exit from it. To exit chroot, simpy use the below command:
File /etc/locale.gen contains all the local settings and system language in a commented format. Open the file using vi editor and un-comment the language you prefer. I had done it for en_GB.UTF-8.
Now generate the locale config in /etc directory file using the commands below:
If you are using gdisk, set the partition type to ‘0xEF02’. With partitioning programs that require setting the GUID directly, it should be ‘21686148-6449-6e6f-744e656564454649’.
Once done, update your system. Chances are that you already have an updated system since you have downloaded the latest ISO file.
pacman -Syu
Congratulations! You have successfully installed a minimal command line Arch Linux.
In the next step, we will see how to set up a desktop environment or Graphical User Interface for the Arch Linux. I am a big fan of GNOME desktop environment, and we will be working on installing the same.
Step 10: Install a desktop environment (GNOME in this case)
Before you can install a desktop environment, you will need to configure the network first.
You can see the interface name with below command:
ip link
For me, it’s enp0s3.
Add the following entries in the file
vi /etc/systemd/network/enp0s3.network
[Match]
name=en*
[Network]
DHCP=yes
Save and exit. Restart your systemd network for the changes to reflect.
Restart your system and you can see the GNOME login screen.
Final Words on Arch Linux installation
A similar approach has been demonstrated in this video (watch in full screen to see the commands) by It’s FOSS reader Gonzalo Tormo:
You might have realized by now that installing Arch Linux is not as easy as installing Ubuntu. However, with a little patience, you can surely accomplish it and then tell the world that you use Arch Linux.
Arch Linux installation itself provides a great deal of learning. I recommend a few essential things to do after installing Arch Linux where you’ll find steps to install various other desktop environments and learn more about the OS. You can keep playing with it and see how powerful Arch is.
Let us know in the comments if you face any difficulty while installing Arch Linux.