×


Blog


Use Picture-in-Picture Mode in Google Chrome - How to do it ?

This article covers how to enable Picture-in-Picture mode (PiP) in the Google Chrome browser on Ubuntu 20.04. Users need to know notice that in case if they close their browser window, it will also close the smaller window. 

Also, you will learn how to disable the PiP mode in the Google Chrome browser.


How do I enable picture in picture on Chrome?

Here's how it works: open Chrome, go to a website that contains a video and play it fullscreen. 

From there, press the Home button to go to your Android Home Screen and the playing video will automatically transition to Picture-in-Picture. 

That's all!


What is picture in picture mode?

PIP is a special type of multi-window mode mostly used for video playback. 

It lets the user watch a video in a small window pinned to a corner of the screen while navigating between apps or browsing content on the main screen. 

Your app controls when the current activity enters PIP mode.


Assign Multiple IP Addresses to Single NIC in Linux Mint 20 - How to Do it ?

This article covers how to assign multiple IP addresses to a single interface in Mint OS. By following our guide carefully, you can either assign the IP address temporarily or permanently to your network interface.

NIC stands for network interface controller or network interface (controller) card. WNIC is wireless network interface controller or wireless network interface (controller) card. IP Addresses belong to network interfaces, not to the computer itself.


To Restart network service using command:

# systemctl restart network

To Verify the new IP address using command:

# ip addr


How configure multiple IP address in CentOS ?

Now, in order to add additional IP addresses you'll need to edit the configuration file (from hereon called “config file”) for this specific interface. On CentOS 7, the interface config files are located in /etc/sysconfig/network-scripts/ and they are all prefixed with ifcfg-.


How remove secondary IP address Linux?

To add or remove additional IP adresses and keep the configuration persistent, we need to Edit the corresponding /etc/sysconfig/network-scripts/ifcfg-eth[x] configuration file and add/remove as many additional IPADDR[n] and PREFIX[n] entries as additional IP addresses are required.


To configure a static IP address on CentOS  / RHEL :

1. Create a file named /etc/sysconfig/network-scripts/ifcfg-eth0 as follows:

DEVICE=eth0.

BOOTPROTO=none.

ONBOOT=yes.

PREFIX=24.

IPADDR=your_ip_address

2. Restart network service: systemctl restart network.


How do I login as a different user in Linux?

To change to a different user and create a session as if the other user had logged in from a command prompt, type "su -" followed by a space and the target user's username. Type the target user's password when prompted.


What is Nmcli in Linux?

nmcli is a command-line tool which is used for controlling NetworkManager. nmcli commnad can also be used to display network device status, create, edit, activate/deactivate, and delete network connections. Typical Uses: Scripts: Instead of manually managing the network connections it utilize NetworkMaager via nmcli.


Difference between the output of ifconfig and ipconfig:

Functionality: The ipconfig command displays all the currently connected network interfaces whether they are active or not. 

On the other hand, the ifconfig command displays only the enabled network interfaces that are connected to the system.


Install Spotify on Ubuntu 20.04 - Step by Step process to do it ?

This article covers the different methods of installation of Spotify on the Ubuntu 20.04 system. 

Spotify is a Popular music streaming application used globally and users can use any of the methods discussed above for its installation. 

The uninstallation process is also quite easy and we covered it for the ease of our readers. 

Users can also update Spotify with each newly released version.


Where is Spotify installed Linux?

If you followed the instructions on https://www.spotify.com/download/linux/ and installed from Ubuntu Software or snap, it should be located at /snap/bin/spotify . 

If you installed the debian package, it should be located at /usr/bin/spotify .


To update Spotify on Ubuntu:

1. Update list of available packages:

$ sudo apt-get update.

2. Install Spotify:

$ sudo apt-get install spotify-client.


To uninstall Spotify on Linux:

1. Quit Spotify.

2. Uninstall. sudo apt-get remove spotify-client.

3. Remove old config and cache.

cd $HOME/.config. rm -r spotify. cd $HOME/.cache. rm -r spotify.

4. Reinstall by following instructions on https://www.spotify.com/download/linux. 


To Install via command line on Ubuntu:

If you don't have access or don't want to use Ubuntu Software, it is possible to install Spotify from the command line with snap. 

Run the following command in your terminal:

$ snap install spotify


Install Tor Browser on Ubuntu 20.04 - Step by Step process to do it ?

This article covers how you can install the Tor browser on Ubuntu 20.04 Linux distribution. Now, you can use and do web browsing privately and in a secure way on your system. You can visit your local websites, your network service providers may block this browser.

When you use the Tor Browser, the connection to the website you are viewing is encrypted and protected from network surveillance and traffic analysis.


To Install Tor Browser Launcher on Ubuntu:

1. Add the Tor Browser Launcher PPA repository using the following command: 

$ sudo add-apt-repository ppa:micahflee/ppa.

2. Once the repository is enabled, update the apt package list and install the Tor Browser Launcher package by typing: 

$ sudo apt update 
$ sudo apt install torbrowser-launcher.


To uninstall Tor Kali Linux:

1. Locate your Tor Browser folder. On Linux, there is no default location, however the folder will be named "tor-browser_en-US" if you are running the English Tor Browser.

2. Delete the Tor Browser folder.

3. Empty your Trash.


To Update Tor Browser on Ubuntu ?

To help keep you secure, Tor Browser will automatically update itself when a new version is released.

Execute the following commands in your terminal:

$ sudo apt update
$ sudo apt install torbrowser-launcher


Install Zimbra Collaboration Suite (ZCS) on CentOS 8 - Step by step process to do it ?

This article covers how to install Zimbra mail server on CentOS & RHEL systems. Zimbra offers two editions, the commercially supported edition called 'Network Edition' & a free/open-source version called 'Open Source Edition'. 

Zimbra Collaboration Suite (ZCS) is a collaborative software suite that includes a mail & chat server with a web client.


Main components of Zimbra Mail and Collaboration Server are:

1. Zimbra Core: These are basic libraries, utilities, monitoring tools, and basic configuration files.

2. Zimbra LDAP: This has the OpenLDAP LDAP directory server that provides authentication and configs store for users and other zimbra components.

3. Zimbra MTA (mail routing server): Has Postfix mail transfer agent (MTA) that receives email via SMTP and routes each message to the appropriate Zimbra mailbox server using Local Mail Transfer Protocol (LMTP). It also includes the anti-virus and anti-spam components.

4. Zimbra Store (Zimbra server): The mailbox server includes Data store, Message store and Index store for the mailboxes on the server. When a mail arrives, the Zimbra server schedules a thread to have the message indexed in the index store.

5. Zimbra-SNMP: This is an optional component for for monitoring and it runs on every server (Zimbra server, Zimbra LDAP, Zimbra MTA). Swatch is used to watch the syslog output to generate SNMP traps.

6. Zimbra Logger: This is an optional component for the mailbox server. It installs tools for syslog aggregation, reporting, and message tracing. This is required for the message trace feature.


To Edit your hosts file on Ubuntu:

1. $ nano –w /etc/hosts

You should have this line

Ip_address server.domain.com server

Update it as per your server information.

2. Press ctrl key + o to save

3. Press ctrl key + x to exit

4. Restart your server to take effect all the changes

$ reboot


To install Zimbra on Ubuntu server:

1. Install Zimbra prerequisites

$ apt-get update 

$ apt-get install libgmp10 libperl5.18 libaio1 pax sysstat sqlite3

2. Download Zimbra Email Server

$ wget https://files.zimbra.com/downloads/8.6.0_GA/zcs8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

3. Unpack the file

tar xzvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz

4. Go to Zimbra forder

cd zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116

5. Begin installation

./install.sh

NOTE : While running the install.sh command you will be prompted with the following questions.

Do you agree with the terms of the software license agreements? [N] Y

Install zimbra-ldap [Y] Enter

Install zimbra-logger [Y] Enter

Install zimbra-mta [Y] Enter

Install zimbra-dnscache [Y] N Enter

Install zimbra-snmp [Y] Enter

Install zimbra-store [Y] Enter

Install zimbra-apache [Y] Enter

Install zimbra-spell [Y] Enter

Install zimbra-memcached [Y] Enter

Install zimbra-proxy [Y] Enter

The System will be modified. Continue? [N] Y Enter

NOTE: Do not install dnscache because we already installed bind9.

Sometimes it takes for a while to install some packages.

You will receive this error:

DNS ERROR resolving server.domain.com server

Change hostname [Yes] Enter

Please enter the logical hostname for this host [server.domain.com] domain.com

Ports conflicts detected! – Press Enter /Return key to continue Enter

Setup a password for admin account.


Create and Run a Shell Script in CentOS 8 - Step by step process to do it ?

This article covers how to create and run a simple shell script in CentOS 8 system. With this, you can easily create and run even complex scripts and automate repetitive tasks. 

If you are using other Linux distributions, you can visit our posts on how to create and run a shell script in Ubuntu , Debian , and Linux Mint .


An SH file is a script programmed for bash, a type of Unix shell (Bourne-Again SHell). It contains instructions written in the Bash language and can be executed by typing text commands within the shell's command-line interface.


To write and execute a script:

1. Open the terminal. Go to the directory where you want to create your script.

2. Create a file with . sh extension.

3. Write the script in the file using an editor.

4. Make the script executable with command chmod +x <fileName>.

5. Run the script using ./<fileName>.