пятница, 30 ноября 2012 г.

VirtualBox: resize hard dist in Linux


To resize a VirtualBox hard disk image (.VDI) firstly locate the folder where the .vdi you want to resize is located - this should be under ~/VirtualBox VMs or ~/.VirtualBox/HardDisks. Then open a terminal, navigate to that folder ("cd /FOLDER/PATH") and run the following command to resize the .VDI:
VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB
Where YOUR_HARD_DISK.vdi is the VirtualBox hard disk you want to resize and SIZE_IN_MB is the new virtual hard disk size, in megabytes. For example, the following command will resize the VirtualBox hard disk called "natty.vdi" to 12000 megabytes:
VBoxManage modifyhd natty.vdi --resize 12000
That's it! The process takes just a few seconds and you should now have a resized VirtualBox hard disk.

понедельник, 5 ноября 2012 г.

CorelDraw не правильно открывает файлы SVG из Inkscape

Столкнулся с ситуацией, когда CorelDraw неправильно открывает SVG файлы созданные в Inkscape. В частности рисунки превращались в набор бессвязных линий. Исправляется это сбросом галочки в настройках Inkscape "Экспорт в SVG -> Разрешить относительные координаты". И сохранять нужно в формате "Простой SVG".

воскресенье, 4 ноября 2012 г.

Определение типа памяти в Linux

Команды для работы с памятью в Linux:
$ sudo dmidecode -t memory

А также ссылка на интересное описание консольных команд для мониторинга системы:

четверг, 1 ноября 2012 г.

Samba: доступ к общему каталогу


В файл /etc/samba/smb.conf добавляем:

[download]
path = /hdlogic/download
guest ok = Yes
guest only = Yes
writeable = Yes

Если вы изменили smb.conf, то чтобы smbd перегрузил его параметры надо выполнить команду:
       $ sudo service smbd restart