tag:blogger.com,1999:blog-35265584115072059862024-03-08T04:38:09.291-08:00Kali LinuxUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3526558411507205986.post-58682650074121226282014-09-21T00:41:00.000-07:002014-09-21T00:41:05.231-07:00Things to do after installing Kali Linux<div dir="ltr" style="text-align: left;" trbidi="on">
<h4>
<span id="1_Fix_Device_not_managed_error_8211_wired_network"><span style="color: red;">1. Fix Device not managed error – wired network</span></span></h4>
If you want <strong>NetworkManager</strong> to handle interfaces that are enabled in <code>/etc/network/interfaces</code>: Set <code>managed=true</code> in <code>/etc/NetworkManager/NetworkManager.conf</code>. So this file looks like:<br />
<pre>[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true</pre>
<img alt="How to fix Wired Network interface is Unmanaged error in Debian or Kali Linux - 1 - blackMORE Ops" class="alignnone size-full wp-image-509" height="170" src="http://www.blackmoreops.com/wp-content/uploads/2013/11/371x170xHow-to-fix-Wired-Network-interface-is-Unmanaged-error-in-Debian-or-Kali-Linux-1-blackMORE-Ops.png.pagespeed.ic.wNFrprwIBe.png" width="371" /><br />
Read the full article on <a href="http://www.blackmoreops.com/2013/11/25/how-to-fix-wired-network-interface-device-not-managed-error/" target="_blank" title="How to fix Wired Network interface “Device not managed” error in Debian or Kali Linux?">fixing Wired Network interface “Device not managed” error in Debian or Kali Linux</a>.<br />
<br />
<h4>
<span id="2_Fix_default_repository"><span style="color: red;">2. Fix default repository</span></span></h4>
The simplest way is to edit the <strong>/etc/apt/sources.list</strong> remove or comment every-line with <strong>#</strong> at the front and add the following lines..<br />
<pre> leafpad /etc/apt/sources.list</pre>
Comment or remove existing config with the following lines:<br />
<pre>## 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</pre>
Save and close the file. Details and explanations can be found in <a href="http://www.blackmoreops.com/2013/10/30/add-official-kali-linux-repositories/" target="_blank" title="How to add official Kali Linux Repositories?">adding official Kali Linux Repositories</a> page.<br />
<br />
<h4>
<span id="3_Update_Upgrade_Dist-Upgrade"><span style="color: red;">3. Update, Upgrade, Dist-Upgrade</span></span></h4>
Clean, update, upgrade and dist-upgrade your Kali installation.<br />
<pre> apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y</pre>
<pre> </pre>
<pre> </pre>
<h4>
<span id="4_Fix_PulseAudio_warning"><span style="color: red;">4. Fix PulseAudio warning</span></span></h4>
My Kali throws me this warning:<br />
<code>[warn] PulseAudio configured for per-user sessions ... (warning).</code>
Debian variants also throws similar warning during boot.To fix this do the following:<br />
<div>
<pre><code>leafpad /etc/default/pulseaudio</code></pre>
</div>
Find this line:<br />
<code>PULSEAUDIO_SYSTEM_START=0</code>
Replace 0 with 1<br />
<code>PULSEAUDIO_SYSTEM_START=1</code>
Where, 0 = don’t start in system mode, 1 = start in system mode<br />
<div>
<pre><code>reboot</code></pre>
Details and explanations can be found in <a href="http://www.blackmoreops.com/2013/10/12/fixing-pulseaudio-configured-for-per-user-sessions-warning-in-kali-linux/" target="_blank" title="Fixing PulseAudio configured for per-user sessions … (warning) in Kali Linux and Debian">Fixing PulseAudio configured for per-user sessions … (warning) in Kali Linux</a> page.<br />
<br />
</div>
<h4>
<span id="5_Enable_sound_on_Boot"><span style="color: red;">5. Enable sound on Boot</span></span></h4>
Follow the steps below to fix sound mute in Kali Linux on boot<br />
apt-get install alsa-utils -y
In <a href="http://www.blackmoreops.com/2013/10/29/how-to-install-remove-gnome-desktop-environment-on-kali-linux/" title="How to install/remove GNOME Desktop Environment on Kali Linux">GNOME Desktop</a> (The default Kali Desktop)<br />
<ul>
<li>Right Click on the small volume ICON and select Sound Preferences</li>
</ul>
<ul>
<li>Alternatively, you can also go to <strong>Applications > System Tools > Preferences > System Settings > Sound</strong> to bring up the same options.</li>
</ul>
<ul>
<li>Use the <strong>Output volume</strong> slider to <strong>ON, </strong> shown similar the screenshot above. That’s it you’re done. Close <strong>Sound</strong> window.</li>
</ul>
<img alt="Fix sound mute in Kali Linux on boot - 2 - blackMORE Ops" class="alignnone size-full wp-image-1230" height="610" src="http://www.blackmoreops.com/wp-content/uploads/2014/01/677x610xFix-sound-mute-in-Kali-Linux-on-boot-2-blackMORE-Ops1.jpg.pagespeed.ic.uVE6UpkNtL.jpg" width="677" /><br />
Details and explanations can be found in <a href="http://www.blackmoreops.com/2014/01/16/fix-sound-mute-kali-linux-boot/" target="_blank" title="Fix sound mute in Kali Linux on boot">fixing sound mute in Kali Linux on boot </a>page.<br />
<br />
<h3>
<span id="Useful_utilities_and_Software8217s"><span style="color: teal;">Useful utilities and Software’s</span></span></h3>
<br />
<h4>
<span id="6_Install_Java"><span style="color: red;">6. Install Java</span></span></h4>
Go to the following link and download jdk7. At the time of writing this guide the jdk version was <strong>jdk-7u45-linux-x64. </strong>Note that I’m using x64 which is 64-bit. 32-bit users should choose their versions accordingly. Not that tough really!<br />
<img alt="Oracle Sun Java JDK in Kali Linux" class="alignnone size-full wp-image-250" height="301" src="http://www.blackmoreops.com/wp-content/uploads/2013/10/301x301xJAVA-logo.jpg.pagespeed.ic.OeiFAGMT1h.jpg" width="301" /><br />
<br />
Following is what I’ve used. <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html">JDK-7u45-Linux-x64 </a> At the time of writing this guide the available version was <strong>jdk-7u45-linux-x64.tar.gz</strong> Download and save the file in /root directory.<br />
tar -xzvf /root/jdk-7u45-linux-x64.tar.gz
mv jdk1.7.0_45 /opt
cd /opt/jdk1.7.0_45
This step registers the downloaded version of Java as an alternative, and switches it to be used as the default:<br />
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.so /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
Follow <a href="http://www.blackmoreops.com/2013/10/26/how-to-install-java-jdk-in-kali-linux/" target="_blank" title="How to Install Java JDK in Kali Linux">installing Java JDK in Kali Linux</a> post for step by step instructions and testing options.<br />
<br />
<h4>
<span id="7_Install_Flash"><span style="color: red;">7. Install Flash</span></span></h4>
This is fairly simple and easy and should work from most people out there: In the terminal:<br />
apt-get install flashplugin-nonfree
and then type in:<br />
update-flashplugin-nonfree --install
That’s it. You flash should be working as expected.<br />
<br />
<img alt="Adobe Flash in Kali Linux" class="alignnone size-full wp-image-248" height="280" src="http://www.blackmoreops.com/wp-content/uploads/2013/10/adobe-flash.png" width="300" /><br />
<br />
Follow <a href="http://www.blackmoreops.com/2013/10/26/how-to-install-flash-in-kali-linux/" target="_blank" title="How to Install Flash in Kali Linux">installing Flash in Kali Linux</a>
post for step by step instructions and testing options. This post also
includes manual Flash installation procedures for those whose
installation might fail with above mentioned process.<br />
<br />
<h4>
<span id="8_Install_File_Roller_8211_Archive_Manager"><span style="color: red;">8. Install File Roller – Archive Manager</span></span></h4>
Kali Linux lacks a proper GUI archive manager. Install it Archive Manager (File Roller) using the following command:<br />
apt-get install unrar unace rar unrar p7zip zip unzip p7zip-full p7zip-rar file-roller -y
You can now find Archive Manager in <strong>Applications > Accessories > Archive Manager.</strong><br />
<br />
<h4>
<span id="9_Add_a_standard_user"><span style="color: red;">9. Add a standard user</span></span></h4>
Kali Linux got only root user by default. While most applications
require root access, it’s always a good idea to add a second user. Open
terminal and type following to create new user <strong>(replace</strong> user1 with your desired user name)<br />
useradd -m user1
(Note: <strong>-m</strong> means create home <strong>directory</strong> which is usually <strong>/home/username)</strong><br />
<img alt="How to add remove user - Standard usernon-root - in Kali Linux - blackMORE Ops -2" class="alignnone size-full wp-image-542" height="161" src="http://www.blackmoreops.com/wp-content/uploads/2013/11/How-to-add-remove-user-Standard-usernon-root-in-Kali-Linux-blackMORE-Ops-2.png" width="496" /><br />
Now set password for this user<br />
<div style="margin-bottom: 10px; margin-top: 10px; padding-bottom: 10px; padding-top: 10px;">
<center>
</center>
</div>
passwd user1
Enter desired password twice Add user to <strong>sudo</strong> group (to allow user to install software, allow printing, use privileged mode etc.)<br />
usermod -a -G sudo user1
(Note:<strong> -a</strong> means <strong>append</strong> or add and <strong>–G</strong> mean to specified <strong>group/groups)</strong> Change default shell of previously created user to bash<br />
chsh -s /bin/bash user1
To learn more, follow this excellent and detailed post on <a href="http://www.blackmoreops.com/2013/11/27/how-to-add-remove-user-standard-user-non-root-in-kali-linux/" target="_blank" title="How to add remove user (standard user/non-root) in Kali Linux?">adding remove user (standard user/non-root) in Kali Linux</a>.
This post explains how to add a user with all user directories already
in place (thereby avoiding “Could not update .ICEauthority
var/lib/gdm3/.ICEauthority” or any error containing .ICEauthority or
permission in general.<br />
<br />
<h4>
<span id="10_Add_add-apt-repository"><span style="color: red;">10. Add add-apt-repository</span></span></h4>
Debian allows users to add and use PPA repositories by an application
named add-apt-repository however, Kali Linux didn’t include this in
their default package list. With Kali, because this is a special purpose
application and certain modifications were made to make it work for
what it does best (Penetration Test). To enable PPA Repository via
add-apt-repository application, follow the steps below: First install
Python Software properties package.<br />
apt-get <b>install</b> python-software-properties
Next install <code>apt-file</code><br />
apt-get <b>install</b> apt-file
Update <code>apt-file</code>.<br />
apt-file update
This takes a while, so in case your <a href="http://www.blackmoreops.com/2013/10/30/fix-kali-linux-apt-get-slow-update/" target="_blank" title="How to fix Kali Linux apt-get slow update?">apt-file update is SLOW, you might want to try and fix</a> that as well. (Note that I got <code>repo.kali.org</code> in my <code>/etc/apt/sources.list</code> file instead of <code>http.kali.org</code>.) Once <code>apt-file update</code> is complete, you should be able to search for it.<br />
apt-file search add-apt-<b>repository</b>
Your output should look similar to this:<br />
python-software-properties: /usr/bin/add-apt-<b>repository</b>
python-software-properties: /usr/share/man/man1/add-apt-<b>repository</b>.1.gz
The default <code>add-apt-<b>repository</b></code> application located in (<code>/usr/bin/add-apt-<b>repository</b></code>)
works for Debian. So if you’re using Kali, chances are it won’t work.
There’s a nice fix for that which I will add at the bottom of this post,
(try them on VirtualBox if you feel like). But I found we can just
mimic <code>Ubuntu Oneiric</code> to make <code>add-apt-<b>repository</b></code> work.<br />
cd /usr/sbin
vi add-apt-<b>repository</b>
Add the following code and save the file.<br />
#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
ppa_name=`echo "$1" | cut -d":" -f2 -s`
if [ -z "$ppa_name" ]
then
echo "PPA name not found"
echo "Utility to add PPA repositories in your debian machine"
echo "$0 ppa:user/ppa-name"
else
echo "$ppa_name"
echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu oneiric main " >> /etc/apt/sources.list
apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
rm -rf /tmp/${NAME}_apt_add_key.txt
fi
else
echo "Utility to add PPA repositories in your debian machine"
echo "$0 ppa:user/ppa-name"
fi
Note: In this line <code>echo "deb http://<b>ppa</b>.launchpad.net/$ppa_name/ubuntu oneiric main" >> /etc/apt/sources.list</code> I’ve used <code>Oneiric</code>. You can try to use <code>Lucid</code>, <code>Raring</code> or <code>Saucy</code> as per your choice. Now <code>chmod</code> and <code>chown</code> the file.<br />
chmod o+x /usr/sbin/add-apt-repository
chown root:root /usr/sbin/add-apt-repository
Now that we added the correct code, we can use <code>add-apt-<b>repository</b></code> to add a <b>PPA</b> <b>repository</b>. I tried the following to add themes and custom icons in Kali Linux.<br />
/usr/sbin/add-apt-repository ppa:noobslab/themes
/usr/sbin/add-apt-repository ppa:alecive/antigone
<br />
<img alt="Kali Linux add PPA repository add-apt-repository - adding PPA Repository using add-apt-repository - 7 - blackMORE Ops" class="alignnone size-full wp-image-1237" height="425" src="http://www.blackmoreops.com/wp-content/uploads/2014/02/701x425xKali-Linux-add-PPA-repository-add-apt-repository-adding-PPA-Repository-using-add-apt-repository-7-blackMORE-Ops1.jpg.pagespeed.ic.4ijhCvSWu4.jpg" width="701" /><br />
I’ve removed all screenshots from this post, but if you want see read
and understand how it all works, I suggest reading the details post on
<a href="http://www.blackmoreops.com/2014/02/21/kali-linux-add-ppa-repository-add-apt-repository/" target="_blank" title="Kali Linux add PPA repository add-apt-repository">adding PPA repository add-apt-repository in Kali Linux</a>.<br />
<br />
<h4>
<span id="11_Install_Tor"><span style="color: red;">11. Install Tor</span></span></h4>
Tor is free software and an open network that helps you defend
against traffic analysis, a form of network surveillance that threatens
personal freedom and privacy, confidential business activities and
relationships, and state security. This guide guides your through
installing tor in Kali Linux. Tor protects you by bouncing your
communications around a distributed network of relays run by volunteers
all around the world: it prevents somebody watching your Internet
connection from learning what sites you visit, and it prevents the sites
you visit from learning your physical location.<br />
<br />
<img alt="How to install Tor - logo - blackMORE Ops" class="alignnone wp-image-821" height="334" src="http://www.blackmoreops.com/wp-content/uploads/2013/12/417x334xHow-to-install-Tor-logo-blackMORE-Ops.jpg.pagespeed.ic.M3OqHMZMZ3.jpg" width="417" /><br />
<br />
Tor is available in Kali repository, to install it directly from the repository open your Terminal and type this:<br />
apt-get install tor
Enable tor service from command line:<br />
service tor start
Browse with confident by using proxychains and tor<br />
proxychains iceweasel
To keep things simple in this post, I’ve only shows one part of using Tor. You might want to read the full details in <a href="http://www.blackmoreops.com/2013/12/16/installing-tor-kali-linux/" target="_blank" title="Installing Tor In Kali Linux">Installing Tor In Kali Linux</a> post.<br />
<br />
<h4>
<span id="12_Install_Filezilla_FTP_Client"><span style="color: red;">12. Install Filezilla FTP Client</span></span></h4>
No Linux installation is complete with a proper fully fledged FTP
Client. Filezilla is the best out there, so install Filezilla using the
following command:<br />
apt-get install filezilla filezilla-common -y
<br />
<h4>
<span id="13_Install_HTOP_and_NetHogs"><span style="color: red;">13. Install HTOP and NetHogs</span></span></h4>
This is a special one, HTOP shows running process and memory used including many more details. (you could use <strong>top</strong>
command, but HTOP is just more useful). NetHogs is useful and it shows
traffic used by applications per interface. Install them using the
following command:<br />
apt-get install htop nethogs -y
You can now run then using the following commands:<br />
htop
nethogs eth0
nethogs wlan0
I’m almost certain, you’ll enjoy using these tiny tools.<br />
<br />
<h4>
<span id="14_Install_proprietary_drivers_for_your_Graphics_card"><span style="color: red;">14. Install proprietary drivers for your Graphics card</span></span></h4>
Depending on which graphics card you’re using, (AMD or NVIDIA), you
might want to install proprietary drivers to unlock more features.
There’s some excellent post I’ve made on <a href="http://www.blackmoreops.com/2014/02/11/install-amd-ati-proprietary-driver-fglrx-in-kali-linux-1-0-6-running-kernel-version-3-12-6/" target="_blank" title="Install AMD ATI proprietary driver (fglrx) in Kali Linux 1.0.6 running Kernel version 3.12.6">Install AMD ATI proprietary driver (fglrx) in Kali Linux.</a><br />
<br />
<img alt="Install AMD ATI Driver (fglrx) in Kali Linux 1.x - blackMORE Ops" class="alignnone size-full wp-image-350" height="473" src="http://www.blackmoreops.com/wp-content/uploads/2013/10/575x473xInstall-AMD-ATI-Driver-fglrx-in-Kali-Linux-1.x-blackMORE-Ops.jpeg.pagespeed.ic.P728dtQkhT.jpg" width="575" /><br />
<br />
NVIDIA users can just stick to the <a href="http://docs.kali.org/general-use/install-nvidia-drivers-on-kali-linux" target="_blank">official documentation for installing NVIDIA Drivers</a>.
In case, official documentation is not working or you’ve hit rock
bottom, you can try following this other post I’ve written to install <a href="http://www.blackmoreops.com/2013/10/20/how-to-install-nvidia-kernel-module-cuda-and-pyrit/" target="_blank" title="How to Install Nvidia Kernel Module Cuda and Pyrit in Kali Linux">NVIDIA binary drivers manually</a>.<br />
<img alt="How to Install Nvidia Kernel Module Cuda and Pyrit in Kali Linux - blackMORE Ops" class="alignnone size-full wp-image-848" height="282" src="http://www.blackmoreops.com/wp-content/uploads/2013/10/528x282xHOW-TO-INSTALL-NVIDIA-KERNEL-MODULE-CUDA-AND-PYRIT-IN-KALI-LINUX-blackMORE-Ops.png.pagespeed.ic.k6KY402RAb.png" width="528" /><br />
<br />
<h4>
<span id="15_Install_Recordmydesktop_and_Reminna_Remote_Desktop_Client"><span style="color: red;">15. Install Recordmydesktop and Reminna Remote Desktop Client</span></span></h4>
Recordmydesktop gives you the ability to record and make a video of
your activities in Kali Linux. Remmina is simialar to Windows Remote
Desktop Client. Both very useful. Install them using the following
command:<br />
apt-get install gtk-recordmydesktop recordmydesktop remmina -y
<br />
<h4>
<span id="16_Install_GDebi_Package_Manager"><span style="color: red;">16. Install GDebi Package Manager</span></span></h4>
<code>dpkg</code> is a powerful tool, but it doesn’t install
dependencies automatically. What we need is some package installer that
can go out and fetch all required dependencies while installing a <code>.deb</code> package. The best one out there is <code>gdebi</code>. Install it using the following command:<br />
apt-get install gdebi -y
<br />
<img alt="10 - Install Skype in Kali Linux - apt-get install gdebi - blackMORE Ops" class="alignnone size-full wp-image-1258" height="379" src="http://www.blackmoreops.com/wp-content/uploads/2014/02/737x379x10-Install-Skype-in-Kali-Linux-apt-get-install-gdebi-blackMORE-Ops.jpg.pagespeed.ic.dMO2uU-JoB.jpg" width="737" /><br />
<br />
<h3>
<span id="Enhancements_and_accessibility"><span style="color: teal;">Enhancements and accessibility</span></span></h3>
<br />
<h4>
<span id="17_Install_a_theme"><span style="color: red;">17. Install a theme</span></span></h4>
Installing theme and revving up your desktop is a great idea. Kali
default desktop is dull and boring. There’s two different ways you can
change theme.<br />
<ol>
<li>Manually install theme</li>
<li>Install theme via PPA repository</li>
</ol>
Read details here to and find out how to <a href="http://www.blackmoreops.com/2014/02/27/change-install-theme-kali-linux-gtk-3-themes/" target="_blank" title="Change Install Theme in Kali Linux – GTK 3 themes">change or install GTK3 themes in Kali Linux. </a><br />
<br />
<br />
<h4>
<span id="18_Install_a_new_desktop_environment_I_prefer_XFCE"><span style="color: red;">18. Install a new desktop environment (I prefer XFCE).</span></span></h4>
<br />
Finally, follow follow these instructions to<a href="http://www.blackmoreops.com/2013/10/29/permanently-switch-desktop-environments/" target="_blank" title="How to permanently switch Desktop Environments"> permanently switch Desktop Environments.</a>(i.e. boot into XFCE instead of GNOME).<br />
<br />
<img alt="How to install remove GNOME Desktop Environment on Kali Linux - blackMORE Ops" class="alignnone size-large wp-image-747" height="576" src="http://www.blackmoreops.com/wp-content/uploads/2013/10/1024x576xHow-to-install-remove-GNOME-Desktop-Environment-on-Kali-Linux-blackMORE-Ops-1024x576.jpg.pagespeed.ic.HTeC8qGgHL.jpg" width="1024" /><br />
<br />
<h4>
<span id="19_Enable_Autologin_user"><span style="color: red;">19. Enable Autologin user</span></span></h4>
It’s a simple change. Just open and edit the file called <code>/etc/gdm3/daemon.conf</code>,
assuming you’re using GNOME Display Manager(gmd3) a your main Display
Manager. You might want to try out other desktops as well. Here’s a link
to <a href="http://www.blackmoreops.com/2013/10/11/how-to-installremove-different-desktop-environment-or-window-manager-in-kali-linux-1-x/" target="_blank" title="How to install/remove different Desktop Environment or Window Manager in Kali Linux 1.x">Add/Remove different desktop Managers in Kali Linux.</a><br />
<br />
root@kali:~# leafpad /etc/gdm3/daemon.conf
<br />
In the daemon section un-comment the 2 lines for automatic login. It should finally look like this<br />
[daemon]
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = root
<br />
That’s it. Too easy. In case you’re wondering how to use a different user than <code>root</code>, here’s how<br />
[daemon]
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = myanotheruser
<br />
<img alt="Auto login root user at system start in Kali Linux - GNOME and KDE - blackMORE Ops" class="alignnone size-full wp-image-887" height="487" src="http://www.blackmoreops.com/wp-content/uploads/2013/12/657x487xAuto-login-root-user-at-system-start-in-Kali-Linux-GNOME-and-KDE-blackMORE-Ops.png.pagespeed.ic.Af9B3AwcZY.png" width="657" /><br />
<br />
Last but not the least, reboot to check if it worked. (which it will, cause it’s Linux and Kali is awesome)<br />
reboot
<br />
You might want to follow up on this one or if you’re KDE user, then here’s the instructions to <a href="http://www.blackmoreops.com/2013/12/19/auto-login-root-user-system-start-kali-linux-gnome-kde/" target="_blank" title="Auto login root user at system start in Kali Linux – GNOME and KDE">Auto login root user at system start in Kali Linux – GNOME and KDE. </a>This article also shows how to auto-login a different non-root user… quite handy.<br />
<br />
<div style="margin-bottom: 10px; margin-top: 10px; padding-bottom: 10px; padding-top: 10px;">
<center>
</center>
</div>
<br />
<h4>
<span id="20_Unlock_GPU_processing"><span style="color: red;"><br /></span></span></h4>
<br />
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3526558411507205986.post-42955556130392524832014-09-21T00:35:00.001-07:002014-09-21T00:35:52.067-07:00LIve Kali Linux on USB Flash Drive <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="entry-content">
<div style="text-align: justify;">
Booting and installing Kali
from a USB stick is our favorite and fastest method of getting up and
running. In order to do this, we first need to image the Kali ISO on a
USB drive. </div>
<h2>
Preparing for the USB copy</h2>
<ol>
<li><a href="http://kali.org/downloads" rel="nofollow" target="_blank" title="Download Official Kali Images">Download Kali linux</a>.</li>
<li>If running Windows, download <a href="https://launchpad.net/win32-image-writer" rel="nofollow" target="_blank" title="Win32 Disk Imager">Win32 Disk Imager</a>.</li>
<li>No special software is needed for a *nix OS.</li>
<li>A USB Key (at least 2GB capacity for mini, 4GB for regular).</li>
</ol>
<h2>
Kali Linux Live USB Install Procedure</h2>
<h4>
Imaging Kali on a Windows Machine</h4>
<ol>
<li>Plug your USB stick into your Windows USB port and launch the Win32 Disk Imager software</li>
<li>Choose the Kali Linux ISO file to be imaged and verify that the USB drive to be overwritten is the correct one.</li>
<a href="http://docs.kali.org/wp-content/uploads/2013/01/kali-usb-install-windows.png" rel="dofollow"><img alt="kali-usb-install-windows" class="size-full wp-image-320 aligncenter" src="http://docs.kali.org/wp-content/uploads/2013/01/kali-usb-install-windows.png" height="274" width="494" /></a>
<br />
<li>Once the imaging is complete, safely eject the USB drive from
the Windows machine. You can now use the USB device to boot into Kali
Linux.</li>
</ol>
<h4>
Imaging Kali on a Linux Machine</h4>
<div style="text-align: justify;">
Creating a bootable Kali Linux USB key in a Linux environment is easy. Once you’ve downloaded your Kali ISO file, you can use <b>dd</b> to copy it over to your USB stick as follows (make sure you’re root first):</div>
<div class="st-alert st-alert-error ">
WARNING. Although the process of
imaging Kali on a USB stick is very easy, you can just as easily destroy
arbitrary partitions with <b>dd</b> if you do not understand what you are doing. Consider yourself warned.</div>
<ol>
<li>Plug in your USB device to your Linux computer’s USB port.</li>
<li>Verify the device path of your USB storage with <b>dmesg</b>.</li>
<li>Proceed to (carefully!) image the Kali ISO file on the USB device:</li>
</ol>
<div class="codecolorer-container bash default" style="overflow: auto; white-space: nowrap; width: 670px;">
<div class="bash codecolorer">
<span class="kw2">dd</span> <span class="re2">if</span>=kali.iso <span class="re2">of</span>=<span class="sy0">/</span>dev<span class="sy0">/</span>sdb <span class="re2">bs</span>=512k</div>
</div>
<div style="text-align: justify;">
That’s it, really! You can now boot into a Kali Live / Installer environment using the USB device.</div>
<h4>
Imaging Kali on a OSX Machine</h4>
<div style="text-align: justify;">
Creating a bootable Kali Linux USB key
in an OSX environment is similar to the Linux method. Once you’ve
downloaded your chosen Kali ISO file, you can use <b>dd</b> to copy it over to your USB stick as follow:
</div>
<div class="st-alert st-alert-error ">
WARNING. Although the process
of imaging Kali on a USB stick is very easy, you can just as easily
destroy arbitrary partitions with <b>dd</b> if you do not understand what you are doing. Consider yourself warned.</div>
<ol>
<li>Plug in your USB device to your Apple computer’s USB port.</li>
<li>Verify the device path of your USB storage with <b>diskutil list</b>.</li>
<li>Unmount the drive (note, in this example, the USB stick is /dev/disk2):</li>
<div class="codecolorer-container bash default" style="overflow: auto; white-space: nowrap; width: 670px;">
<div class="bash codecolorer">
diskutil unmount <span class="sy0">/</span>dev<span class="sy0">/</span>disk2</div>
</div>
<li>Proceed to (carefully!) image the Kali ISO file on the USB device:</li>
<div class="codecolorer-container bash default" style="overflow: auto; white-space: nowrap; width: 670px;">
<div class="bash codecolorer">
<span class="kw2">sudo</span> <span class="kw2">dd</span> <span class="re2">if</span>=kali-linux-<span class="sy0">*</span>.iso <span class="re2">of</span>=<span class="sy0">/</span>dev<span class="sy0">/</span>disk2 <span class="re2">bs</span>=1m</div>
</div>
<i>Note: Increasing the blocksize (bs) will speed up the write progress, but increase the chances of creating a bad USB stick.</i> </ol>
<div style="text-align: justify;">
The time to <b>dd</b> the image across will depend on the speed of the system used, USB stick, and USB port.</div>
<div style="text-align: justify;">
And that’s it! You can now boot into a Kali Live / Installer environment using the USB device.</div>
<div style="text-align: justify;">
If you choose to boot on an Apple device, you can bring up the boot menu by pressing the <b>Option</b> key immediately after powering on the device.</div>
</div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3526558411507205986.post-13949821035239220862014-09-21T00:33:00.002-07:002014-09-21T00:33:39.888-07:00Install Kali Linux (Dual boot with Windows)<div dir="ltr" style="text-align: left;" trbidi="on">
<h2>
<br /></h2>
<div style="text-align: justify;">
Installing Kali alongside a Windows
installation can be quite useful. However, you need to exercise caution
during the setup process. First, make sure that you’ve backed up any
important data on your Windows installation. Since you’ll be modifying
your hard drive, you’ll want to store this backup on external media.
Once you’ve completed the backup, we recommend you peruse <a href="http://docs.kali.org/installation/kali-linux-hard-disk-install" rel="dofollow" target="_blank" title="Kali Linux Hard Disk Install">Kali Linux Hard Disk Install</a>, which explains the normal procedure for a basic Kali install.</div>
<div style="text-align: justify;">
In our example, we will be installing
Kali Linux alongside an installation of Windows 7, which is currently
taking up 100% of the disk space in our computer. We will start by
resizing our current Windows partition to occupy less space and then
proceed to install Kali Linux in the newly-created empty partition.</div>
<div style="text-align: justify;">
<a href="http://docs.kali.org/downloading/download-official-kali-linux-images" rel="dofollow" target="_blank" title="Download Official Kali Images">Download Kali Linux</a> and either burn the ISO to DVD, or<a href="http://docs.kali.org/installation/kali-linux-live-usb-install" rel="dofollow" target="_blank" title="Kali Linux Live USB Install"> prepare a USB stick with Kali linux Live</a> as the installation medium. If you do not have a DVD or USB port on your computer, check out the <a href="http://docs.kali.org/network-install/kali-linux-network-pxe-install" rel="dofollow" target="_blank" title="Kali Linux Network PXE Install">Kali Linux Network Install</a>. Ensure you have:</div>
<ul>
<li style="text-align: justify;">Minimum of 8 GB free disk space on Windows</li>
<li>CD-DVD / USB boot support</li>
</ul>
<h3>
Preparing for the Installation</h3>
<ol>
<li><a href="http://docs.kali.org/downloading/download-official-kali-linux-images" rel="dofollow" target="_blank" title="Download Official Kali Images">Download Kali Linux</a>.</li>
<li>Burn The Kali Linux ISO to DVD or <a href="http://docs.kali.org/installation/kali-linux-live-usb-install" rel="dofollow" target="_blank" title="Kali Linux Live USB Install">copy Kali Linux Live to USB</a>.</li>
<li>Ensure that your computer is set to boot from CD / USB in your BIOS.</li>
</ol>
<h3>
Dual Boot Installation Procedure</h3>
<ol>
<li>To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Select <em>Live</em>, and you should be booted into the Kali Linux default desktop. </li>
<li>Now launch the <strong>gparted</strong> program. We’ll use <strong>gparted</strong> to shrink the existing Windows partition to give us enough room to install Kali Linux. <br clear="none" /> <br clear="none" /><img alt="dual-boot-kali-01" class="alignright size-full wp-image-279" src="http://docs.kali.org/wp-content/uploads/2013/01/dual-boot-kali-01.png" /></li>
<li>Select your Windows partition. Depending on your system, it will
usually be the second, larger partition. In our example, there are two
partitions; the first is the System Recovery partition, and Windows is
actually installed in /dev/sda2. Resize your Windows partition and leave
enough space (8GB minimum) for the Kali installation. <br clear="none" /> <br clear="none" /><img alt="dual-boot-kali-03" class="alignright size-full wp-image-277" src="http://docs.kali.org/wp-content/uploads/2013/01/dual-boot-kali-03.png" /></li>
<li>Once you have resized your Windows partition, ensure you “Apply All Operations” on the hard disk. Exit <strong>gparted</strong> and reboot.<br clear="none" /> <img alt="dual-boot-kali-05" class="alignright size-full wp-image-275" src="http://docs.kali.org/wp-content/uploads/2013/01/dual-boot-kali-05.png" /></li>
</ol>
<h3>
Kali Linux Installation Procedure</h3>
<ol>
<li>
<div style="text-align: justify;">
The installation procedure from this point onwards is similar to a <a href="http://docs.kali.org/installation/kali-linux-hard-disk-install" rel="dofollow" target="_blank" title="Kali Linux Hard Disk Install">Kali Linux Hard Disk install</a>,
until the point of the partitioning, where you need to select “Guided –
use the largest continuous free space” that you created earlier with <strong>gparted</strong>. <br clear="none" /><br clear="none" /><img alt="dual-boot-kali-09" class="alignright size-full wp-image-271" src="http://docs.kali.org/wp-content/uploads/2013/01/dual-boot-kali-09.png" /></div>
</li>
<li>Once the installation is done, reboot. You should be greeted with a
GRUB boot menu, which will allow you to boot either into Kali or
Windows. <br clear="none" /><img alt="dual-boot-kali-11" class="alignright size-full wp-image-269" src="http://docs.kali.org/wp-content/uploads/2013/01/dual-boot-kali-11.png" /></li>
</ol>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-3526558411507205986.post-62831305363756923272014-09-21T00:31:00.002-07:002014-09-21T00:31:46.282-07:00Install Kali Linux (Single Boot)<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="entry-content">
<h2>
Kali Linux Installation Requirements</h2>
<div style="text-align: justify;">
Installing Kali Linux on your computer
is an easy process. First, you’ll need compatible computer hardware.
Kali is supported on i386, amd64, and ARM (both armel and armhf)
platforms. The hardware requirements are minimal as listed below,
although better hardware will naturally provide better performance. The
i386 images have a default <a href="http://en.wikipedia.org/wiki/Physical_Address_Extension" rel="nofollow" target="_blank" title="Physical Address Extension">PAE</a> kernel, so you can run them on systems with over 4GB of RAM. <a href="http://docs.kali.org/downloading/download-official-kali-linux-images" rel="dofollow" target="_blank" title="Download Official Kali Images">Download Kali Linux</a> and either burn the ISO to DVD, or<a href="http://docs.kali.org/installation/kali-linux-live-usb-install" rel="dofollow" target="_blank" title="Kali Linux Live USB Install"> prepare a USB stick with Kali Linux Live</a> as the installation medium.</div>
<h4>
Installation Prerequisites</h4>
<ul>
<li style="text-align: justify;">A minimum of 10 GB disk space for the Kali Linux install.</li>
<li style="text-align: justify;">For i386 and amd64 architectures, a minimum of 512MB RAM.</li>
<li>CD-DVD Drive / USB boot support</li>
</ul>
<h3>
Preparing for the Installation</h3>
<ol>
<li><a href="http://docs.kali.org/downloading/download-official-kali-linux-images" rel="dofollow" target="_blank" title="Download Official Kali Images">Download Kali linux</a>.</li>
<li>Burn The Kali Linux ISO to DVD or <a href="http://docs.kali.org/installation/kali-linux-live-usb-install" rel="dofollow" target="_blank" title="Kali Linux Live USB Install">Image Kali Linux Live to USB</a>.</li>
<li>Ensure that your computer is set to boot from CD / USB in your BIOS.</li>
</ol>
<h3>
Kali Linux Installation Procedure</h3>
<ol>
<li>To start your installation, boot with your chosen installation
medium. You should be greeted with the Kali Boot screen. Choose either <em>Graphical</em> or <em>Text-Mode</em> install. In this example, we chose a GUI install. <br clear="none" /> <br clear="none" /><img alt="Kali Install" class="alignnone size-full wp-image-415" src="http://docs.kali.org/wp-content/uploads/2013/01/Kali-Install.png" /></li>
<li>Select your preferred language and then your country location.
You’ll also be prompted to configure your keyboard with the appropriate
keymap. <br clear="none" /><br clear="none" /><img alt="localechooser_languagelist_0" class="alignright size-full wp-image-237" src="http://docs.kali.org/wp-content/uploads/2013/01/localechooser_languagelist_0.png" /></li>
<li>The installer will copy the image to your hard disk, probe your
network interfaces, and then prompt you to enter a hostname for your
system. In the example below, we’ve entered “kali” as our hostname. <br clear="none" /><br clear="none" /><img alt="netcfg_get_hostname_0" class="alignright size-full wp-image-407" src="http://docs.kali.org/wp-content/uploads/2013/01/netcfg_get_hostname_0.png" /></li>
<li>Enter a robust password for the root account. <br clear="none" /><br clear="none" /><img alt="kali-linux-install-02" class="alignright size-full wp-image-215" height="600" src="http://docs.kali.org/wp-content/uploads/2013/01/passwd_root-password_0.png" width="800" /></li>
<li>Next, set your time zone.<br clear="none" /><br clear="none" /><img alt="time_zone_0" class="alignnone size-full wp-image-412" src="http://docs.kali.org/wp-content/uploads/2013/01/time_zone_0.png" /></li>
<li>The installer will now probe your disks and offer you four choices.
In our example, we’re using the entire disk on our computer and not
configuring LVM (logical volume manager). Experienced users can use the
“Manual” partitioning method for more granular configuration options.<br clear="none" /><br clear="none" /><img alt="partman-auto_init_automatically_partition_0" class="alignnone size-full wp-image-411" src="http://docs.kali.org/wp-content/uploads/2013/01/partman-auto_init_automatically_partition_0.png" /></li>
<li>Next, you’ll have one last chance to review your disk configuration
before the installer makes irreversible changes. After you click <em>Continue</em>, the installer will go to work and you’ll have an almost finished installation.<br clear="none" /><br clear="none" /><img alt="kali-linux-install-03" class="alignright size-full wp-image-217" src="http://docs.kali.org/wp-content/uploads/2013/01/partman_confirm_0.png" /></li>
<li>Configure network mirrors. Kali uses a central repository to
distribute applications. You’ll need to enter any appropriate proxy
information as needed. <br clear="none" /><br clear="none" />
<div class="st-alert st-alert- ">
<div style="text-align: justify;">
<strong>NOTE!</strong> If you select “NO” in this screen, you will <strong>NOT</strong> be able to install packages from Kali repositories.</div>
</div>
<img alt="kali-linux-install-04" class="alignright size-full wp-image-219" src="http://docs.kali.org/wp-content/uploads/2013/01/apt-setup_use_mirror_0.png" /></li>
<li>Next, install GRUB. <br clear="none" /><br clear="none" /><img alt="kali-linux-install-05" class="alignright size-full wp-image-228" src="http://docs.kali.org/wp-content/uploads/2013/01/grub-installer_only_debian_0.png" /></li>
<li>Finally, click Continue to reboot into your new Kali installation.<br clear="none" /><br clear="none" /><img alt="finish-install_reboot_in_progress_0" class="alignnone size-full wp-image-409" src="http://docs.kali.org/wp-content/uploads/2013/01/finish-install_reboot_in_progress_0.png" /> </li>
</ol>
<h2>
Post Installation</h2>
<div style="text-align: justify;">
Now that you’ve completed installing Kali Linux, it’s time to customize your system. The <a href="http://docs.kali.org/category/general-use" rel="dofollow">Kali General Use </a>section of our site has more information and you can also find tips on how to get the most out of Kali in our <a href="http://forums.kali.org/" rel="nofollow" target="_blank" title="Kali Linux Forums">User Forums</a>.</div>
</div>
</div>
Unknownnoreply@blogger.com0