In this article, I have figured out several things that will always be done after installing a brand new KaliLinux. Since I have multiple laptops and workstations, we recommend that you expand the scope of the following steps to meet your needs. This is the 20 things I have done after installing KaliLinux. in this article, I have figured out several things I have always done after installing a brand new Kali Linux. Since I have multiple laptops and workstations, we recommend that you expand the scope of the following steps to meet your needs. This is the 20 things I did after installing Kali Linux. Your requirements may be totally different. If you have any suggestions, please leave a message. Leave a message without registration. You are welcome to give feedback and make comments.
This article contains everything I think is useful. This article consists of three parts:
Kali Linux is a special version from Debian. Kali Linux also has many problems with Debian Linux. This section describes how to solve these problems. They are not a problem specific to Kali Linux, so you don't need to worry about them. However, when I see errors, obsessive-compulsive disorder will occur, which is not a solution.
This part brings together a group of useful tools and software. These are the daily Software in most other Linux distributions, or at least I think they should appear as part of the default installation system.
- Improvement and auxiliary functions
Kali Linux is inherently fast to start and consumes less resources. However, if you have some CPU and GPU capabilities available, try to make Kali Linix look better.
Dedicated for Kali users
1. fixed the "unable to host devices" error for wired networks.
If you want NetworkManager to process interfaces enabled in/etc/network/interfaces, set managed to true in/etc/NetworkManager. conf. Therefore, the file looks like:
- [main]
- plugins=ifupdown,keyfile
- [ifupdown]
- managed=true
Please read the full text: "unable to host devices" error for resolving wired network interfaces in Debian or Kali Linux.
2. Fix the default software library
The simplest way is to edit/etc/apt/sources. list, remove each line or comment each line with # at the beginning, and add the following lines:
- leafpad /etc/apt/sources.list
Use the following lines to comment out or remove existing configurations:
- ## Regular repositories
- deb http://http.kali.org/kali kali main non-free contrib
- deb http://security.kali.org/kali-security kali/updates main contrib non-free
- ## Source repositories
- deb-src http://http.kali.org/kali kali main non-free contrib
- deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
Save and close the file. For more information, see add an official Kali Linux software library.
3. Update, upgrade, and release version upgrade
Clean, update, upgrade, and release the installed Kali.
- apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
4. solved the PulseAudio warning problem.
This warning message pops up frequently in my Kali:
- [warn] PulseAudio configured for per-user sessions ... (warning).
A similar warning message is displayed during the startup of the Debian variant. To solve this problem, type the following command:
- leafpad /etc/default/pulseaudio
Find this line:
- PULSEAUDIO_SYSTEM_START=0
Replace 0 with 1:
- PULSEAUDIO_SYSTEM_START=1
Where, 0 indicates that PulseAudio is not started in system mode, and 1 indicates that PulseAudio is started in system mode.
- reboot
For more information, see the article solving PulseAudio configured for per-user sessions... (warning) in Kali Linux.
5. make sure the sound is triggered at startup.
Follow these steps to resolve the problem of no sound at startup in Kali Linux.
- apt-get install alsa-utils -y
In GNOME Desktop (the default is Kali desktop:
Right-click the volume icon and select Sound Preferences ).
In addition, you can choose Applications> System Tools> Preferences> System Settings> Sound ), you can call up the same options.
Switch the Output volume slider to ON, similar to the following screen. This is what you have to do. Close the Sound window.
For more information, see the article "solving the problem of no sound at startup in Kali Linux.
Utilities and software
6. Install Java
Go to the following link to download JDK 7. As of the time of this article, jdk Version is jdk-7u45-linux-x64. Note: I am using x64, which is a 64-bit version. Select a 32-bit version. This is not difficult!
The following is my method. When writing this article, you can use jdk-7u45-linux-x64.tar.gz. Download the file and save it in the/root directory.
- tar -xzvf /root/jdk-7u45-linux-x64.tar.gz
- mv jdk1.7.0_45 /opt
- cd /opt/jdk1.7.0_45
In this step, register the downloaded Java version as an alternative version and use it as the default version:
- update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_45/bin/java 1
- update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_45/bin/javac 1
- update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.s
- /opt/jdk1.7.0_45/jre/lib/amd64/libnpjp2.so 1
- update-alternatives --set java /opt/jdk1.7.0_45/bin/java
- update-alternatives --set javac /opt/jdk1.7.0_45/bin/javac
- update-alternatives --set mozilla-javaplugin.so /opt/jdk1.7.0_45/jre/lib/amd64/libnpjp2.so
Refer to the article install Java JDK in Kali Linux to learn more about step-by-step operations and test options.
7. install Flash
This is quite simple and easy. for most people, there should be no problem: in the terminal, type this command:
- apt-get install flashplugin-nonfree
Then type:
- update-flashplugin-nonfree - -install
That's it. Your flash should work properly now.
See install Flash in Kali Linux to learn about step-by-step operations and test options. If the installation fails, the manual installation steps of Flash are also provided.
8. install File Roeller (Archive Manager)
Kali Linux lacks a real GUI archive manager. Run the following command to install the Archive Manager (File Roller ):
- apt-get install unrar unace rar unrar p7zip zip unzip p7zip-full p7zip-rar file-roller -y
Now you can find the Archive Manager in Applications> Accessories> Archive Manager.
9. add standard users
By default, Kali Linux only has root users. Although most applications require root access, it is always a good idea to add a second user. Open the terminal and enter the following command to create a user (replace user1 with the user name you want ).
- useradd -m user1
(Note:-m indicates that the main directory is usually/home/username)
Now set the password for this user:
- passwd user1
Enter the required password twice. Add users to the sudo group (allows users to install software, print, and use privileged mode ).
- usermod -a -G sudo user1
(Note:-a means attaching or adding, and-G means specifying one group/multiple groups ). Change the default shell of the previously created user to bash:
- chsh -s /bin/bash user1
For more information, see this detailed and in-depth article: how to add/delete users (standard users/non-root users) in Kali Linux /. This article explains how to add users, and all the user directories are in place (thus avoiding "unupdatable. ICEauthority var/lib/gdm3 /. ICEauthority "or contain. ICEauthority or general permission error .)