0x7e CENTOS - REMOVE OLD KERNELS
List existed kernels:
rpm -q kernel
Install yum-utils:
yum install yum-utils
Remove old kernels, leave only 2:
package-cleanup --oldkernels --count=2
List existed kernels:
rpm -q kernel
Install yum-utils:
yum install yum-utils
Remove old kernels, leave only 2:
package-cleanup --oldkernels --count=2
yum install libaio
rpm -Uvh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
rpm -Uvh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
rpm -Uvh oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm
echo "/usr/lib/oracle/12.1/client64/lib" >/etc/ld.so.conf.d/oracle.conf
ldconfig
yum install epel-release
yum install gcc python-pip.noarch python-devel
pip install cx_Oracle
linux
oracle
python
centos