by skufel | May 20, 2015 | HA/DR, Infrastructure, Linux
Current expectations from all type of systems and services is to be available without any disruption. One of mission critical systems is gateway/firewall. Of course you can use multiple products available on the market. One of them is openSUSE, which is perfect to act...
by skufel | May 11, 2015 | Automation, Scripting, SysAdmin, Windows
If you want to send email from PowerShell script via Google Mail: $SMTPServer = "smtp.gmail.com" $SMTPPort = "587" $SMTPUsername = "sender@gmail.com" $SMTPPassword = "password" $EmailSenderAddress = New-Object...
by skufel | May 11, 2015 | Automation, Scripting, SysAdmin, Windows
Many times there is a need to store password in PowerShell script. Unfortunately to leave password in script is insecure solution and might cause an issue. So, what to do if there is a need to have password in a script and we don’t want to have it embedded in...
by skufel | Apr 29, 2015 | Development, Linux, SysAdmin
As on Debian 7.0 Node.js is not included in standard repositories, if you want to install it login to server as a root and issue following commands: apt-get install curl curl -sL https://deb.nodesource.com/setup | bash - apt-get install -y...
by skufel | Apr 25, 2015 | Collaboration, Development, Linux
Once Parsoid is installed on openSUSE it might be handy to have is started automatically once system is restarted. First we have to create startup script. /etc/init.d/parsoid #!/bin/sh # # description: Node.js /srv/parsoid/api/server.js # . /etc/rc.status...
by skufel | Apr 24, 2015 | Linux, Web Servers
In order to have Apache2 started automatically after reboot use: systemctl enable apache2.service
by skufel | Apr 16, 2015 | Collaboration, Development, Linux
In previous article I described how-to Deploy Parsoid on openSUSE 13.1 (which turns out to be quite a challenging task). Parsoid is component required for VisualEditor. Now it’s time for VisualEditor deployment. Downloading VisualEditor At the moment, when...
by skufel | Apr 15, 2015 | Collaboration, Development, Linux
I took a challenge of running MediaWiki with Visual Editor extension on openSUSE 13.1 x64. Task sounds maybe easy, but turned out to be little madness, so once I got this working I think it might be nice to share my steps. Operating system has been deployed from ISO...
by skufel | Mar 28, 2015 | Collaboration, Infrastructure, Linux
Once Request Tracker 4 is installed on Debian 7, there is one more thing to do. Small change in Apache configuration to make RT4 website to work. First edit Apache configuration file: root@hostname:~# vi /etc/apache2/sites-available/default Then add to that file (at...
by skufel | Mar 25, 2015 | Automation, Scripting, Windows
If you want to replace string in multiple files name you can simply use PowerShell for that. Dir -Recurse | Rename-Item -NewName { $_.name -replace "file","name-of-file"...