Posts

Showing posts with the label ufw

Changing the Default Terminal to Terminator on Ubuntu

Image
Terminator is a powerful tool for developers, allowing you to manage multiple terminal sessions in a single window. Features like splitting panes, tabs, and simultaneous input can significantly boost your productivity. Step 1: Install Terminator First, install Terminator using the apt package manager. sudo apt update sudo apt install terminator -y The -y option automatically answers 'yes' to any prompts during the installation process, streamlining the setup. Step 2: Set as the System Default Ubuntu uses a utility called update-alternatives to manage default applications. We'll use this tool to change the default terminal emulator ( x-terminal-emulator ) to Terminator. Run the Configuration Command Enter the following command in your terminal. A list of available terminals will appear. sudo update-alternatives --config x-terminal-emulator Select Terminator From the resulting list, enter the selection number corresponding to terminator and press Enter. ...

Opening a Port on Ubuntu Using UFW (Uncomplicated Firewall)

To open a specific port (in this case, 9040) on Ubuntu, we can use ufw (Uncomplicated Firewall), which is a user-friendly firewall tool in Ubuntu and other Linux. For example, follow these steps to open port 9040 TCP : 1. Check UFW Status First, check if UFW is enabled by running the following command in the terminal:   jason@GU502DU:~$ sudo ufw status  [sudo] password for jason:   Status: active     To                         Action       From   --                         ------       ----   22/tcp                     ALLOW       Anywhere   9200/tcp                   ALLOW       Anywhere   3000/tcp                 ...