Windows 10 Pro on KVM / QEMU guest on Proxmox PVE 3.4

Several guys noticed it was not possible to run Windows 10 Pro on a Proxmox PVE inside a KVM/QEMU guest. Well, it is possible (so far), but tricky. Use standard graphic only, use standard cpu, too and use settings for win8 – all default. There

Lustige Fensterbilder – oder: The year after …

Weihnachten ist vorbei, die Fensterbildchen aus Kunststoff kleben so schön an den Fenstern. Irgendwann ist dann Februar oder März, und man denkt sich, wieso auch erst abmachen, es ist ja eh bald wieder soweit :-). Irgendwann stellt man fest, dass die lustigen Bildchen ausgeblichen sind

Plesk 12.5 multiple PHP installations easily done

With latest Plesk 12.5 it is possible to use multiple php-versions from scratch, easily to manage and beeing installed from the installer. It will NOT work with Debian 6.0 Squeeze, so you have to upgrade to Debian 7.0 Wheezy before. Then you can use multiple

Debian 6.0 Squeeze inplace-upgrade to Debian 7.0 Wheezy using Plesk 12.5

The „normal“ way is just to setup a new VE or a new server, install a new fresh Debian 7.0 Wheezy from Scratch und then using the migration-manager to transfer everything in the hope it may work. It is not suggested to do a inplace-upgrade

SHA256 cert with IIS on Windows Server 2012

From now on, there is need for SHA256 certs to use with your IIS and for example, your Exchange server, maybe. Therefor, you need a such-a-called PKCS#12-cert to be imported in your IIS. The easiest way is to grep a linux-server 😉 and first, generate

Windows 10 Pro on KVM / QEMU guest on Proxmox PVE 3.4

Several guys noticed it was not possible to run Windows 10 Pro on a Proxmox PVE inside a KVM/QEMU guest. Well, it is possible (so far), but tricky. Use standard graphic only, use standard cpu, too and use settings for win8 – all default. There is *no* need for core2duo-cpu-setting or any other stuff you may read or fall around :-). 1 Socket, 4 Cores and 8192 M of memory should be enough. You can also use virtio (download latest ISO from project-site first) to setup. BUT: Do *not* install a network device at first. It will crash on first reboot, seems to freeze or hang. Some people in the WWW wrote it may up to 4 hours to prepare the system. I removed network device, and it worked well 2 times to reboot into clean install.

After your system was prepared (will take some time again, yeah…) please shutdown your VE cleanly. Then, add an Intel virtual device for your network. I was not able to install the drivers for virtio-network-connectivity either. Then, start it up again and see, what will happen. I will now make a 24 hour test to see whether this unit will run stable or not. :-)

Lustige Fensterbilder – oder: The year after …

Weihnachten ist vorbei, die Fensterbildchen aus Kunststoff kleben so schön an den Fenstern. Irgendwann ist dann Februar oder März, und man denkt sich, wieso auch erst abmachen, es ist ja eh bald wieder soweit :-). Irgendwann stellt man fest, dass die lustigen Bildchen ausgeblichen sind und nicht mehr abzuziehen gehen. Ups… Dann hilft erstmal ein Glaskeramik-Schaber für die größten Plastikreste. Dummerweise brennt die Sonne dann den Kleber in das Glas, so dass man hier mit normalem Wasser oder so nicht mehr weiter kommt. Bei uns half eine Menge Essig und ein stabiles Haushaltstuch, kurz einweichen, und rubbeln rubbeln rubbeln 😉 – auf die Farben und auf das Glas eventuell achten – für Schäden übernehmen wir keine Haftung…

Plesk 12.5 multiple PHP installations easily done

With latest Plesk 12.5 it is possible to use multiple php-versions from scratch, easily to manage and beeing installed from the installer. It will NOT work with Debian 6.0 Squeeze, so you have to upgrade to Debian 7.0 Wheezy before. Then you can use multiple versions (which you can set for each host!). Great.

If it may fail and your php-code seems not to be executed, check the php-settings for your host and change „Short tags“ to on – then it works :).

Debian 6.0 Squeeze inplace-upgrade to Debian 7.0 Wheezy using Plesk 12.5

The „normal“ way is just to setup a new VE or a new server, install a new fresh Debian 7.0 Wheezy from Scratch und then using the migration-manager to transfer everything in the hope it may work. It is not suggested to do a inplace-upgrade because your Plesk-install will fail and will break all libs.

Well, I tried this, and it worked, I am not sure, if it just was a good day for me, a bit of luck, or god beeing nice with me ;-). Do use it at your own risk – do not blame me for any broken system and/or fails. Make a full copy before!

  1. Upgrade to the very latest Plesk-version (here it was 12.5 series) first. Download wget http://autoinstall.plesk.com/plesk-installer, chmod a+x it and execute this. Follow instructions and prepare your system to Plesk 12.5 or latest current version so far.
  2. Reboot, check, if all works really fine.
  3. Pray to god. Get for a cup of coffee.
  4. Change your sources.list to the sources.list you will require for Debian Wheezy. Do an apt-get update + apt-get dist-upgrade. Always check what your system is telling you. I had a strange situation: apt-get seems to be ready, but, it missed some packages beeing installed. Check with apt-get dist-upgrade again or with apt-get -f install. Check all logs, fix all errors AND be sure, it is a clean, proper working Debian 7 Wheezy. After all work was done, reboot it, and double-check all again (!)
  5. Then I did the following: I removed a bunch of libs and things: apt-get remove sw-mariadb-client plesk-aps-php-runtime plesk-platform-runtime sw-engine sw-engine* plesk-core*Warning: Do not (!) purge it – because all your config will get lost !!!!!
  6. Re-run plesk-installer you used before in step 1. Always press N for next and wait, what the installer will tell you. Normally, it will load all .deb packages again and you´re done. If it does NOT work, you can use dpkg and the plesk-core-packages in /var/cache/apt/archives (remember the debian7 in the name!) and try to install the packages manually. Always look for the output and the logs. Try to fix errors. Keep cool!
  7. It may happen that your admin-password may not work. You can try this: /usr/local/psa/bin/init_conf -u -passwd yournewpass – if this will not fix it, try this (one line!): export PSA_PASSWORD=’yournewpassword‘ ; /usr/local/psa/admin/sbin/ch_admin_passwd; unset PSA_PASSWORD – and restart your psa-services. Also, additional config may help you: usermod -G psaadm,psaserv,swkey-data,psasb,lock-manager psaadm – Enjoy!

SHA256 cert with IIS on Windows Server 2012

From now on, there is need for SHA256 certs to use with your IIS and for example, your Exchange server, maybe. Therefor, you need a such-a-called PKCS#12-cert to be imported in your IIS.

The easiest way is to grep a linux-server 😉 and first, generate a CSR and a key they easy way:

openssl req -nodes -sha256 -newkey rsa:2048 -keyout cert.key -out cert.csr

Then, take your CSR and register your verified SSL-cert. Steps has been tested with Comodo/Positive-SSL and it worked.

Generate 2 new files on your linux-server you used to generate the key and your CSR:

cert.cert – which only contains the new cert you received (use pem-file!),

and cert.cert.ca, which contains BOTH intermediate-files, also in pem-format.

Then this will generate your .pfk – file:

openssl pkcs12 -export -out certificate.pfx -inkey cert.key -in cert.cert -certfile cert.cert.ca

The certificate.pfx you can easily import inside your cert-storage in your IIS!

Enjoy!