Tampilkan postingan dengan label server to server. Tampilkan semua postingan
Tampilkan postingan dengan label server to server. Tampilkan semua postingan

Jumat, 23 September 2022

, , , ,

Memperbaiki GDBus.Error:org.freedesktop.PolicyKit1




Memperbaiki 

Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject

Group Policy

groupadd -g 23 nohidproc usermod -a -G nohidproc polkitd mount -o remount,rw,hidepid=2,gid=nohidproc /proc systemctl restart polkit

/etc/fstab

echo "proc /proc proc defaults,hidepid=2,gid=nohidproc 0 0" >> /etc/fstab

Mount Point A. mount -a
systemctl restart polkit
Continue reading Memperbaiki GDBus.Error:org.freedesktop.PolicyKit1

Kamis, 27 Januari 2022

, , , , , , ,

server to server migration with rsync

 


What is rsync?

rsync is a way to transfer and synchronize files efficiently between one server and another and only different files are synced. The rsync command is very suitable to be used as a backup, because only different files will be synchronized, so it will save more time and resources.

How to Install rsync on server Linux

install rsync on server Debian/ Ubuntu

apt-get install rsync

install rsync on server Centos/ Fedora

yum install rsync

How to Use rsync

Transfer File Server to Server with RSYNC on port 22

for migration file

rsync filehosteko.zip root@xxx.xxx.xxx.xxx:/home/folder

for migration Directory/ Folder

rsync -avzh folderhost root@xxx.xxx.xxx.xxx:/home/folder

info:
folderhost: folrder you want to migrate/copy
xxx.xxx.xxx.xxx= destination IP server

Transfer File Server to Server with RSYNC with Custom port

for migration file

rsync -e 'ssh -p 1234' filehost.zip root@xxx.xxx.xxx.xxx:/home/folder

for migration Directory/ Folder

rsync -avzh -e 'ssh -p 1234' folderhost root@xxx.xxx.xxx.xxx:/home/folder

info:
folderhost= folder you want to migrate/copy

1234 = destination Port SSH

xxx.xxx.xxx.xxx= destination IP server

Continue reading server to server migration with rsync