0x6f INSTALL CX_ORACLE ON CENTOS 7

  1. Download and install oracle client from Oracle
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
  1. Add Oracle client to library path
echo "/usr/lib/oracle/12.1/client64/lib" >/etc/ld.so.conf.d/oracle.conf
ldconfig
  1. install epel repo via yum extra
yum install epel-release
  1. Install additional
yum install gcc python-pip.noarch python-devel
  1. Install cx_Oracle via pip
pip install cx_Oracle
linux oracle python centos

 

0x72 INSTALL VNC-SERVER, UBUNTU

Загрузить пакеты XFCE и TightVNC можно из программного репозитория Ubuntu с помощью apt:

sudo apt-get update
sudo apt-get install xfce4 xfce4-goodies tightvncserver

Для завершения начальной настройки сервера VNC используйте команду vncserver, которая создаст безопасный пароль:

vncserver

Continue reading →

linux

 

0x6b XEN - BRIDGE SETUP

So, for the VM we set a bridge. To do that we need to have bridge-utils package installed (yum install bridge-utils) and set-up the br0 bridge. There’s no need to set an IP address on the bridge as we only need to set a static route on it.

/etc/sysconfig/network-scripts/ifcfg-br0 would look like this:

Continue reading →

linux admin