May 25
My Ubuntu 8.04 server was connected to a KVM and automatic detection defaulted to 800×600 resolution, making it impossible to even see complete dialog boxes when administring the server. Going to the Screen Resolution option didn’t give me any options to change it.
I found this command that will launch a monitor selection config screen where you are able to select something like Generic LCD 1024×768:
gksudo displayconfig-gtk
May 25
I came across this problem the first time installed an SSL certificate on a website using Ubuntu 8.04
The server asked for a password every time Apache was restarted (including reboot). After searching online I found the following solution:
cd /etc/apache2/ssl
cp server.key server.key.orig
openssl rsa -in server.key.orig -out server.key
(replace server.key and related values with actual filenames in your setup)
May 25
To bind multiple static IPs to the same netowork card on a Linux server I found this solution online and it works great for me:
sudo nano /etc/network/interfaces (add .100 and .101 as static IPs on this server)
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
auto eth0:1
iface eth0:1 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
(eth0 is the first physical network card)
May 21
this article from Microsoft is really thorough on how to setup your server and website to stream media.
http://www.microsoft.com/windows/windowsmedia/howto/articles/webserver.aspx
May 19
great article on delivering Flash and FLV files on your web:
http://www.adobe.com/devnet/flash/articles/flv_howto_03.html
May 19
before your “INSERT….” statement put this line:
SET IDENTITY_INSERT mytablename ON
May 19
if you have a form with a “submit” button and you try to call the submit() function in JavaScript, you will get this error:
submit is not a function
to get around this error, change your button type from “Submit” to a normal button. Now your code will work.
May 18
CREATE TABLE #tmp (…)
INSERT #tmp (…) EXEC @err = some_sp @par1, @par2 …
In your 2nd stored procedure, create a temporary table with the same column definitions of the output from 1st stored procedure, insert the output from 1st stored procedure into the temp table in the 2nd stored procedure and use it as you wish.
For more information…
Recent Comments