Tag Archive for ubuntu

Oracle 11g XE install on Ubuntu 14/16

After Ubuntu downloaded and installed.

First install Java:


Reload sources:


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

Xbox IrDA Ubuntu 10.04 alá

Haven’t found any consistant instructions on how to do this so here it is. This is not my work it’s the combination of other threads I’ve come across that seemed to work for me.

  1. Blacklist xpad



  2. Install lirc – config menu will pop up. select none.

  3. Install lirc source modules

  4. Configure hardware.conf

    replace all and add:


  5. configure lircd.conf

    replace and add:


  6. configure modules to load at startup



  7. edit lirc_dev.h

    change the line “#define LIRC_HAVE_KFIFO” to “#undef LIRC_HAVE_KFIFO”

  8. reconfigure lirc source modules

  9. reboot
  10. test

    press a button on the remote.should see something like this:


    That it!

Wifi AP készítése


Modify /etc/hostapd/hostapd.conf and put the following


The dhcpd.conf section in /etc/dhcp3/dhcpd.conf would have something like the following

Modify /etc/default/dhcp3-server

Check what name your adapter got via iwconfig. You can change the name also and make it persistent via /etc/udev/rules.d/70-persistent-net.rules so that it always gets a single type of name. In our example we’re assuming wlan0, but it could be changed. Make necessary changes in your configuration too.

Configure the new interface

The above could also be done in a better way via the /etc/network/interfaces file, but didn’t try it out. In any case if you shutdown hostapd, the network interface (wlan0) loses its address, so need to put a script which assigns it again before hostapd is started. An example could be

Restart the dhcp3-server. It should now be ready to serve addresses and is also bound to the network interface too.

Allow ip masquerading

Now start hostapd and see the messages that it shows

Wait for a few seconds, it should show some probes being done by other wifi devices. If it shows, then probably you’re in good luck.

Now try to connect via your device to this access point. It should work.

To make this work on boot, can put the relevant config in /etc/default/hostapd

and also put the firewall rules in /etc/rc.local (make sure its executable).

Remember – if you shutdown your hostapd, the network card would lose its address. So you have to assign that again before starting hostapd. The usual practice would be

  • Stop hostapd
  • Stop dhcp server
  • Restart network (or rather ifup wlan0 / ifconfig wlan0 would do)
  • Restart dhcp server
  • Start hostapd


  1. You can check the wifi interfaces via
  2. To set a wifi adapter into master mode, try the following. If it doesn’t work and shows an error that it’s not possible or something, fret not – use hostapd as that’ll do that in any case.
  3. Network Manager could create issues, though in my test environment – instead of using an ethernet interface, I used two wlan interfaces, one being controlled by Network Manager for internet access, and other for making it an access point.
  4. modprobe -r ath5k / modprobe -r rt2800usb etc. is to be used for unloading the modules.
  5. If you wish to proceed without using authentication so that you can test it easy, then put the following in /etc/hostapd/hostapd.conf