CentOS https://www.centos.org/docs/5/html/ https://wiki.centos.org/ https://wiki.centos.org/HowTos/Oracle12onCentos7 https://docs.oracle.com/database/121/index.html CentOS version cat /etc/centos-release hostnamectl rpm –query centos-release CentOS setup # pciutils (for running lspci) # xorg-x11-server-utils (for running xrandr) yum install -y nano mlocate wget zip unzip xorg-x11-drv-vesa pciutils xorg-x11-server-utils wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # –nogpgcheck […]
Month: July 2016
RedHat
Red Hat http://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/ http://developers.redhat.com/products/rhel/get-started/#tab-vmware https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ show OS version lsb_release -a Red Hat setup https://linuxconfig.org/rhel-7-solution-to-there-are-no-enabled-repos-message mkdir /media/rhel7-repo-iso # VMware: make sure Device Status checkbox named Connected is checked! mount /dev/cdrom /media/rhel7-repo-iso/ # or mount the iso file: mount -o loop /root/rhel-server-7.1-x86_64-dvd.iso […]
Oracle and systemd
# http://docs.oracle.com/database/121/index.htm # https://172.16.148.137:5500/em/login # start db: [oracle@redhat7 ~]$ sqlplus / AS SYSDBA STARTUP # start TNS listener [oracle@redhat7 ~]$ lsnrctl start # TNS listener status [oracle@redhat7 ~]$ lsnrctl status cat /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora # stop TNS listener [oracle@redhat7 ~]$ lsnrctl stop […]
CentOS and Oracle
# https://wiki.centos.org/HowTos/Oracle12onCentos7 # rsync -cEhikLmrtz –progress –delete-after KIT/Oracle/linuxamd64_12102_database_se2_* root@172.16.148.136:/root/KIT # scp KIT/Oracle/linuxamd64_12102_database_se2_* root@172.16.148.137:/root/KIT # run as root … groupadd oinstall groupadd dba useradd -g oinstall -G dba oracle passwd oracle # For Intel N3150 CPU I changed the original “kernel.shmmax […]
Yum
# https://www.centos.org/docs/5/html/yum/ # http://linux.duke.edu/projects/yum/ The Alert Icon is part of the up2date application, which enables you to easily install system updates. You may use any of the following formats to specify a package in a yum operation: name, name.architecture, name-version, […]
RedHat & CentOS
Change hostname hostnamectl set-hostname redhat7.localdomain hostnamectl status Change in /etc/sysconfig/network HOSTNAME=redhat7.localdomain Change in /etc/hosts (otherwise Oracle won’t start -> when using Oracle …) 127.0.0.1 redhat7 redhat7.localdomain reboot Static ip setup [root@localhost ~]# cat /etc/sysconfig/network NETWORKING=yes GATEWAY=172.16.148.2 HOSTNAME=redhat7.localdomain [root@localhost ~]# cat […]