How to change Oracle XE default hostname and DB ports Stop listener in command window: lsnrctl stop Modify ORACLE_HOME/app/oracle/product/10.2.0/server/NETWORK/ADMIN/listener.ora LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = <port number>)) ) ) Change the PORT to the number wanted. Also modify PORT in tnsnames.ora and save. Start listener: lsnrctl start Run SQL Plus to add local listener for that port, then change HTTP listening port: conn system/password; alter system set local_listener = "(ADDRESS=(PROTOCOL=TCP)(HOST=<hostname>)(PORT=<port number>))"; exec dbms_xdb.sethttpport(<port number>); alter system register; disc; If "set local_listener" is omitted, you probably will get get "ORA-12514: TNS:listener does not currently know of service requested when openning SQL Plus with...
Example 1: Got permission denied while trying to connect to the Docker daemon socket sudo chmod 666 /var/run/docker.sock Example 2: Server: ERROR: Got permission denied while trying to connect to the Docker daemon socket sudo newgroup docker sudo chmod 666 /var/run/docker.sock sudo usermod -aG docker ${ USER } Example 3: dial unix /var/run/docker.sock: connect: permission denied sudo setfacl --modify user: < user name or ID > :rw /var/run/docker.sock Example 4: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: newgrp docker
Enable Intellisense for React component in VS code Run below command: npm i @types/react --save-dev How to write the scripts in package.json file NPM is package manager used to install delete and update JavaScript packages on your machine. NPX is package executor and it is used to execute JavaScript packages directly without installing it. To build scripts in package.json file use scripts sections, "scripts" : { "build" : "parcel build index.html" , "start" : "parcel index.html" }
Comments
Post a Comment