Howto upgrade Oracle Linux from 5.9 to 5.11

Howto upgrade Oracle Linux from 5.9 to 5.11

Step 1: Check Present Status of Kernel and Red-hat release

[root@localhost yum.repos.d]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.9 (Tikanga)

[root@localhost yum.repos.d]# uname -a

Linux localhost.localdomain 2.6.39-300.26.1.el5uek #1 SMP Thu Jan 3 18:31:38 PST 2013 x86_64 x86_64 x86_64 GNU/Linux

Step 2: Create repository for update in /etc/yum.repos.d

[root@localhost yum.repos.d]# nano ol5.repo

[el5_latest_local]

name=Oracle Linux $releasever Latest ($basearch)

#baseurl=http://<hostname removed>/repo/OracleLinux/OL5/latest/$basearch/

baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/$basearch/

gpgcheck=0

enabled=1

[ol5_UEK_latest_local]

name=Latest Unbreakable Enterprise Kernel for Oracle Linux $re...

Read More

Howto install or upgrade Ruby 2 on Ubuntu Debian

Howto install or upgrade Ruby 2 on Ubuntu Debian

root@ubuntu:/etc/sensu/conf.d# sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev


Read...

Read More

Howto install Ansible on Centos 7 Fedora Linux Mint

Howto install Ansible on Centos 7 Fedora Linux Mint

[root@localhost ~]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-re lease-7-8.noarch.rpm
–2016-09-20 08:04:25– http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-re lease-7-8.noarch.rpm


Resolving dl...

Read More

Howto install Ansible on Ubuntu 16 Debian

Howto install Ansible on Ubuntu 16 Debian

1. First, you need to install the PPA repository on the Ansible node:
$ sudo apt-add-repository ppa:ansible/ansible

root...

Read More

Python script Scanning the broadcast of packets

Python script Scanning the broadcast of packets

python

Read More

Python script Scan remote port

Python script Scan remote port

python

Read More

Python script Sniffer packets on your network

Python script Sniffer packets on your network

python

Read More

Python script How to show remote machine CPU information

Python script How to show remote machine CPU information

python

Read More

Python script How to copy a file remotely by SFTP

Python script How to copy a file remotely by SFTP

python

Read More

Telnet client session by Python script

Telnet client session by Python script

python

Read More