в /etc/vzdump.conf
добавить строчку
maxfiles: N
N - необходимое кол-во
больше о vzdump.conf можно узнать в man vzdump
четверг, 15 сентября 2011 г.
понедельник, 12 сентября 2011 г.
Virtio hdd самоподписаный драйвер
Для win2003
----------------------
I have followed the links, however even after signing the drivers myself, Windows 64-bit doesn’t want them. The only solution that I have found is:
- Install your Windows with 1 normal device (ide) and 1 virtio drive.
- When Windows is successfully installed, add virtio driver for the second disk.
I don’t know if it is really necessary but in cmd.exe:
Bcdedit.exe -set TESTSIGNING ON
See: http://msdn.microsoft.com/en-us/library/dd419910.aspx
Shutdown VM.
Change the first disk from ide to virtio, Windows knows the driver from the second drive and use it for the first which have just been changed.
There is probably a better solution to install but I don’t know it.
HOW SIGN YOURSELF:
Download Windows SDK for makecert and signtools: http://download.microsoft.com/download/7/A/B/7ABD2203-C472-4036-8BA0-E505528CCCB7/winsdk_web.exe
Generate certificate:
In C:\Program Files\Microsoft SDK\…….\bin
MakeCert -r -pe -ss TestCertStoreName -n “CN=CertName” CertFileName.cer
Sign driver:
SignTool sign /v /s TestCertStoreName /n CertName /t http://timestamp.verisign.com/scripts/timestamp.dll viostor.sys
Now if you right click on viostor.sys, you can see certified by “…”.
Для win2008
------------------
I finally got it to work permanently by signing the driver with a test certificate, putting Windows into testsigning mode and installing the driver.
(Hint: Microsoft has disabled the "DISABLE_INTEGRITY_CHECKS" option, which in earlier versions of Vista64 (and Win7 64 RC?) would allow installation of unsigned drivers)
I did the following:
1. Copy the Win2008 driver folder from the CD onto the HDD
2. Download DSEO 1.3b ("Driver Signature Enforcement Overrider 1.3b") - You DON'T have to turn off UAC!
3. Start DSEO and select to sign viostor.sys which you just copied to the HDD
4. Uninstall DSEO :)
5. Start up cmd as administrator
6. Turn on testsigning by entering: bcdedit -set TESTSIGNING ON
7. Restart computer
8. Install driver as described in the article above
----------------------
I have followed the links, however even after signing the drivers myself, Windows 64-bit doesn’t want them. The only solution that I have found is:
- Install your Windows with 1 normal device (ide) and 1 virtio drive.
- When Windows is successfully installed, add virtio driver for the second disk.
I don’t know if it is really necessary but in cmd.exe:
Bcdedit.exe -set TESTSIGNING ON
See: http://msdn.microsoft.com/en-us/library/dd419910.aspx
Shutdown VM.
Change the first disk from ide to virtio, Windows knows the driver from the second drive and use it for the first which have just been changed.
There is probably a better solution to install but I don’t know it.
HOW SIGN YOURSELF:
Download Windows SDK for makecert and signtools: http://download.microsoft.com/download/7/A/B/7ABD2203-C472-4036-8BA0-E505528CCCB7/winsdk_web.exe
Generate certificate:
In C:\Program Files\Microsoft SDK\…….\bin
MakeCert -r -pe -ss TestCertStoreName -n “CN=CertName” CertFileName.cer
Sign driver:
SignTool sign /v /s TestCertStoreName /n CertName /t http://timestamp.verisign.com/scripts/timestamp.dll viostor.sys
Now if you right click on viostor.sys, you can see certified by “…”.
Для win2008
------------------
I finally got it to work permanently by signing the driver with a test certificate, putting Windows into testsigning mode and installing the driver.
(Hint: Microsoft has disabled the "DISABLE_INTEGRITY_CHECKS" option, which in earlier versions of Vista64 (and Win7 64 RC?) would allow installation of unsigned drivers)
I did the following:
1. Copy the Win2008 driver folder from the CD onto the HDD
2. Download DSEO 1.3b ("Driver Signature Enforcement Overrider 1.3b") - You DON'T have to turn off UAC!
3. Start DSEO and select to sign viostor.sys which you just copied to the HDD
4. Uninstall DSEO :)
5. Start up cmd as administrator
6. Turn on testsigning by entering: bcdedit -set TESTSIGNING ON
7. Restart computer
8. Install driver as described in the article above
вторник, 6 сентября 2011 г.
xslt в bash
java com.icl.saxon.StyleSheet -x org.apache.xerces.parsers.SAXParser -y org.apache.xerces.parsers.SAXParser xq338.xml xq348.xsl bodyTextSize=8pt
воскресенье, 4 сентября 2011 г.
Skype webcamera в Ubuntu
Чтобы заработала камера в скайпе нужно:
находим где расположен запускной файл
which skype
в моём случае /usr/bin/skype
возможен вариант /opt/skype/skype
далее выполнеем команды
находим где расположен запускной файл
which skype
в моём случае /usr/bin/skype
возможен вариант /opt/skype/skype
далее выполнеем команды
cd /usr/bin mv skype skype.real cat <<EOF > skype #!/bin/sh LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so exec /usr/bin/skype "\$@" EOF chmod +x skype
Подписаться на:
Сообщения (Atom)