(Top 8 # : subject: Things to do after Installing Debian (arcade) 10) # : via: (www.linuxtechi.com/things-to-d)… # : author: (Pradeep Kumar, www.linuxtechi.com/author/prad.)
Debian 10, codenamed Buster, is the latest LTS release from the Debian family and contains a number of features. So if you’ve got Debian 10 installed on your computer and are wondering what to do next, keep reading until the end, because we’ve provided you with the top eight things to do after installing Debian 10. For those of you who don’t already have Debian 10 installed, please read this guide that illustrates the Debian 10 (Buster) installation steps. Let’s continue with this article.
1) Install and configure Sudo
After setting up Debian 10, the first thing you need to do is install the Sudo package, as it gives you administrator privileges to install the packages you need. To install and configure Sudo, use the following commands:
Become root and install the sudo package using the following command
root@linuxtechi:~$ su -
Password:
root@linuxtechi:~# apt install sudo -y
Copy the code
Add your local user to the sudo group using the following usermod command,
root@linuxtechi:~# usermod -aG sudo pkumar
root@linuxtechi:~#
Copy the code
Now verify that the local user has sudo permission:
root@linuxtechi:~$ id
uid=1000(pkumar) gid=1000(pkumar) groups=1000(pkumar),27(sudo)
root@linuxtechi:~$ sudo vi /etc/hosts
[sudo] password for pkumar:
root@linuxtechi:~$
Copy the code
2) Correct the date and time
After you have successfully configured the Sudo package, next, you need to correct the date and time for your location. To correct the date and time,
Go to System Settings – > Details – > Date and time, then change to the time zone that suits your location.
Once the time zone is changed, you can see the time in the clock automatically change.
3) Apply all updates
After installing Debian 10, it is recommended to install all updates available in the Debian 10 package repository by executing the following apt command:
root@linuxtechi:~$ sudo apt update
root@linuxtechi:~$ sudo apt upgrade -y
Copy the code
Note: If you are a big fan of vi editors, install vim using the following apt command:
root@linuxtechi:~$ sudo apt install vim -y
Copy the code
4) Install the Flash player plug-in
By default, the Debian 10 (Buster) repository does not contain the Flash plug-in, so users need to follow the instructions below to find and install the Flash player on their systems.
Configure the repository for Flash player:
root@linuxtechi:~$ echo "deb http://ftp.de.debian.org/debian buster main contrib" | sudo tee -a /etc/apt/sources.list
deb http://ftp.de.debian.org/debian buster main contrib
root@linuxtechi:~
Copy the code
Now update the package index with the following command:
root@linuxtechi:~$ sudo apt update
Copy the code
Install the Flash plugin using apt:
root@linuxtechi:~$ sudo apt install pepperflashplugin-nonfree -y
Copy the code
Once the package has been successfully installed, next, try playing the video from YouTube:
5) Install software such as VLC, Skype, FileZilla and screenshot tools
So, now that we have Flash Player enabled, it’s time to install all the other software on our Debian 10 system, such as VLC, Skype, Filezilla and the Screenshot tool (Flameshot).
Install the VLC multimedia player
To install VLC player on your system, use the following apt command:
root@linuxtechi:~$ sudo apt install vlc -y
Copy the code
After successfully installing the VLC player, try playing your favorite video.
Install the Skype
First, download the latest Skype package:
root@linuxtechi:~$ wget https://go.skype.com/skypeforlinux-64.deb
Copy the code
Next, install the package using the apt command:
root@linuxtechi:~$ sudo apt install ./skypeforlinux-64.deb
Copy the code
After you have successfully installed Skype, try to access it and enter your username and password.
Install the Filezilla
To install Filezilla on your system, use the following apt command
root@linuxtechi:~$ sudo apt install filezilla -y
Copy the code
Once the FileZilla package has been successfully installed, try accessing it.
Install the Screenshot tool (Flameshot)
Use the following command to install the screenshot tool: flameshot,
root@linuxtechi:~$ sudo apt install flameshot -y
Copy the code
Note: Shutter has been removed in Debian 10.
6) Enable and start the firewall
It is always advisable to turn on a firewall to secure your network. If you want to enable firewalls in Debian 10, UFW (Simple Firewall) is the best tool to control firewalls. UFW is available in the Debian repository and is very easy to install as follows:
root@linuxtechi:~$ sudo apt install ufw
Copy the code
After you install the UFW, the next step is to set up the firewall. Therefore, set up a firewall to disable all incoming traffic by rejecting ports, and allow only needed ports to come out, such as SSH, HTTP, and HTTPS.
root@linuxtechi:~$ sudo ufw default deny incoming
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
root@linuxtechi:~$ sudo ufw default allow outgoing
Default outgoing policy changed to 'allow'
(be sure to update your rules accordingly)
root@linuxtechi:~$
Copy the code
SSH ports are allowed:
root@linuxtechi:~$ sudo ufw allow ssh
Rules updated
Rules updated (v6)
root@linuxtechi:~$
Copy the code
If you have Web servers installed on your system, use the following Ufw command to allow their ports in the firewall:
root@linuxtechi:~$ sudo ufw allow 80
Rules updated
Rules updated (v6)
root@linuxtechi:~$ sudo ufw allow 443
Rules updated
Rules updated (v6)
root@linuxtechi:~$
Copy the code
Finally, you can use the following command to enable the UFW:
root@linuxtechi:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
root@linuxtechi:~$
Copy the code
If you want to check the status of your firewall, you can use the following command to check it:
root@linuxtechi:~$ sudo ufw status
Copy the code
7) Installing VirtualBox
The first step in installing Virtualbox is to import the public key of the Oracle Virtualbox repository into your Debian 10 system:
root@linuxtechi:~$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
OK
root@linuxtechi:~$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
OK
root@linuxtechi:~$
Copy the code
If the import is successful, you will see an “OK” message displayed.
Next, you need to add the repository to the repository list:
root@linuxtechi:~$ sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian buster contrib"
root@linuxtechi:~$
Copy the code
Finally, it’s time to install VirtualBox 6.0 on your system:
root@linuxtechi:~$sudo apt update root@linuxtechi:~$sudo apt install Virtualbox-6.0-yCopy the code
Once the VirtualBox package has been successfully installed, try to access it and start creating the virtual machine.
8) Install the latest AMD drivers
Finally, you can also install additional AMD graphics drivers (such as ATI proprietary drivers) and Nvidia graphics drivers as needed. To install the latest AMD drivers, first we need to modify the /etc/apt/sources.list file to add non-free words in the lines that contain main and contrib, as shown in the following example:
root@linuxtechi:~$ sudo vi /etc/apt/sources.list
Copy the code
. deb http://deb.debian.org/debian/ buster main non-free contrib deb-src http://deb.debian.org/debian/ buster main non-free contrib deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free ...Copy the code
Now use the apt command below to install the latest AMD drivers on your Debian 10 system.
root@linuxtechi:~$ sudo apt update
root@linuxtechi:~$ sudo apt install firmware-linux firmware-linux-nonfree libdrm-amdgpu1 xserver-xorg-video-amdgpu -y
Copy the code
That’s all for this article, and I hope you know what to do after you install Debian 10. Please share your feedback and comments in the comments section below.
Via: www.linuxtechi.com/things-to-d…
By Pradeep Kumar (lujun9972
This article is originally compiled by LCTT and released in Linux China