Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Jan 14, 2019

Setup Kali Linux in Docker within a minutes!


Hello Guys you are already known to Docker. If not please look my previous post on Docker. Today in this post i am only concentrate on setting up Kali Linux in just a minute.

Once Docker is installed on your system. lets install Kali Linux on it. For this just follow the following steps.
  1. Open your favorite command line interface (CLI) with admin privilege and  Then type "docker pull kalilinux/kali-linux-docker". This will pull the image from the Docker Store as shown in below screen shot.
  2. Now, let you enter an interactive bash session with that image by typing "docker run -t -I kalilinux/kali-linux-docker /bin/bash". Wow Kali minimal Kali Linux is installed.

  3. You are now in your fresh install of Kali. Since this install is meant to be the minimal, you need to grab the packages you actually care about. This helps keep the image small but does require a good Internet connection to get up and running.

    Before installing any package, let's upgrade our Kali Linux and remove all packages we no longer need via "apt update && apt full-upgrade && apt auto-remove && apt-autoclean".

  4. Now use can use any packages of kali and use it.




Jan 3, 2019

Putty Login error through SSH (Network error: Connenction timeout)

  • For Such Problem their may be more than different issue so the following troubleshooting methods must work properly.
    1. Ping the respected server ip to verify whether the server is reachable or not.
    2. If Ping is fine then telnet on respective IP with corresponding port no. Here the default ssh port is 22. If telnet is also fine then go to step 3 otherwise open the respective port through firewall setting.
    3. Edit the sshd_config file with sudo privilege and uncomment PermitRootLogin yes line and save it with your favorite editor as shown in below screen shot and try  again.

      4. Congrats You can now able to ssh to your respective server.

Dec 24, 2018

INSTALLING McAfee Agent on Linux/CentOS

For installing McAfee Agent on Linux/CentOS please follow the following steps.

1: You have to download the McAfee Agent for Linux from the ePO, this can be done using ePO GUI.




 2: Download the SH Installer from ePO to your workstation.


3: This file will be in format of .sh ( so you should zip this file now to change it in binary format, before it could be uploaded to Linux server. You can upload this file on Linux Server using ( USB, Winscp,CD) Whatever way convenient to you.

4: Unzip the file using unzip command.

  
5: To unzip we must log in with root user then it should look like this:


6: now it’s time to execute the SH file.

  7: we will get something like this :
  
 8: Congratulation, the agent is installed successfully. Now if you want to verify the setup installation , there are two ways to have it verified.
-          McAfee agent will be running as a Service ( CMA) you can locate that server in /etc/init.d


9: Now the Agent installation is successful. We can verify it through Mcafee EPO server Dashboard.



Popular Posts