simeruk
Sunday 23 November 2014
DevOPS
DevOPS:
Docker
CFEngine,
Puppet,
Chef,
Ansible,
Salt,
Vagrant
OpenStack
OpenShift
CoreOS
AWS
# interesting?
Mesos + Marathon _Mesos-Docker
flynn.io
Friday 30 March 2012
macosx: create Windows readable partition on your usb
diskutil partitionDisk /dev/disk6 MBRFormat "MS-DOS FAT32" "partition_name" 100%
Sunday 25 March 2012
macosx: burn ISO to USB stick
# first, unmount your USB stick
diskutil umount /Volumes/my_usb_stick/
# convert .iso to .dmg (writing .iso to USB stick does not seem to be creating bootable USB)
hdiutil convert -format UDRW -o ubuntu_12.04_PRE_precise-desktop-amd64.dmg /Volumes/storage/Software/Distros/ubuntu_12.04_PRE_precise-desktop-amd64.iso
# write new image to USB
root# dd if=ubuntu_12.04_PRE_precise-desktop-amd64.dmg of=/dev/disk1
1434200+0 records in
1434200+0 records out
734310400 bytes transferred in 3514.831504 secs (208918 bytes/sec)
diskutil umount /Volumes/my_usb_stick/
# convert .iso to .dmg (writing .iso to USB stick does not seem to be creating bootable USB)
hdiutil convert -format UDRW -o ubuntu_12.04_PRE_precise-desktop-amd64.dmg /Volumes/storage/Software/Distros/ubuntu_12.04_PRE_precise-desktop-amd64.iso
# write new image to USB
root# dd if=ubuntu_12.04_PRE_precise-desktop-amd64.dmg of=/dev/disk1
1434200+0 records in
1434200+0 records out
734310400 bytes transferred in 3514.831504 secs (208918 bytes/sec)
Tuesday 11 October 2011
linux: sar missing data files
By default, sar will be keeping logs only for ten days so you either back them up or extend the period that sar uses to log rotate.
Files you want to be looking at are two scripts (they are most likely already in your crontab):
/usr/lib64/sa/sa1
/usr/lib64/sa/sa2
Files you want to be looking at are two scripts (they are most likely already in your crontab):
/usr/lib64/sa/sa1
/usr/lib64/sa/sa2
linux: error: "x x x" specifies multiple packages
[root@foo ~]# rpm -e mysql-5.0.77-4.el5_6.6
error: "mysql-5.0.77-4.el5_6.6" specifies multiple packages
[root@foo ~]# rpm -qa|grep mysql
mysql-5.0.77-4.el5_6.6
freeradius2-mysql-2.1.7-7.el5
mysql-devel-5.0.77-4.el5_6.6
mysql-devel-5.0.77-4.el5_6.6
[root@foo ~]# rpm -qa --queryformat "%{name}.%{arch}\n"|grep mysql
mysql.i386
freeradius2-mysql.x86_64
mysql-devel.x86_64
mysql-devel.i386
mysql.x86_64
[root@foo ~]# rpm -e mysql-devel.i386
[root@foo ~]# rpm -e mysql.i386
[root@foo ~]# rpm -qa --queryformat "%{name}.%{arch}\n"|grep mysql
freeradius2-mysql.x86_64
mysql-devel.x86_64
mysql.x86_64
Subscribe to:
Posts (Atom)