Category Archives: windows

Installing Windows Server 2019 on Proxmox VE Part 1

Today I want to show you how to install Microsoft Windows Server 2019 on Proxmox VE.

  1. First we need to setup a new environment for our Microsoft Windows Server 2019 by clicking “Create VM” buttonInstalling Windows Server 2019 on Proxmox VE Part 1 - Creating new Virtual Environment
  2. Now we need to give ID of the VM and name for itInstalling Windows Server 2019 on Proxmox VE Part 1 - Name and ID
  3. Here we have to choose the guest OS Type, storage and ISO imageInstalling Windows Server 2019 on Proxmox VE Part 1
  4. Now it’s time to choose SCSI adapter for our VM
    It is recommended to choose SCSI Controller like this: VirtIO SCSIInstalling Windows Server 2019 on Proxmox VE Part 1 - SCSI type
  5. In this step we have to choose the SCSI options.
    Once again it is recommended to choose Bus/Device: SCSI, and Cache: Write back.
    Here we can also choose our Storage place and Disk size.Installing Windows Server 2019 on Proxmox VE Part 1 - SCSI options
  6. Here we have to setup CPU setting for our VMInstalling Windows Server 2019 on Proxmox VE Part 1 - CPU settings
  7. Memory settings
  8. Network settings
    Since I have here two NIC’s – one for administration (1GBit), second one for VM machines (10GBit) – I choosed the vmbr1 interface bridge to get 10GBit on that. To achieve this I had to choose VirtIO (paravirtualized) which offers 10GBit Lan.
    Installing Windows Server 2019 on Proxmox VE Part 1 - Network settings
  9. Confirmation
    If you use VirtIO devices such as Netword and HDD we don’t wan’t to tick the Start after created option. We have to add something to our VM.
    Installing Windows Server 2019 on Proxmox VE Part 1 - Confirmation screen
  10. Additional settings
    Now we have to add a new hardware device which is CD/DVD Drive for all VirtIO drivers which you can download them from here.
    Installing Windows Server 2019 on Proxmox VE Part 1 - Additional settings
  11. We have to choose the ISO file from our storage.
    Installing Windows Server 2019 on Proxmox VE Part 1 - VirtIO ISO
  12. And now we are ready to run our Microsoft Windows Server 2019 on Proxmox VE
    Installing Windows Server 2019 on Proxmox VE Part 1 - Setup Summary

In the next part I will try to show you how to install Microsoft Windows Server 2019 on that VM machine.

 

 

How-to convert Windows Server 2019 Evaluation to Windows Server 2019 Standard

Hi,

Recently we have bough a new Dell PowerEdge R640 server for my current company, where we have got Windows 2019 Server ROK key.

Since I wanted to use as primary OS Proxmox VE and then virtualize everything I just installed on VM Windows Server 2019 Evaluation Standard on it.

After some test with our company software, I was ready to activate the Windows Licence Key on that machine. The Windows activation procedure via GUI cannot use that key, so from the terminal I have done this:

(of course in /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX you have to enter your ProductKey)

After hiting Y the VM machine with Windows Server 2019 Evaluation restarted and stared to clean up some settings:

Windows Server 2019 Evaluation Activation

And after the reboot and login into the Windows Server 2019 I’ve got this:

Windows Server 2019 Standard Edition

And the system has been activated also

Windows Server 2019 Standard Edition - activation window

And tha’t it 🙂

How to install MS SQL Server 2017 on CentOS 7

There are many instructions and how-to’s regarding installing MS SQL Server 2017 on CentOS 7 but here are my notes about it:

  1. You should plan how to setup your CentOS 7 system because by default MS SQL Server hold his files in those directories:
    1. SQL Server 2017 file location after install
    2. database and others
    3. Of course this directories can be changed after install, but does anyone change directories for MySQL/PostgreSQL ?
  2. Read carefully documentation provided by Microsoft ®, especially this:
    https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-2017
    https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-performance-best-practices?view=sql-server-2017
    https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-2017
  3. Check if your software will work with MS SQL Server running on Linux. Some software will work but you will probably have no support if you run it that way.

Here is how I have setup my CentOS 7 to work with MS SQL Server only

  1. I have created Virtual Machine which has:
    2 x CPU’s
    8 GB of RAM
    100 GB of space
    1 x NIC
  2. Disk partitioning:
    /boot – 1024 MB
    / – 30 GB
    /var – 60 GB
    /tmp – 5 GB
    /var/log – 5 GB
    /swap – 8192 MB
  3. CentOS 7 setup
    1. Update system
    2. Enable EPEL repo (not necessery, but I like to have it)
    3. Download MS SQL Server 2017 repo
    4. Install
    5. Setup
  4. Enabling TCP port on firewall
  5. Connecting from SQL Management Studio
    1. Logon screen
    2. After logon screen

I think this is all … for now 😉 I will try to write something more after I will test it in production.

Mounting Windows share in CentOS 7

Today i have to connect to Windows share from CentOS 7. This is how I done it:

then I have created directory in /mnt

after that:

That’s all 🙂

ClearOS 6.x , OpenVPN and Windows 10

Recently I have been in the UK, in a company where many users are connecting to my company server data via VPN and they have told me, that they have problems with OpenVPN client running on Windows 10.

First problem was with OpenVPN client version because, the newest client requires Administrator rights to start. The working version in my case was 32bit and 64bit versions.

The second problem was that after one hour the connection was closing down. Solution for that was easy. I had to only add those two lines

to openvpn config file – and that’s it. After one hour the connection was still up and runnig !

Cheers!

Windows 8 and Avast v7 – driver irql not less or equal bug

Few days ago I have installed Windows 8 Enterprise (90 days evaluation edition) on my company workstation. Everything was fine until i have installed Avast in version 7 (I don’t remember the major and minor version). The W8 became unstable – it was hanging from time to time.

My first though was that is something wrong with my hardware – so I started to check it but it look that everything was ok. After next system hang i noticed that the W8 is giving me a clue of what is causing this. It was

driver IRQL not less or equal (aswnet.sys or dll – don’t remember 😉 )

I started to google the internet and i have found information about here and here.

The problem was with old version of Avast Antivirus. I have upgraded Avast to the latest version and after that everything was ok.

Windows network script

Today i have discovered a very usefull script to manage network connection under Windows XP/Vista/7. I know that this is maybe obvoius but I want to share that info.

First is a script for automatically obtaining IP adres:

netsh interface ip set addres name=”Default network connection” source=dhcp
netsh interface ip set dns “Default network connection” source=dhcp
netsh interface ip set wins name=”Default network connection” source=dhcp

Second one is for static IP configuration”

netsh interface ip set address name=”Default network connection” source=static addr=xxx.xxx.xxx.xxx mask=xxx.xxx.xxx.xxx gateway=xxx.xxx.xxx.xxx gwmetric=1
netsh interface ip set dns “Default network connection” static xxx.xxx.xxx.xx

Of course you should replace the xxx.xxx.xxx.xxx with your IP configuration 🙂

Remmina under CentOS 6.2

After looking for something which I could use to remotely connect to Windows Desktop I found a small piece of software which is Remmina. Before that was using a script, which was very useful, but there was missing some functionality which was important in my work. I have downloaded the Remmina (remmina-0.9.3.tar.gz) source file and also remmina plugins (remmina-plugins-0.9.2.tar.gz) from here: http://sourceforge.net/projects/remmina/files/. For proper install from the source we’ll need those libs:

  • libssh-devel
  • avahi-ui-devel
  • vte-devel
  • unique-devel
  • freerdp-devel
  • rdesktop
  • libjpeg-devel
  • libxkbfile-devel

and then you’ll have to compile the remmina plugins and after that remmina main program. If everything goes ok, you will have a very nice remote desktop client 🙂