Things to do on a fresh Linux install 07-23-2015, 03:17 PM
#1
Hey guys this is a small post i did for another forum. So i am sharing it here. Will be updated every so often.
This is just a basic "First things you should do" type post. Some of you may be new to ubuntu or any linux Distro. These things will pretty much be used in most linux Distro.
1. How to update and upgrade the system and repositories. I run this every day atleast once to keep everything up-to-date.
Open up a terminal session and type
The process can take a little long depending on your connection and how much needs to be updated.
2. Disable Unity Online Search.
This feature shares your personal searches info with third parties like Amazon ect.
To do this, go to System Settings, Security and Privacy, Search. In the Search tab, Toggle the (include online searchresults) option off.
3. Install Anti-Virus.
Linux are not virus proof. You may want to look into installing. I have always used AVG Anti-Virus
To install run
To Configure run
Then follow the commands to finish set up.
To update run
4. Clean up you Distro
I personally like ot keep my System as clean as i can. For this i use Bleach bit.
BleachBit deletes the unnecessary files, free up cache, delete cookies, clear internet history, shred temporary files, delete logs, and discard junk you didn’t know was there.
To install run
5. Ubuntu After Install Package
Ubuntu After Install is a tool that can be used to install some of the best and essential software after installing the Ubuntu desktop. It has a bunch of useful applications, and will automate the installation process on a newly installed machine to get near perfect desktop. I would not say a complete desktop for all users, but a near perfect desktop. This tool saves your time and effort, and installs all latest versions of software's by automatically adding the respective PPA’s to keep the installed software's up to date on your Ubuntu system.
To install run
6. UFW firewall install
UFW, or Uncomplicated Firewall, is a front-end to iptables. Its main goal is to make managing your firewall drop-dead simple and to provide an easy-to-use interface. It’s well-supported and popular in the Linux community—even installed by default in a lot of distros. As such, it’s a great way to get started securing your sever.
To install run
Check status
Default set up
Which will deny any incoming requests.
Once its all set up you can turn it on with this command
7. Virtual Box
Virtual Box is a great way to set up a nice pentesting lab, or test out other OS without having to remove your current OS. One of the reasons I like using virtual box for pen testing is becuase when im done, I can delete the whole box and all logs ect are gone with it. You can also, Encrypt your virtual box, along with encrypting your hard drive to give that box a little more security.
To install Virtual box, open up terminal and type
Once this is done you are going to want to go over to https://www.virtualbox.org/wiki/Downloads and download the correct extension pack.
Once you have it all installed you are ready to download any OS and install it directly into the Virtual Box.
Another great thing for Virtual box is the ability to run your VPN on your main system along with running a second one from inside the Box. This will cause a slow network speed, but can give you a little more anonymity while using it.
8. Spoof your mac address
These are the reasons you should change the MAC address of your machine.
For privacy - For instance when you are connecting to a Wi-Fi hotspot.
To ensure interoperability. Some internet service providers bind their service to a specific MAC address; if the user then changes their network card or intends to install a router, the service won't work anymore. Changing the MAC address of the new interface will solve the problem.
To check your current mac address please type this in the terminal
you should see something along these lines
Now to change that address, you can type this into the terminal
Change 00:80:48:BA:d1:30 to what ever you want
You mac address is now spoofed. This will revert back if your reboot or turn off the machine. You can change it permanently but i do not recommend it.
Now all thought these are some similar things that I like to install these are not required to do but will make a pretty decent experience for New users to Ubuntu or most other Distros. If there is something you have questions on please let me know. If there is something you would like tested out or anything i will glady help you out. If anyone has anything to add to the list pm me and ill get it added. I would like to keep this post up for any new users that may need a good direction on where to go once they finish install.
This is just a basic "First things you should do" type post. Some of you may be new to ubuntu or any linux Distro. These things will pretty much be used in most linux Distro.
1. How to update and upgrade the system and repositories. I run this every day atleast once to keep everything up-to-date.
Open up a terminal session and type
Code:
sudo apt-get updateCode:
sudo apt-get upgradeThe process can take a little long depending on your connection and how much needs to be updated.
2. Disable Unity Online Search.
This feature shares your personal searches info with third parties like Amazon ect.
To do this, go to System Settings, Security and Privacy, Search. In the Search tab, Toggle the (include online searchresults) option off.
3. Install Anti-Virus.
Linux are not virus proof. You may want to look into installing. I have always used AVG Anti-Virus
To install run
Code:
apt-get install gdebiCode:
wget [url=http://download.avgfree.com/filedir/inst...6.i386.deb]http://download.avgfree.com/filedir/inst...6.i386.deb[/url]Code:
gdebi avg2013flx-r3118-a6926.i386.debTo Configure run
Code:
sudo /opt/avg/av/bin/avgsetupThen follow the commands to finish set up.
To update run
Code:
sudo avgupdate4. Clean up you Distro
I personally like ot keep my System as clean as i can. For this i use Bleach bit.
BleachBit deletes the unnecessary files, free up cache, delete cookies, clear internet history, shred temporary files, delete logs, and discard junk you didn’t know was there.
To install run
Code:
sudo apt-get install bleachbit5. Ubuntu After Install Package
Ubuntu After Install is a tool that can be used to install some of the best and essential software after installing the Ubuntu desktop. It has a bunch of useful applications, and will automate the installation process on a newly installed machine to get near perfect desktop. I would not say a complete desktop for all users, but a near perfect desktop. This tool saves your time and effort, and installs all latest versions of software's by automatically adding the respective PPA’s to keep the installed software's up to date on your Ubuntu system.
To install run
Code:
sudo add-apt-repository ppa:thefanclub/ubuntu-after-install
sudo apt-get update
sudo apt-get install ubuntu-after-install6. UFW firewall install
UFW, or Uncomplicated Firewall, is a front-end to iptables. Its main goal is to make managing your firewall drop-dead simple and to provide an easy-to-use interface. It’s well-supported and popular in the Linux community—even installed by default in a lot of distros. As such, it’s a great way to get started securing your sever.
To install run
Code:
sudo apt-get install ufwCheck status
Code:
sudo ufw statusDefault set up
Code:
sudo ufw default deny incomingWhich will deny any incoming requests.
Code:
sudo ufw default allow outgoingOnce its all set up you can turn it on with this command
Code:
sudo ufw enable7. Virtual Box
Virtual Box is a great way to set up a nice pentesting lab, or test out other OS without having to remove your current OS. One of the reasons I like using virtual box for pen testing is becuase when im done, I can delete the whole box and all logs ect are gone with it. You can also, Encrypt your virtual box, along with encrypting your hard drive to give that box a little more security.
To install Virtual box, open up terminal and type
Code:
sudo apt-get install virtualboxOnce this is done you are going to want to go over to https://www.virtualbox.org/wiki/Downloads and download the correct extension pack.
Once you have it all installed you are ready to download any OS and install it directly into the Virtual Box.
Another great thing for Virtual box is the ability to run your VPN on your main system along with running a second one from inside the Box. This will cause a slow network speed, but can give you a little more anonymity while using it.
8. Spoof your mac address
These are the reasons you should change the MAC address of your machine.
For privacy - For instance when you are connecting to a Wi-Fi hotspot.
To ensure interoperability. Some internet service providers bind their service to a specific MAC address; if the user then changes their network card or intends to install a router, the service won't work anymore. Changing the MAC address of the new interface will solve the problem.
To check your current mac address please type this in the terminal
Code:
ifconfig -a | grep HWaddrCode:
eth0 Link encap:Ethernet HWaddr 00:80:48:BA:d1:20Now to change that address, you can type this into the terminal
Code:
ifconfig eth0 downCode:
ifconfig eth0 hw ether 00:80:48:BA:d1:30Code:
ifconfig eth0 upCode:
ifconfig eth0 |grep HWaddrYou mac address is now spoofed. This will revert back if your reboot or turn off the machine. You can change it permanently but i do not recommend it.
Now all thought these are some similar things that I like to install these are not required to do but will make a pretty decent experience for New users to Ubuntu or most other Distros. If there is something you have questions on please let me know. If there is something you would like tested out or anything i will glady help you out. If anyone has anything to add to the list pm me and ill get it added. I would like to keep this post up for any new users that may need a good direction on where to go once they finish install.
You mind is programmable – if you’re not programming your mind, someone else will program it for you.





![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

![[Image: 1i4r3vK.jpg]](http://i.imgur.com/1i4r3vK.jpg)