Oracle 11g XE install on Ubuntu 14/16

After Ubuntu downloaded and installed.

First install Java:

Set JAVA_HOME

Reload sources:

Check:

result should be:

Second: Download and prepare Oracle DB

Copy the downloaded file and paste it in home directory.

Unzip using the command:

Install required packages using the command:

Enter into the Disk1 folder using command:

Convert RPM package format to DEB package format (that is used by Ubuntu) using the command:

Create the required chkconfig script using the command:

The pico text editor is started and the commands are shown at the bottom of the screen. Now copy and paste the following into the file and save:

Change the permission of the chkconfig file using the command:

Set kernel parameters. Oracle 11gR2 XE requires additional kernel parameters which you need to set using the command:

Copy the following into the file and save:

Verify the change using the command:

You should see what you entered earlier. Now load the kernel parameters:

Verify the new parameters are loaded using:

You should see the file-max value that you entered earlier.

Set up /dev/shm mount point for Oracle. Create the following file using the command:

Copy the following into the file and save.

Change the permissions of the file using the command:

Now execute the following commands:

Install Oracle

Install the oracle DBMS using the command:

Configure Oracle using the command:

Setup environment variables by editting your .bashrc file:

Add the following lines to the end of the file:

Load the changes by executing your profile:

Start the Oracle 11gR2 XE:

Add user YOURUSERNAME to group dba using the command:

 

src: https://askubuntu.com/questions/566734/how-to-install-oracle-11gr2-on-ubuntu-14-04 and https://www.quora.com/How-can-I-install-Oracle-11g-in-Ubuntu-16-04LTS

gentoo beragadt init script takarítása

 

Debian 8 Docker daemon default start params remove

Somebody at debian’s thought, it will be very usefull, if adds the

param to the docker daemon default

To remove it, and use the /etc/docker/daemon.json do this below:

mod this line:

to

than reload the daemon config

and reload the service

 

 

JDK 8 Failed to read schema document ‘xjc.xsd’, because ‘file’ access is not allowed due to restriction set by the accessExternalSchema property.

The error msg is:

java.lang.AssertionError: org.xml.sax.SAXParseException; systemId: jar:file:/path/to/glassfish/modules/jaxb-osgi.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd; lineNumber: 52; columnNumber: 88; schema_reference: Failed to read schema document ‘xjc.xsd’, because ‘file’ access is not allowed due to restriction set by the accessExternalSchema property.

the resolution is:

Create a file named jaxp.properties (if it doesn’t exist) under /path/to/jdk1.8.0/jre/lib and then write this line in it:

src: https://stackoverflow.com/questions/23011547/webservice-client-generation-error-with-jdk8

gigabit e1000e Detected Hardware Unit Hang

If we see it in

$ dmesg

the resulution is:

src: https://serverfault.com/questions/616485/e1000e-reset-adapter-unexpectedly-detected-hardware-unit-hang

Tomcat 8.5 manager app, manager-script role

Mert másodszor futottam bele. A tomcat 8.5 alap manager appjában változott (szigorodott) a jogosultság kezelés.

Az alábbi sort ki kell kommentezni:

CATALINA_HOME/webapps/manager/META-INF/context.xml 

 

src: https://stackoverflow.com/questions/40503771/tomcat-8-5-403-access-denied

MySQL root pwd reset

next start damon at safe mode

connect to the safe mode daemon into mysql database

change pwd

Finish

kill safe moded daemon

than restart deamon

test the new pwd

 

 

Adot napnál régebbi fájlok megkeresése

 

Pidgin facebook usage

Most useful solution:

Download, install (copy ddl-s), then restart. Done.

Thanks!

DLL-s:

https://github.com/dequis/purple-facebook/wiki/Installing-on-Windows

pidgin, language set on windows

Hard to change language of Piding to english…

The way is, add an environment variable with:

Restrat pidgin

voila…

So tricky… not funny…