Netifaces is a python module maintained by Alastair and opalmer, I have been benefited by this module a lot. It is easy to use and there are a lot of possibilities with this module. Here are some examples of usage and finally there will be a code of automatic mac address changer without user to … Continue reading [python]Netifaces module
Category: System OS
OS such as Linux, Unix and Windows servers.
[linux]Add normal user to run sudo in centos
So I have installed Centos, I was logged in as a normal user which i created during installation, but my normal user is not added to the sudo, so I need to login as root su -, then I run usermod -aG wheel your_username where your_username has to be replaced with your actual username, there … Continue reading [linux]Add normal user to run sudo in centos
[linux]Installation source for installing CentOS 8
So i was using an image which is CentOS-8-x86_64-1905-boot.iso, there is an installation source which you need to select, so I went to this site to find out the address of the mirror. I found the one nearest to me by using the kickstart one. See below for what i mean. As usual... Centos expects … Continue reading [linux]Installation source for installing CentOS 8
[linux]rescan the hard drive after your vm got an expanded storage
The Tufin securechange vm got an expanded storage of 1TB more, however I cannot see it immediately with the fdisk -l command. I need to rescan it using echo "1" > /sys/class/block/sda/device/rescan, then do fdisk -l, you will see the /dev/sda with the full disk (after expanded). It works immediately..
Installing netstat on Centos 7 minimal installation
I have just installed Centos 7 with the minimal installation options, lots of things which were taken for granted by me were not installed, one of them is netstat. In the repo there is no software package that names as netstat. To find out netstat is by which software package. So netstat is part of … Continue reading Installing netstat on Centos 7 minimal installation
Windows Server Update Service: Add WSUS client
I want my Windows 7 to get windows update from my local WSUS server instead of getting updates from the internet. Group policy editor Launch the group policy editor (gpedit.msc) Go to Computer Configuration --> Administrative Templates --> Windows Components --> Windows Update Make Windows to get updates from WSUS There are two parameters you … Continue reading Windows Server Update Service: Add WSUS client
Windows Service update server: An HTTP error occurred
When I first installed the WSUS version 3 SP1 I could not get the server to synchronize with the upstream server, an http error occurred message appear when attempting to synchronize. The fix of this problem is to download an update: 1. http://www.microsoft.com/en-us/download/details.aspx?id=30748 2. http://www.microsoft.com/en-us/download/details.aspx?id=30747 After you have installed the update you restart your windows … Continue reading Windows Service update server: An HTTP error occurred