Posts Tagged Linux

Ubuntu Static IP Address

I like a static address for servers, by default my install of Ubuntu has a dynamically assigned address. To fix this I simply used my favourite text editor to change the settings in /etc/network/interfaces
Replace the line

iface eth0 inet dhcp

with:

iface eth0 inet static
address required ip address
nnetmask required subnet mask
network required network address
broadcast required broadcast address
gateway required gateway address (i.e. your routers address on your LAN)

Replace the text in bold with your particular network details.

For your new settings to take effect issue the following command:

sudo /etc/init.d/networking restart

Tags: , , ,

Upgrading APEX from v.2 to v.3 on Oracle XE

I spent a few hours trying to upgrade the default version of APEX bundled with Oracle XE to version 3.1.2 (According to the name of the ZIP file) on my trusty virtual ubuntu server. After a number of total uninstalls, reinstalls and bad language due to forgetting to back up data I finally managed it.

The documentation provided by Oracle didn’t work 100% and I had to dig around quite a bit so thought I’d consolidate what I found on here.

I’m going to be repeating the process on my netbook running Fedora 10 as I go.

Tags: ,

Basic Samba

To install SAMBA use sudo apt-get install samba, Irrespective of the OS, I always have a dave user. So what I usually do is share out my Linux home directory on the file server so it’s available to any other machine on the network logged on as me.

The file you need to edit is:

/etc/samba/smb.conf

Look for [homes], you should see something like:

;[homes]
;   comment = Home Directories
;   browseable = no

The semicolons are commenting out the 3 lines, I replaced the above with:

Tags: , ,