Category Archives: Computer

Vmware Server 1.0.5-80187 on Ubuntu 8.04

I have some trouble install vmware-mui on my Ubuntu 8.04.

I got it fix, doing this:

ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib/libcrypto.so.4
ln -s /usr/lib/vmware-mui/lib/libssl.so.4 /lib/libssl.so.4
ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib/libcrypto.so.4

And after that i edit /etc/init.d/httpd.vmware
And go line 256.

I change so that vmware_exec “Starting httpd.vmware:” vmware_start_httpd is call over 2 lines se above. And also vmware_exec  “Shutting down http.vmware: ” vmware_stop_httpd this i change to 2 lines.

# See how we were called.
case “$1” in
start)
#vmware_exec “Starting httpd.vmware:” vmware_start_httpd
echo “Starting httpd.vmware:”
vmware_start_httpd
;;
stop)
#vmware_exec  “Shutting down http.vmware: ” vmware_stop_httpd
echo “Shutting down http.vmware: ”
vmware_stop_httpd
;;

Exchange 2007 – Standard / Enterprise

Her er en oversigt over Exchange 2007 Standard / Enterprise, hvad forskellen mellem de 2 er.

Funktioner Standard Enterprise
Storage Group 5 50
Database 5 50
Database Storage Limits 16 TB 16 TB
Single Copy Clusters Not supported Supported
Local Continuous Replication Supported Supported
Cluster Continuous Replication Not supported Supported
Standby Continuous Replication *** Supported Supported

Upgrade a Cisco Catalyst 2950 Switch

First you need to download a new firmware on Cisco homepage to that you need a cisco login.

Then you need a tftp server. Klever’s pumpkin is free.

Then we need to take backup of the cisco switch before upgrading.
Login to enable mode.
wr mem
copy running-config tftp://192.168.0.1/config
copy flash:vlan.dat tftp://192.168.0.1/vlan.dat
copy flash:c2950-i6q4l2-mz.121-22.EA6.bin tftp://192.168.0.1/c2950-i6q4l2-mz.121-22.EA6.bin

Then we need to delete old HTML files.
delete /r /f flash:html
Then we need to get the new software on the Cisco router.
archive tar /xtract tftp://192.168.0.1/c2950-i6q4l2-tar.121-22.EA10a.tar flash:

And then you just need to reload the cisco router.
reload

Debian and build a package from source

I want to build pure-ftpd from source becurs my debian server dosent support capabilities.
So first i download the package:
host:/usr/local/src/# cd /usr/local/src
host:/usr/local/src/# apt-get -b source packagename

Then i change the debian/rules files in the package, so that pure-ftpd not support capabilities. (–without-capabilities)

host:/usr/local/src/# cd pure-ftpd-1.0.21/debian

host:/usr/local/src/#nano rules

Then i compile pure-ftpd.

host:/usr/local/src/# cd ..

host:/usr/local/src/# dpkg-buildpackage -rfakeroot -uc -b

Then I install the pure-ftpd-common and pure-ftpd-mysql

host:/usr/local/src/# cd ..

host:/usr/local/src/# dpkg -i pure-ftpd-common_1.0.21-11.1_all.deb

host:/usr/local/src/# dpkg -i pure-ftpd-mysql_1.0.21-11.1_i386.deb

XO Soft Wansync seminar…

Har været på en dags seminar omkring XOSoft, et fantatisk program. Kan replikere Exchange til en anden server, det i sig selv er ikke det store, men det der er spændende er er deres Wansync HA, hvor den kan skifte rundt fuldstændig automatisk hvis der opstår et problem på den ene server. Det bliver et spændende produkt.

Apache and Certificate

If you want a sign certificat to use with apache, you need to do this:

openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr

openssl rsa -in server.key -out server.key.insecure
mv server.key server.key.secure
mv server.key.insecure server.key

Mail the server.csr file to certificat trust. Then you get a file back, rename that file to server.crt

Then you need to change this 2 lines, in apache.conf

SSLCertificateFile /etc/httpd/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/ssl.key/server.key