Friday, April 24, 2020
How to Install Podman on CentOS 8
Thursday, April 23, 2020
Downloading ISO Directly to Proxmox Using Command Line
This is usually the faster way to get any iso to proxmox, especially if you are connecting to proxmox via some not so fast internet connection. But if you still prefer to use the web GUI, please refer to this post on how to do it via the web UI.
Go to the directory where iso's are being kept in proxmox
# cd /var/lib/vz/template/iso
If you have not downloaded the ISO, you can download it directly in this directory. For example I want to download a Centos 8 ISO
# wget http://centos.ipserverone.com/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20191219-dvd1.iso
Once done, refresh the webUI
Proxmox VE No Subscription Repository
When you install Proxmox VE, by default the system will be configured to use Proxmox VE enterprise repository, which needs subscription in order to use it.
Wednesday, April 22, 2020
Windows in Proxmox Cannot Detect Virtio Network Adapter
I encountered this issue when installing Windows 2019 on proxmox Virtual Environment 6.1-7.
Below is my windows VM setting
In windows, I cannot see any network adapter to be configured.
After looking around in proxmox documentation, I found this gem, whereby you can download driver for the windows so that your windows can recognize the virtio interface.
You can download the iso for the driver from the above link, or using this direct link.
Once downloaded, upload the iso to proxmox using these steps.
Insert it into our windows vm cd drive, like below
You should now be able to see the iso mounted as D drive (depending on how many partition you have in your windows VM)
Now you have to install the driver. Press windows + s, type Device Manager and press Enter.
Expand "Network Adapters", you should see one adapter that is not recognized by windows.
Right click on it, and choose "Update driver"
Click on "Browse my computer for driver software"
Type in D:\ for the location, and tick "Include subfolders"
Click Next, and the wizard will search for a suitable driver for your device. Wait for it to finish.
Once done, it will show that your windows now has recognized the network adapter.
Reboot, if the wizard asks for it.
Done
Monday, April 20, 2020
Adding Internet Based Repositories in Alpine Linux
What I like about alpine linux is, it is very fast to get to a working linux with a shell inside a VM, and I can start testing whatever I need to test straight away. But the default setting of alpine linux does not preconfigured to get any packages from the internet, which is a pity. So we have to add it manually.
To add the main and community repositories manually, run below commands
# echo 'http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repos
# echo 'http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repos
Update repository indexes
# apk update
That's it. You can now search for any package
# apk search openssh
And install any package
# apk add openssh-client




