zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Etherpad installation

January 20, 2014 by Igor Drobot Leave a Comment

Etherpad Logo

Etherpad is great tool for daily usage which improves productivity of your co workers and your team.

So I wrote this step by step 5 Minute installation guide.
[Read more…]

Filed Under: Linux Tagged With: Debian, Etherpad, Node.js

Rsync over SSH

January 19, 2014 by Igor Drobot Leave a Comment

Rsync over SSH

In some special cases is a VM accessible over NAT and on different port as usually 22.
In this case – SSH is running on port 222.
This make the rsync operation little bit complexer:

1
rsync -vraze 'ssh -p 222' root@remote:/source/ /destination/

rsync -vraze 'ssh -p 222' root@remote:/source/ /destination/

Filed Under: Linux Tagged With: NAT, rsync, ssh

Samba permissions ignored with Mac OS X

January 19, 2014 by Igor Drobot Leave a Comment

Samba Logo

Mac OS X has a kind of different client behavior with a SMB-Server (Samba 3.6.6-6) than a Windows client.

By saving new files, they will be stored with Mask “0600/-rw——-” and that doesn’t matter what samba configuration prescribes (force create mode = 777).

So the explanation for this problem was found in the SAMBA documentation:

SAMBA has the “unix extensions” option set to “on” by default. This allows Unix users who write to the Samba shares to set their own permissions bits.

Now set them in the SAMBA global section [1] to off:

1
unix extensions = no

unix extensions = no

[1] SAMBA configuration file: /etc/samba/smb.conf

Filed Under: Linux Tagged With: MAC OS X, Samba

Change Munin Hostname

December 26, 2013 by Igor Drobot Leave a Comment

Munin

If you need to change the hostname of an existing munin node with a lot of data, and you want to retain all this existing historical data, follow this procedure:
[Read more…]

Filed Under: Bash, Linux, Monitoring Tagged With: bash, mass rename, Munin

Remote Mirroring with nc and dd

November 13, 2013 by Igor Drobot Leave a Comment

Copy

Migration from Freenas all ZFS volumes to another machines lvm is pretty simple.

create on you new machine logical volume and start netcat which will write everything it receives to the new LVM of your choice:

# Source box

1
dd bs=16M if=/dev/disk/by-path/iscsi-mysql-lun-0 | nc 192.168.1.254 19000

dd bs=16M if=/dev/disk/by-path/iscsi-mysql-lun-0 | nc 192.168.1.254 19000

# Destination box (192.168.1.254)

1
nc -l -p 19000|dd bs=16M of=/dev/vg0/mysql-data

nc -l -p 19000|dd bs=16M of=/dev/vg0/mysql-data

Filed Under: Linux Tagged With: dd, FreeNAS, LVM, nc, netcat, ZFS

  • « Previous Page
  • 1
  • …
  • 12
  • 13
  • 14
  • 15
  • 16
  • …
  • 62
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok