Failed to set locale, defaulting to C

Easy how to fix Failed to set locale, defaulting to C
when you run yum install or yum update
Read more

How to change centos language in ssh

[root@dlp ~]# echo $LANG

# show current system language

de_DE.UTF-8 Read more

Tags :

CentOS servers an update for the nss-softokn package

For CentOS servers an update for the nss-softokn package was release today – nss-softokn-3.14.3-19
However, nss-softokn-3.14.3-19 needs nss-softokn-freebl-3.14.3-19 to operate properly, and vice versa, but those packages do not have checks in place to make sure that a matching version of the other package are also installed.

Thus if you yum update only installed one of the packages you will end up with a broken YUM and RPM.

You might see error messages like these when trying to run YUM and RPM commands:

Read more

Best blocklist

FJ

Looking for a nice and complete blocklist for torrent sonftware can be a pain, especially if you’re not sure of which one to pick. In fact there are a ton of lists all for different purposes and no one will give you complete bad-peer protection since one will shield your client from spammers, one from the US Government [really?] and no one from all those things combined.
Read more

Tags : , , , , , ,

Clean up old kernels

This is quick guide howto delete/remove/clean old kernels on Fedora, CentOS, Red Hat (RHEL). I use here two kernel as example, if you want to keep other more or less, then adjust amount of installed kernels as you wish. Normally reason why you maybe want remove kernels is limited disk space, example on VPS servers and laptop. This is very easy task, you need yum-utils package.
Check Installed Kernels
Read more

TinyProxy Web Proxy

TinyProxy is a light and very fast proxy. It doesn’t do cache as Squid, but consumes only 2MB of memory: perfect for small local networks.
Link: https://www.banu.com/tinyproxy/

Installation

yum install tinyproxy

Configuration
Read more

Squid Web Proxy

The Squid Web Proxy Cache is a fully featured Internet caching server that handles all types of web requests on behalf of a user. When a user requests a web resource (webpage, movie clip, graphic, etc..), their request is sent to the caching server which then forwards the request to the real web server on their behalf. When the requested resource is returned to the caching server, it stores a copy of the resource in its “cache” and then forwards the request back to the original user. The next time someone requests a copy of the “cached” resource, it is delivered directly from the local proxy server and not from the distant web server (depending on age of resource etc..).
Read more

Linux Unix Command md5sum

Command Library
NAME
md5sum – compute and check MD5 message digest
SYNOPSIS
md5sum [OPTION] [FILE]…
md5sum [OPTION] –check [FILE]
DESCRIPTION
Read more

Installing Compressed Files

This question comes up frequently on the Linux_Newbies list. There are various commands that work, so if you’ve heard something different, and it works well for you, then use it. There are variations of commands that one person, such as myself, uses more out of habit than anything else.

RPMS are packages compressed using the RedHat Package Manager (ergo, R P M). Both KDE and Gnome have graphic interfaces for installing RPMS, however, some folks seem to have difficulty using them and of course, one feels more like a Linux ace if they install via command line.
Read more