This video explains in a very basic way the bad goal of ACTA. Help to inform more people about ACTA and help to stop it.
We want to have our free and open internet as it is and don’t want to introduce this kinds of laws in this undemocratic way.
This video explains in a very basic way the bad goal of ACTA. Help to inform more people about ACTA and help to stop it.
We want to have our free and open internet as it is and don’t want to introduce this kinds of laws in this undemocratic way.
If you want to have the latest version of nginx on your CentOS system the easiest way is to use the official yum repository from the nginx program. The version contained in the EPEL repository is quite old.
Create a new repository file:
vi /etc/yum.repos/nginx.repo
copy the yum repository information into it and save it:
[nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1
now install nginx:
yum install nginx
If you’re looking for sample configuration files you should have a look at the nginx wiki page wiki.nginx.org there are quite a lot of good examples.
The NX protocol is a remote X protocol and software quite similar to VNC but over ssh.
While using it for a machine there was this strange behavior that the session was not working anymore and can’t be reestablished. Reinstalling and configuring the nx server software didn’t fix the problem.
In the end I fixed the problem by removing the .Xauthority files located in the users home directory. There where 3 files named .Xauthority, .Xauthority-c, .Xauthority-l. I removed all of them and the connection worked again.
Maybe some one is running into the same problem and this helps him find his way out. Beside the logging functionality of NX needs some more love by it’s developers.
Here again I found a wonderful video explanation about Flattr:
Would be nice if you join this nice idea and leave some bugs on each thing you enjoy on the internet. This micropayment system is a good thing to give something back to the people who helped you out with a problem or created some nice content you liked to watch.
VMware offers a free tool to convert virtual machine files in different formats for example from .vmx to .ovf.
This tool can be used to convert:
VMX -> OVFVMX -> OVAOVF -> VMXVMX -> vSphere
Or you can deploy a OVF directly to a ESX host. It’s more powerful than it looks like.
The documentation can be found on the VMware site and it’s short and clear.
Download the documentation and the tool from the VMware site: http://www.vmware.com/support/developer/ovf/
You need a VMware id to have access but the tool itself is free.
After you downloaded the tool you can install it using the installer. The stand alone version 2.1 (which I used) will be located here: /Applications/VMware OVF Tool/
Start a terminal and change to this directory:
cd /Applications/VMware OVF Tool/
Now convert your files like you want. For example:
ovftool vmxs/Fedora.vmx ovfs/Fedora.ova
Searched for an alternative for Microsoft RDP client for Mac and found CoRD. It’s a nice free and open source tool for Mac and works fine unitl now.
Nice features are:
I will include a more detailed review of this nice tool when I have used it for a while.
If you are running a webserver with https you maybe get a certificate for your site some times in a different format as you expect it.
The easiest way of converting the certificates is using the openssl tool.
For example if you get a certificate in .pfx format you can convert it easy to a format your apache or nginx can use it:
openssl pkcs12 -in inputfile.pfx -out outputfile.txt -nodes
Source:
If your iTerm or Terminal needs some time to start and the bash needs some time to appear if you create a new window.
Short solution is to delete the logs if they are to big:
sudo rm -rf /private/var/log/asl/*.asl
Here the source from os x daily:
http://osxdaily.com/2010/05/06/speed-up-a-slow-terminal-by-clearing-log-files/
In every software development project there is the need for quality assurance and quality management for the code. To make this work more efficient there exist a big number of tools to do this task.
For the ADempiere and iDempiere project I was working together with Redhuan (red1.org) on some Fitnesse test integration to run them automatically. The goal was to have a test suite applied on the current ADempiere code with all migration done to the database.
At the start of the project I defined following steps:
While doing the work I was facing some problems with the process on an headless build server. The tests for the ADempiere client needed some graphical interface to work. To work around this issue I installed a minimal X11 environment and started the Fitnesse test software within this X11 environment. Now when the tests a run the popups can be shown by the code and triggered by Fitnesse.
The default installation of Jenkins was done by me some time ago and the Jenkins is already running some build processes for the iDempiere project to build the OSGi based code using Buckminster.
For the testing of the Fitnesse tests we decided to use the 361 code base maintained by Carlos Ruiz from Kenai repository.
To keep things clear I first created the build job to run the build of ADempiere with the ant task.
This is quite straight forward and no magic. Just let the Ant plugin call the complete target and go for it.
To recreate a fully updated database I created a short collection of commands within a shell script which looks like this:
#!/bin/bash # #This script installes fresh ADempeire Postgres database #Author Dominik Zajac #Date: 10-13-2011 #Version: 0.0.1 WORKSPACE=/var/lib/jenkins/jobs/ADempiere361-Kenai/workspace/ SCRIPTHOME=/opt/adempiere_database_tool #Remove existing database /usr/bin/dropdb -U adempiere adempiere echo "Old Database removed"; #Import new fresh database /usr/bin/createdb -U adempiere adempiere echo "Database created"; /usr/bin/psql -U adempiere adempiere < $SCRIPTHOME/adempiere.dump echo "Database imported"; #Apply migration scripts $WORKSPACE/migration/migrate_postgresql.sh \ $WORKSPACE/migration/360lts.010-release commit \ |psql -U adempiere -d adempiere echo "Migration scripts applied"
What the script does is quite clear. It loads a default database and applies all necessary migrations scripts to it to have a fully prepared database for testing.
This two tasks within that build job are the main effort from Redhuan D. Oon and me. Red1 consolidated all the Fitnesse tests to one project so it was more easy to integrate it into the build server and run it. I created the sql database script which is very very basic and just runs commands step by step for database setup. The part for Fitnesse in Jenkins is starting a new instance of Fitnesse each time the tests are called and executes the tests within this instance. The results will be written to the fitnesse-restults.xml.
Jenkins takes care of the job to look if there are new changes in the repository every minute and reruns the job if there where some commits.
The next tasks would be:
If you installed the server without GUI it may is useful sometimes to have a GUI output via ssh on an different computer.
You can connect with ssh to the server and present the output on you local machine by using ssh with the option -X. You need to be sure that the package xauth is installed on the target machine to do this. Maybe for some types of software you need some additional libraries aswell but they should be installed by yum automatically.
Install xauth like this:
sudo yum install xauth