Linux

Amarok loops threw all items in playlist when trying to play mp3’s using Ubuntu 9.04

A

When adding new items to Amarok in Ubuntu 9.04 the items do not want to play and Amarok only loops threw the whole playlist and no sound is heard. Follow the steps below in order to solve the problem STEP 1 Remove GStreamer ffmepeg video plugin, GStreamer extra plugins and Movie Player (GStreamer) via Add/Remove  (Applications ->  Add/Remove) STEP 2 Open a new Terminal session and type in the...

How to get information on your CPU using Linux

H

NOTE: This has been tested and tried on Ubuntu 9.04 and should work on other distributions. In the command line interface (CLI) type in the command below and hit enter. cat /proc/cpuinfo This will display all information about your CPU similar as to example below processor           : 0 vendor_id           : GenuineIntel cpu family           : 6 model                  : 23 model name       :...

How to enable and disable the firewall on Ubuntu 16.04

H

The UFW firewall is the default firewall that ships standard with the Ubuntu Linux Distribution. UFW stands for Uncomplicated Firewall. To enable the UFW firewall, open a new Terminal window and execute the following command: sudo ufw enable To disable the UFW firewall, open a new Terminal windows and execute the following command:...

UFW Firewall: How to open a port

U

When you would like to grant SSH access on a Ubuntu machine, you would need to allow access to port 22. In order to allow access to port 22 you would need to add a rule to ufw to open up access to port 22. To allow access to port 22 you would need to do the following: Open a new Terminal Window Enter the following command: sudo ufw allow 22 The typical success message will look similar to the...

How to install Sublime Text 3 in Ubuntu

H

Open the Terminal Then add Sublime Text 3 to your PPA repository sudo add-apt-repository ppa:webupd8team/sublime-text-3​   After you have added the package, you need to update your package list to get the latest information on the newest versions of packages and their dependencies. sudo apt-get update​   Finally you can install Sublime Text 3 using the Package Manager sudo apt-get...

Where is the Trash folder located in Ubuntu 16.04 LTS

W

The trash folder can be found at:
/home/username/.local/share/Trash
Replace username with your username.
The trash folder can also be accessed using the Graphical User Interface by opening the File Manager.
Once opened, press the key combination CTRL+H to view all hidden files and folders.
Open the .local folder, then the share folder and then finally the Trash folder.

How to unblock an IP address from IPTables that has been blocked by Fail2Ban

H

Find the line number that needs to be removed from the IPTables sudo iptables -L fail2ban-SSH -v -n --line-numbers Output: Chain fail2ban-SSH (1 references) num   pkts bytes target     prot opt in     out     source               destination 1        0     0 REJECT     all  --  *      *       84.93.156.103        0.0.0.0/0           reject-with icmp-port-unreachable 2        0     0 REJECT    ...

How to setup a Group Email Alias in CPanel

H

Setup a new Forwarder, by clicking on the Forwarder icon under the Mail section

Then click on the Add Forwarder button

Next enter the Group Name next to Address to Forward together with the domain name, then under the Destination section add all the email addressescomma separated that need to receive the email whenever a mail is send to the group.

Once done click on Add Forwarder

How to restart the service spamd in CPanel

H

Spamd is a service for Apache SpamAssassin and to restart the Spamd service on a CPanel server you need to execute the following command from the command line interface
Restart Spamd

/scripts/restartsrv_spamd

To check the status of Spamd execute the following command

/scripts/restartsrv_spamd --status

CPanel: Script timed out before returning headers: index.php

C

Script timed out before returning headers: index.php is sometimes caused by a badly written script, or the script took to long to execute. To solve this problem on a CPanel server you have to slightly increase the TimeOutdirective using Web Host Manager “WHM”. To do this visit WHM > Apache Configuration > Global Configuration Search for TimeOut and slightly increase it’s...

How to setup Barracuda Networks Reputation Block List in Web Host Manager

H

Login to WHM using your root username and password. Search and open Exim Configuration Manager Click on the RBLs tab under the Basic Editor tab Click on Manage Add Barracuda RBL under the Add a new RBL Section Rbl Name = Barracuda Rbl Info URL =  Dns List = b.barracudacentral.org Click on Add Return to the Exim Configuration Manager, and under the Basic Editor->RBLs tab switch the Custom RBL:...

Receive a copy for Outgoing Emails from a specific address on a CPanel server with Exim

R

Within Web Host Manager, go to Exim Configuration Manager then Advanced Editor, click on Save without changing anything in this section This should create a file named /etc/exim.conf.local Edit the above mentioned file and add some configurations to the @[email protected] @[email protected] sections @[email protected] system_filter_directory_transport = local_copy_outgoing @[email protected] local_copy_outgoing:...

Tasktar in Ubuntu disappeared (Gnome Panel)

T

What to do if your taskbar (GNOME Panel) disappeared in Ubuntu and you need to get it back, in our case we installed updates after unchecking some updates and after reboot the Gnome Panel was gone. So basically we assume that the panel does not exists anymore isn’t installed anymore. Solution: In the Graphical Mode press ALT+CTRL+F2 together to get to the command line. Enter your username...

How to download a file using the Command Line

H

If you need to download a file via the command line of Linux (eg. If you are logged in via SSH and need to download something). Please follow the steps below in order to download using the command line. STEP 1 We use the wget command in order to download a file. Most Linux distributions already have the wget command installed, if not we need to install it. To check if wget is installed enter the...

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me