SqlPlus quick reference
This file contains hidden or 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
| # tmp mysql | |
| sudo docker run --name play_mysql -p 3310:3306 -v /home/ubuntu/mysql_data/play:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7.17 | |
This file contains hidden or 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
| iptables -P INPUT ACCEPT | |
| iptables -P FORWARD ACCEPT | |
| iptables -P OUTPUT ACCEPT | |
| iptables -t nat -F | |
| iptables -t mangle -F | |
| iptables -F | |
| iptables -X |
This file contains hidden or 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
| 1 mbabineau/cfn-bootstrap 1 10M+ https://hub.docker.com/r/mbabineau/cfn-bootstrap/ | |
| 2 google/cadvisor 144 10M+ https://hub.docker.com/r/google/cadvisor/ | |
| 3 nginx 2.6K 10M+ https://hub.docker.com/_/nginx/ | |
| 4 busybox 623 10M+ https://hub.docker.com/_/busybox/ | |
| 5 openshift/hello-openshift 9 10M+ https://hub.docker.com/r/openshift/hello-openshift/ | |
| 6 newrelic/nrsysmond 17 10M+ https://hub.docker.com/r/newrelic/nrsysmond/ | |
| 7 ubuntu 3.7K 10M+ https://hub.docker.com/_/ubuntu/ | |
| 8 gliderlabs/registrator |
This file contains hidden or 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
| # ############################################################################################################# | |
| # Ver [2.1] | |
| # CONFIGURATION BASELINE COLLECTOR SCRIPT FOR ORACLE DATABASE & LINUX OS | |
| # THIS SCRIPT WILL WRITE FOUR LOG FILES: | |
| # - ONE FOR DATABASE CONFIGURATIONS [One log for EACH database]. | |
| # - ONE CONTAINS CREATION/GRANTED PRIVILEGES DDL STATEMENTS FOR ALL DB USERS [One log for EACH database]. | |
| # - ONE FOR CONTROLFILE BACKUP TO TRACE [One log for EACH database]. | |
| # - ONE FOR OS CONFIGURATIONS. | |
| # | |
| # FEATURES: |
... and follow the instructions in the readme file.
https://github.com/oracle/docker-images/tree/master/OracleDatabase
cd docker-images/OracleDatabase/dockerfiles
This file contains hidden or 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
| SELECT * FROM DBA_DATA_FILES; | |
| ALTER TABLESPACE TBS_DB | |
| ADD DATAFILE 'D:\APP\RBS\PRODUCT\11.2.0\DBHOME_1\DATABASE\TBS_DB5.DBF' | |
| SIZE 10G | |
| AUTOEXTEND ON; | |
| ALTER DATABASE DATAFILE 'D:\APP\RBS\PRODUCT\11.2.0\DBHOME_1\DATABASE\TITAS_DB2.DBF' AUTOEXTEND ON; |
This file contains hidden or 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
| docker run -d -p 9000:8080 -p 1521:1521 -v /home/glats/Documentos/oracle:/u01/app/oracle sath89/oracle-xe-11g |
This file contains hidden or 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 | |
| if [ $USER = "oracle" ]; then | |
| if [ $SHELL = "/bin/ksh" ]; then | |
| ulimit -p 16384 | |
| ulimit -n 65536 | |
| else | |
| ulimit -u 16384 -n 65536 | |
| fi | |
| fi |
This file contains hidden or 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 | |
| echo "start" | |
| user=root | |
| pass=root | |
| database=centent_db_dev | |
| o_user=OR_AD | |
| o_pass=or_ad | |
| o_database=or | |
| o_user_upper=OR_AD | |
| path="$(pwd)/mod_bk.sql" |