» 2017 » May » 08 の記事

~ install macosx on vmware ~

connie 2017.05.08 | Mac OSX, vmware | | No Comments

download
1)vmware workstation pro form vmware web-site(free)
2)unlocker208 from insanelymac
3)Golden master 10.12 vm image

install vmware workstation pro with sn
patch vmware with unlocker208, click on win-install(run as admin)

CLOSE VMWARE before patch

Then go back to the vmware, and create a new vm for mac

press I will install the operating system later.

if <<apple Mac OS X>> is appear on the select box, then the patch process is successful.

Select store virtual disk as a single file, then edie the vm and remove the hdd

add back the existing Golden master virtual disk

finish edit, then go to the vm folder and edite the .vmx by using notepad ++

add this line at the back

smc.version = "0"

then switch on the vm

~ rsync server for centos ~

connie 2017.05.08 | rsync | | No Comments
yum -y install rsync
nano /etc/rsyncd.conf

 # any name you like

[backup]
# destination directory for copy

path = /home/backup
# hosts you allow to access

hosts allow = 10.0.0.30
hosts deny = *
list = true
uid = root
gid = root
read only = false
[root@www ~]# mkdir /home/backup

[root@www ~]# systemctl start rsyncd

[root@www ~]# systemctl enable rsyncd 

 

~ cwrsync for windows Clients ~

connie 2017.05.08 | rsync | | No Comments

install cwRsync
open <bin> folder create file <known_hosts>
open cmd
move to the install folder

ssh-keygen -q -t rsa -f cwrsync -N ""

"cwrsync" will be the ssh public and private key file name

ssh -i {privateKeyName} {user}@{SERVERIP} -o UserKnownHostsFile=./known_hosts

and press <yes> to save the hosts

Then Connection is OK

Create a file named as "syncServer.cmd"

@ECHO OFF
SETLOCAL

H:
cd H:\cwRsync\bin

SET CWRSYNCHOME=H:\cwRsync\bin
SET HOME=%CWRSYNCHOME%

rsync --perms -arHz '/cygdrive/c/Users/{USER}/workspace/icfServer/src/' --progress --delete -e'./ssh -i ./cwrsync -o UserKnownHostsFile=./known_hosts' {user}@{HOST IP}:/home/folder/

PAUSE

 

| HOME |

Smiley face

May 2017
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031