This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install alien autoconf automake autotools-dev binutils doxygen \ | |
elfutils expat gawk gcc gcc-multilib g++-multilib libstdc++6:i386 ksh less libtiff5 \ | |
libtiff5-dev lib32z1 libaio1 libaio-dev libc6-dev libc6-dev-i386 libc6-i386 \ | |
libelf-dev libltdl-dev libmotif4 libodbcinstq4-1 libodbcinstq4-1:i386 \ | |
libpthread-stubs0 libpth-dev libstdc++5 lsb-cxx make \ | |
pdksh openssh-server rlwrap rpm sysstat unixodbc unixodbc-dev x11-utils \ | |
zlibc libglapi-mesa:i386 libglu1-mesa:i386 libqt4-opengl:i386 \ | |
libpthread-workqueue0 libpthread-workqueue-dev libzthread-2.3-2 \ | |
libzthread-dev \ | |
libpthread-stubs0-dev libaio-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'deb http://cz.archive.ubuntu.com/ubuntu precise main universe' >> /etc/apt/sources.list.d/extra.list | |
echo 'deb http://cz.archive.ubuntu.com/ubuntu trusty main universe' >> /etc/apt/sources.list.d/extra.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbca -createDatabase -silent -gdbName ora18c -templateName XE_Database.dbc -sysPassword YourPWD1 -systemPassword YourPWD1 -dbsnmpPassword YourPWD1 -datafileDestination /opt/oracle/oradata -storageType FS -memoryPercentage 20 -emConfiguration NONE -sampleSchema false -J-Doracle.assistants.dbca.validate.ConfigurationParams=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Las siguientes variables las hemos obtenido examinando el fichero /etc/init.d/oracle-xe-18c configure | |
# DB defaults | |
export ORACLE_HOME=/opt/oracle/product/18c/dbhomeXE | |
export ORACLE_SID=XE | |
export TEMPLATE_NAME=XE_Database.dbc | |
export PDB_NAME=XEPDB1 | |
export LISTENER_NAME=LISTENER | |
export NUMBER_OF_PDBS=1 | |
export CREATE_AS_CDB=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
case "$1" in | |
start) mkdir /var/lock/subsys 2>/dev/null | |
touch /var/lock/subsys/listener | |
rm /dev/shm 2>/dev/null | |
mkdir /dev/shm 2>/dev/null | |
mount -t tmpfs shmfs -o size=2048m /dev/shm ;; | |
*) echo error | |
exit 1 ;; | |
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Oracle 18c XE kernel parameters | |
fs.file-max=6815744 | |
net.ipv4.ip_local_port_range=9000 65000 | |
kernel.sem=250 32000 100 128 | |
kernel.shmmax=536870912 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Oracle 11gR2 XE installer chkconfig hack for Ubuntu | |
file=/etc/init.d/oracle-xe | |
if [[ ! `tail -n1 $file | grep INIT` ]]; then | |
echo >> $file | |
echo '### BEGIN INIT INFO' >> $file | |
echo '# Provides: OracleXE' >> $file | |
echo '# Required-Start: $remote_fs $syslog' >> $file | |
echo '# Required-Stop: $remote_fs $syslog' >> $file | |
echo '# Default-Start: 2 3 4 5' >> $file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Autor: Evaristo R. Rivieccio Vega | |
#Configuración General | |
############################## | |
############################### | |
#Directorio de backup | |
directorioback="/root/backups" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# Ask hubot about the recent earthquakes in the last (hour, day, week or month). | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ses:SendEmail", | |
"ses:SendRawEmail" | |
], | |
"Resource": "*" |
OlderNewer