Category Archives: Linux blog

proxy=_none_ in yum repo file
Linux blog

proxy=_none_ in yum repo file

When you have set your proxy variables to reach Inter net sites, but your yum repository resides locally, then you …Read the Rest

[Linux] Centos $releasever problem
Linux blog

[Linux] Centos $releasever problem

Problem with $releasever on centos 7.3. : As shown that var is not filled in: [root@answeb yum.repos.d]# yum repolist Loaded …Read the Rest

lastb for bad login attempts
Linux blog

lastb for bad login attempts

On Linux, lastb is the same as last, but it shows a log of the file /var/log/btmp, which contains all …Read the Rest

Redhat 7 and my own MQ service
Linux blog

Redhat 7 and my own MQ service

My own MQ service. MQ starts up its own daemons and default behaviour is that this does not work nicely …Read the Rest

remote scripts and ssh
AIX blog

remote scripts and ssh

With ssh you are able to execute a local script on a remote host with:   Korn shell: ssh -q …Read the Rest

dm devices
Linux blog

dm devices

With fdisk -l you might see a lot of dm devices as well, besides the ‘regular’ disk notations like sda, …Read the Rest

switch between java versions
Linux blog

switch between java versions

Suppose with Redhat you have 2 java versions installed: # rpm -qa | grep java > java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 > java-1.6.0-openjdk-1.6.0.38-1.13.10.4.el6.x86_64 > …Read the Rest

downloadonly
Linux blog

downloadonly

With yum ( RedHat ) the -downloadony option wil only donwload the RPM and not installing it. Example: yum update …Read the Rest

update Redhat with iso image
Linux blog

update Redhat with iso image

Just a short manual when you want to udpate for example RedHat 6.4 to Redhat 6.8: Update redhat 6 with …Read the Rest

clean up old kernels
Linux blog

clean up old kernels

Clean up old kernels. But leave 1 old kernel: package-cleanup –oldkernels count=1 Tweet

epel error
Linux blog

epel error

I installed the epel rpm: *# yum install wget# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm# rpm -ivh epel-release-6-8.noarch.rpm* The I checked if it …Read the Rest

trying to write a file bigger than 4GB
Linux blog

trying to write a file bigger than 4GB

Today I ran into an issue with a CIFS mount from Linux Redhat 6.4: I had mounted a CIFS share …Read the Rest

cannot allocate memory when mounting cifs
Linux blog

cannot allocate memory when mounting cifs

FROM RHEL 6.4 I am trying to mount a WIndows 7 share : mount -t cifs -o username=piet //pbrri7/tmp /mnt …Read the Rest

RHEL7 get rid of device dependent interface names
Linux blog

RHEL7 get rid of device dependent interface names

IN RHEL 7 the interface names look more complicated compared to older releases. Example: root@les6 ~]# ip a 1: lo: …Read the Rest

show all connections for devices in Redhat 7
Linux blog

show all connections for devices in Redhat 7

For communication devices you can have more than 1 connections in RedHat 7. This simple script shows the connections: #!/bin/bash …Read the Rest

list packages in a repo
Linux blog

list packages in a repo

In redhat 7 the next commands are available for listing packages and repo's: yum repolist yum repoinfo repoquery and maybe …Read the Rest

directly changing a file with sed
Linux blog

directly changing a file with sed

With sed you can manipulate a file directly without redirecting to a temporary file. For example:  sed -ibackup   s/root/ROOT/  …Read the Rest

man -k give nothing appropriate
Linux blog

man -k give nothing appropriate

When man -k gives you "nothing appropriate" in return, then you have to run the command mandb. example: [root@rhelserver ~]# …Read the Rest

scan for scsi addresses
Linux blog

scan for scsi addresses

There are a lot of different ways to scan your disks and their scsi addresses. When running Linux in a …Read the Rest

centos clone wrong ip
Linux blog

centos clone wrong ip

Cloning my centos virtual image ( using ORacle virtualbox ) gives an eth1 device while I expected a eth0 device. …Read the Rest

  • KF Solutions Tweets

Page 1 of 212»