So, after installing Debian, if there is no network connection during installation, only the repositories available on the ISO will be added to the sources list. Hence, installing via simple apt command won’t be available.
Fortunately, the fix is quite straight forward and simple and it takes ~30 seconds :):
sudo gedit / etc / apt / sources . list
Add the following lines:
deb http : / / ftp .debian .org / debian stable main contrib non - free
Run the update
test with installing htop
enjoy the easy life with linux :).
Bob comes into the company and wants to use Linux as his main Operating system.
Some of the basic moments in the lifespan of his user on Linux are: user creation, group adding, SELinux user related activities, deletion, etc.
Continue reading “Life span of a Linux user/ basic Linux user management”
Fix: Fedora 25 Server stuck at “Setting up installation source”
Installation started, everything selected and you end up with the following screen and ongoing process of “Setting up installation source”.
Stuck at setting up installation sources fedora 25 server
Possible problem, that can cause this is related to the networking (or the lack of decent connection in this case). Probably caused by Bug 1048344, more info on which can be found
So after removing the virtual switch, everything continued flawlessly 😊.
Series: Security testing
Analyze various malware [viruses, trojans, keyloggers] in sandbox environment
Penetration testing [web applications, system testing]
Intrusion prevention/ detection system deployment, usage and testing
Testing vulnerability management solutions
Testing vulnerabilities them selves
Continue reading “Series: Security testing”
Series: Gaining some Linux traction
Delve into Linux system administration
Practice installation, configuration, and other package/ program management tasks
Test networking and security
Gain additional experience in administering *nix systems
Enjoy VIM and try out EMACS
Gather some scattered knowledge
enjoy while building, breaking and fixing
Continue reading “Series: Gaining some Linux traction”
Even that it may sound unusual, there are occasions when you would prefer to install PowerShell on Linux systems. For example – like me, you have access to several Linux system for practicing and no windows server/ workstations. Thanks to Microsoft’s “love for Linux”, during Satya Nadella’s reign, it’s quite easy.
Add the PowerShell repository:
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/microsoft.repo
Update the repo
yum install powershell
A compilation of various practical tasks exercises and other script related practices for Linux, including bash scripting, scripted automated maintenance, conditions, for, while, etc.
Continue reading “Scripting for Linux”
A compilation of various practical tasks, exercises and other text related practices for Linux. Including VIM [incl. navigation and basic commands], SED, AWK, SORT, UNIQ, etc.
Continue reading “Text practice for Linux”
Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.
To enjoy VIM on Windows, just install the file located at: https://vim.sourceforge.io/download.php
Issues, questions and troubleshooting, related mostly to VIM for Windows:
Where ot find the default VIM file location
right click on the gVim 8.0 properties
Check the folder for
Start in Folder %HOMEDRIVE%%HOMEPATH%, means that the files can be found in C:\Users\<user name>
One option for getting SSH for Windows/ Powershell is the great plugin available at http://www.powershellmagazine.com/2014/07/03/posh-ssh-open-source-ssh-powershell-module/.
Easily installable by pasting
in elevated PS window. iex (New-Object Net.WebClient).DownloadString(“https://gist.github.com/darkoperator/6152630/raw/c67de4f7cd780ba367cccbc2593f38d18ce6df89/instposhsshdev”)
To connect to SSH: New-SSHSession -ComputerName x.x.x.x
To get the ID /index/ of the session: Get-SSHSession | fl
To execute uname
–a on the connected machine: Invoke-SSHCommand -Index 0 -Comand “uname -a”
Not useful if you want to launch applications /no VIM or Nano/,