The Oracle database administrator must possess the ownership of the setup directory and all the content in it.
Issue the chown command as root user to reassign the ownership if necessary. For example: chown -R oracle:oinstall /home/oracle/alpine_miner/setup/Oracle
Login to the system as Oracle database administrator (e.g. oracle) on the Oracle database host.
Change to the setup/Oracle directory chmod 777 alpine_miner_setup_oracle_linux.sh
run command: ./alpine_miner_setup_oracle_linux.sh
Then input the requested Oracle database server information.
If the script fails complaining about the the user credentials, run a command like this and specify your own parameters:
/oracle/product/12.1.0/db_1/bin/sqlplus SYS/oracle@oracle12c:1521/orcl AS SYSDBA < alpine_miner_setup_oracle.sql;
# where "SYS/oracle" is the username/password; "oracle12c" is the hostname of the Oracle server; 1521 is the port number; "orcl" is the database name.