Archive for the ‘Tutorials’ Category

Run SSH command from Powershell with PuTTy plink

If you want to run a script on a linux host from your powershell you might want to open an ssh session. Powershell does not bring this feature natively … but you can build yourself a quick workaround by combining powershell with the free tool “PuTTy” and it’s commandline interface “plink”  … read more Powershell SSH Howto

Automatically import pages to mediawiki from powershell script

If you are using a mediawiki for internal documentation or as a team knowledge base you might want to automate page creation from a shell. I wrote a powershell script which offers a simple function to create a new wiki page with a title, text and a category as parameters. It works with HTTP – so it should work from most of your servers without firewall problems.

Mediwiki offers a Special page where you can import pages. But this is not a webservice API or something like that – it’s an html form with an xml file upload. So you have to create a mediawiki-compliant xml file and fake an html form submission with the correct parameters (thats why I have this strange parameters in $wikiURL – without them it won’t work). Read more … Powershell Tutorial

PowerShell 2.0 out now

At 27. October Microsoft has released the PowerShell 2.0!
Microsoft published it togetther with the Windows Management-Framework. Included in the framework are
* Windows Remote Management (WinRM) 2.0
* Windows PowerShell 2.0
* Background Intelligent Transfer Service (BITS) 4.0

We will publish a short tutorial, howto update from PowerShell 1.0 or CTP v2/v3 to PowerShell 2.0

You can download the the installation files here http://support.microsoft.com/kb/968929.

CentOS 5.4 perl update problems

When updating my CentOS 5.3 to CentOS 5.4, I encountered a problem with updating perl: “…install of perl-5.8.8-27.el5.x86_64 conflicts with file from package perl-5.8.8-18.el5_3.1.i386…”. I postet a small howto fix this centos perl update problem

If this was helpful to you – please blog a link or leave a comment ;)

mediawiki installation in 10 minutes screencast

We created a screencast howto install a mediawiki on a ubuntu linux system including apache, mysql and php  ..

Secure apache webserver with client certificates

If you want to protect your web-server you have a lot of different options. Basic authentication, LDAP, Kerberos, NTLM … and many more. Another option is to use client certificates that the user has to import into his browser. Using this technology the SSL handshake between browser and webserver only succeeds if the user has a valid (not yet expired) certificate installed in his browser … Of course this needs quite some maintenance effort – but if you have very valuable content that needs some extra security this might be a good option … you can read more in our apache howto section …

Powershell IIS Administration

You want restart an IIS application pool? Or create a new website in IIS 6 with Powershell? But there is no CMD-Let for IIS6.0 available?

You can find powershell scripts and functions here.

corporate SSO mediawiki installation howto

If you want your wiki to be an internal corporate tool with AD authentication / SSO integration you can use the following guide to do so. Check out our tutorial wiki

Tomcat automatic restart script

Sometimes it is very helpful to restart tomcat automatically. Often apps have memory leaks and after a week or two tomcat crashes due to memory allocation failures. To prevent this you can fix your app an all memory leaks (good luck) ;) … or you can just restart tomcat automatically at night so all wasted dirty memory is free again … goto our tutorial wiki

Send mail with powershell

Sendmail isn´t implemented in PowerShell. You can use this short script … see our tutorial wiki

Return top