k y o d i u m
Thursday, 1 December 2011
INSTALL ICINGA 1.6 ON UBUNTU
Icinga 1.6 has been released and yes, you can still use my script to install it. One caveat is that you must specify the version as 1.6.0 when running the script, or the download links will fail. Enjoy ;)
Monday, 26 September 2011
UBUNTU 11.04 BOOTS TO CURSOR
On Natty and Oneiric non-Server command-line only systems (which can be installed from the Alternate and Minimal CD's), grub2 hands off to blank tty7. As a consequence, a blank black (or purple) terminal is shown, and the system does not appear to be functional.
Switching to an active virtual console (for example, by pressing Alt+F1) yields a login screen and makes it possible to use the machine.
There is an easy permanent fix by editing the 10_linux file
change this line:
to
Save the changes and then run:
Next reboot will boot straight to the login prompt.
Labels:
ubuntu
Friday, 16 September 2011
WINDOWS FIREWALL BLOCKS ORACLE CONNECTION
If you've been battling with Windows Firewall to enable a client connection to an Oracle database then I feel your pain. You've probably figured out that you need to enable port 1521 (the default connection port) but it still doesn't seem to do anything. However after I read this post it all became very clear.
Basically when a client makes its initial connection to the listener (via port 1521), the listener spawns a new user process that uses a random port to handle the client's request. If it's a random port then we can't define it in a firewall rule, however we can add the programs themselves.
Click Add Program... and create a rule for both oracle.exe and tnslsnr.exe located in <your_oracle_directory>/bin
Basically when a client makes its initial connection to the listener (via port 1521), the listener spawns a new user process that uses a random port to handle the client's request. If it's a random port then we can't define it in a firewall rule, however we can add the programs themselves.
Click Add Program... and create a rule for both oracle.exe and tnslsnr.exe located in <your_oracle_directory>/bin
Thursday, 15 September 2011
INSTALL GITORIOUS ON UBUNTU
Another install script, this time to automate the install of Gitorious on Ubuntu 11.04 Server. This is based on the instructions at coding-journal, if it wasn't for Lucas I'd be completely lost with this installation.
As always, this should be run on a bare-bones install of Ubuntu 11.04. There's not a lot of error catching here, and it will require some interaction on your part -so read through the script to make sure you understand what's happening before you continue. You should really do this with any script you haven't written yourself anyway.
It's best to install the server, then ssh in and run the script because there's a couple of steps
that'll be much easier if you can copy/paste.
Running this script as root (sudo sh <scriptname>) against a base 11.04 server install should
have you up and running without any additional fiddling around. Let me know if you see a better way
to do this, or find any glaring errors.
As always, this should be run on a bare-bones install of Ubuntu 11.04. There's not a lot of error catching here, and it will require some interaction on your part -so read through the script to make sure you understand what's happening before you continue. You should really do this with any script you haven't written yourself anyway.
It's best to install the server, then ssh in and run the script because there's a couple of steps
that'll be much easier if you can copy/paste.
Running this script as root (sudo sh <scriptname>) against a base 11.04 server install should
have you up and running without any additional fiddling around. Let me know if you see a better way
to do this, or find any glaring errors.
WINDOWS 8 SERVER: NETWORK DEDUP
I was just looking over Mark Minasi's rundown of Windows 8 Server (thanks Mark for teaching me Win2k3, in the early days your book saved my ass on more than one occasion) and one tiny paragraph jumped out at me:
"Finally, de-duping applies not only to disk space but to networking. If I'm copying a huge bunch of files from a Windows 8 system to another Windows 8 system, the network stack does de-duping as well. Grab a bunch of VHDs and copy them across the network and it only takes a bit longer than copying just one of them would."
This. is. cool. I don't know if this functionality exists in other OS's but I've certainly never heard of it. Now I'm actually excited about Windows 8!
"Finally, de-duping applies not only to disk space but to networking. If I'm copying a huge bunch of files from a Windows 8 system to another Windows 8 system, the network stack does de-duping as well. Grab a bunch of VHDs and copy them across the network and it only takes a bit longer than copying just one of them would."
This. is. cool. I don't know if this functionality exists in other OS's but I've certainly never heard of it. Now I'm actually excited about Windows 8!
Saturday, 10 September 2011
WINDOWS: DISPLAY DRIVE LETTERS BEFORE NAMES
Open RegEdit and navigate to the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
New: DWORD (32-bit) Value
Name: ShowDriveLettersFirst
Value: One of the numbers below:
0 – Default. Drive letters are displayed after the drive description.
1 – Show local drive letters after description and network drive letters before the drive name.
2 – Display no drive letter at all
4 – Show all drive letters before the drive names
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
New: DWORD (32-bit) Value
Name: ShowDriveLettersFirst
Value: One of the numbers below:
0 – Default. Drive letters are displayed after the drive description.
1 – Show local drive letters after description and network drive letters before the drive name.
2 – Display no drive letter at all
4 – Show all drive letters before the drive names
WIN2K3 ENABLE SHUTDOWN AT LOGIN SCREEN
Enable the shutdown button on the login screen in Windows 2003:
Click Start - Run (or Windows Key - R) and type gpedit.msc
In the window that opens navigate to: Computer Configuration - Windows Settings - Security Settings - Local Policies - Security Options
Open the item Shutdown: Allow system to be shut down without having to log on
and set to Enabled
Click Start - Run (or Windows Key - R) and type gpedit.msc
In the window that opens navigate to: Computer Configuration - Windows Settings - Security Settings - Local Policies - Security Options
Open the item Shutdown: Allow system to be shut down without having to log on
and set to Enabled
Subscribe to:
Posts (Atom)