- On the VirtualBox host, launch VirtualBox
- Right click the VM to convert > Settings
- Select Storage from the left navigation
- Click the virtual hard disk and copy the Location value for the full path of the disk to the clipboard
- Right click on the Start menu > Run > type cmd.exe > Press Enter
- Enter the following commands in the command prompt
# change directory to VirtualBox installation
# convert the .vdi to raw .img
VBoxManage clonehd --format RAW "pasted\full\path\to.vdi" "pasted\full\path\to.raw"
- Once the .vdi to .raw conversion completes, open a web browser and navigate to the ProxMox web UI https://ProxMoxDNSorIP:8006/
- Click the Create VM button at the top right
- On the General tab, enter a VM Name and note the VM ID generated > click Next
- On the OS tab select Do not use any media and set the Guest OS > click Next
- On the System tab click Next
- On the Hard Disk tab set the Disk size to 0.001 > click Next
- On the CPU tab set the number of CPUs > click Next
- On the Memory tab set the amount of memory to allocate in MiB > click Next
- On the Network tab click Next
- On the Confirm tab review the settings and click Finish
- Select the newly created VM from the left navigation panel > Hardware
- Click the Hard Disk to select it
- Click the Detach button to detach the hard disk from the VM
- Click the Unused disk
- Click the Remove button to permanently delete it
- Download WinSCP Download
- Extract WinSCP and run the executable
- Connect to the ProxMox IP server via WinSCP
- Copy the VirtualBox created .raw file to a location on the ProxMox server that has enough free disk space, /root for example
- Back in the browser, open the ProxMox host Shell
- Run the following command to import the raw disk, modify the .raw file name and VM ID noted earlier
# import the raw disk
# qm importdisk <VM ID> /root/<source disk file>.raw <destination storage pool name>
qm importdisk 100 vbox.raw HDD_500GB --format qcow2
- Once the disk import completes, select the target VM from the left navigation menu > Hardware
- Double click the Unused Disk > Click the Add button
- Select Options from the left navigation sub-menu
- Double click Boot Order
- Check the Enabled box next to the hard disk
- Drag the Hard disk up in the boot order as needed, typically below the CD-ROM device
- Click OK
- Click the Start button in the top right of the screen
- Click the Console link to watch the boot process
This article is for sysadmins who know better, wanting to Shut down or Restart (or even enter Sleep) over RDP anyway.
At left, user clicked on Start, Power, then has three choices. Using RDP at right, choices are rather limited.
Using Command Prompt
Open a Command Prompt
a. To initiate a Shut down, type:
shutdown /s /t 0
then press Enter Continue reading “Reboot Windows 10 using RDP” »
Firefox 43 supports TLS 1.0, 1.1, and 1.2 by default. You shouldn’t need to make any changes, but you can double-check the settings here if you like:
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.
(2) In the search box above the list, type or paste TLS and pause while the list is filtered Continue reading “Enable TLS 1.0 in Firefox Browser” »
Use the group policy settings changes described below to rollback the changes to ‘Vulnerable’ state to allow RDP access.
1. Open Group Policy Editor, by executing gpedit.msc
2. Policy path: Computer Configuration -> Administrative Templates -> System -> Credentials Delegation
Run gpedit.msc and expand Administrative Templates Continue reading “Solving A remote code execution vulnerability exists in the Credential Security Support Provider protocol (CredSSP) on Windows RDP” »
Working with Docker Images
Docker containers are built from Docker images. By default, Docker pulls these images from Docker Hub, a Docker registry managed by Docker, the company behind the Docker project. Anyone can host their Docker images on Docker Hub, so most applications and Linux distributions you’ll need will have images hosted there.
To check whether you can access and download images from Docker Hub, type:
docker run hello-world
The output will indicate that Docker in working correctly:
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
1b930d010525: Pull complete
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
Docker was initially unable to find the hello-world image locally, so it downloaded the image from Docker Hub, which is the default repository. Once the image downloaded, Docker created a container from the image and the application within the container executed, displaying the message. You can search for images available on Docker Hub by using the docker command with the search subcommand. For example, to search for the Ubuntu image, type: Continue reading “Docker Commands” »
The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package.
First, update your existing list of packages:
sudo apt update
Next, install a few prerequisite packages which let apt use packages over HTTPS:
sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
Then add the GPG key for the official Docker repository to your system: Continue reading “Install Docker on Debain 10” »
Install Apache, MariaDB and PHP
NextCloud runs on the webserver, written in PHP and uses MariaDB to store their data. So you will need to install Apache, MariaDB, PHP and other required packages on your system. You can install all of them by running the following command:
apt-get install apache2 libapache2-mod-php mariadb-server php-xml php-cli php-cgi php-mysql php-mbstring php-gd php-curl php-zip wget unzip -y
Once all the packages are installed, open the php.ini file and tweak some recommended settings:
Change the following settings:
memory_limit = 512M
upload_max_filesize = 1024M
post_max_size = 1024M
max_execution_time = 300
date.timezone = Asia/Dhaka
Save and close the file when you are finished. Then, start the Apache and MariaDB service and enable them to start after system reboot with the following command: Continue reading “Install Netxtcloud on Debian 10” »
The most popular out of 5 options for proxy services, is to redirect. To do this, you can run the following as zimbra user:
zmprov ms `zmhostname` zimbraReverseProxyMailMode redirect
This will redirect your URLs to the zimbra hostname based HTTPs.
Now, restart the proxy services:
su - zimbra
Hope this helps.
This tutorial explains how to install Tobias Oetiker’s Smokeping into /opt/smokeping on a CentOS 7 box.
Features of Smokeping:
– Best of breed latency visualisation.
– Interactive graph explorer.
– Wide range of latency measurement plugins.
– Master/Slave System for distributed measurement.
– Highly configurable alerting system.
– Live Latency Charts with the most ‘interesting’ graphs.
– Free and open-source Software written in Perl written by Tobi Oetiker, the creator of MRTG and RRDtool Continue reading “Install SmokePing on CentOS 7” »
Step 1 – Install Packages Dependencies
In this first step, we will install some packages dependencies needed by the Document Server, including the RabbitMQ-server, Redis, and Nginx-extras.
Update your Debian system repository and install Document Server packages dependencies using the apt command below.
sudo apt update
sudo apt install redis-server rabbitmq-server nginx-extras gnupg2
Once all installation is complete, check the following services using the systemctl command as below.
systemctl is-enabled nginx
systemctl is-enabled rabbitmq-server
systemctl is-enabled redis-server
Now make sure all of these services are enabled and will automatically run on the system boot. Continue reading “Install ONLYOFFICE Document Server with Nginx on Debian 10” »