Freie Software und Bürgerrechte benötigen Deine Aufmerksamkeit!
Handeln gegen Überwachungsstaat und Softwarepatente
Wenn Du auch in Zukunft in einem Staat leben möchtst, der nicht dem Überwachungsstaat aus "1984" gleicht und/oder Du möchtest, daß weiterhin jede(r) Software entwickeln und vertreiben kann, gibt es verschiedene Möglichkeiten, sich zu engagieren. Ich möchte Dir diese vier Organisationen empfehlen:
Free software and civil rights need your help!
Act against police state and software patents
If you don't want to live in a state à la "1984" and you want that development and distribution of software should remain legal for everyone, then you have different possibilities to get into the act. I would like to recommend these four organisations:
This page gives you all the information that is necessary to install your own m23 server. m23 can be installed in three different ways. The following chapters are containing all necessary instructions for each method. You should read the chapter "First steps with your m23 server" in the user manual after the installation.
You can download the server installation CD image from the m23 page and burn it on a CD (please use a CD-RW to save resources and reduce toxic waste). This CD contains the m23 software and the Debian operating system with all components. You can then install m23 on your server using this CD.
Download the server installation CD image from here.
Additional information about the installation can be found in the chapter "Server installation" in the manual.
Hint 1: The m23 server installation CD is developed for beginners and simple setups and gives you only a few server configuration options (the functional range of m23 remains untouched). If you prefer a more complicated server configuration or your hardware is not supported, you need to install Debian with a Debian installation CD and follow the instructions under Debian packages afterwards.
Hint 3: If you don't have a CD/DVD drive in your server, you can use the tool UNetbootin to convert the m23 server installation ISO into a bootable USB stick.
Hint 4: After the installation of an m23 ISO file with the version number 13.2 or smaller, log into the new m23 server as root and delete the wrong SSH-key (which we created for testing purposes) by entering rm /root/.ssh/authorized_keys and afterwards, reconfigure the m23 server by typing dpkg-reconfigure m23 (it is important that you answer 'yes' to the question about the SSH key).
The packages are stored on the SourceForge server and can be installed via APT. The following steps must be done as root:
Import the GPG key with
wget -T1 -t1 -q http://m23.sourceforge.net/m23-Sign-Key.asc -O - | apt-key add -
to ensure the integrity of the m23 packages.
deb http://kent.dl.sourceforge.net/project/m23/m23inst ./ in the /etc/apt/sources.list file.
Run apt-get update .
And install m23 with apt-get install m23 . Let all software get configured automatically ("yes"), beside you are really knowing what you are doing.
Make sure that the network interface (eth0, eth1, ...), that will be used for communication between your m23 server and the m23 clients, is the first in the list of the interfaces shown in /etc/network/interfaces and has a static IP address. This is required to ensure correct communication.
Hint: The SourceForge server may abort the download of the packages. Please repeat step 4 until all the packages could be downloaded. The disconnect may occur several times especially with big packages.
Hint for Raspberry Pi:
m23 can, in principle, be installed on a Raspberry Pi (with Raspbian). Before you install the m23 package, install the package Installiere tftpd-hpa (this will abort with an error). Then edit the file /etc/default/tftpd-hpa and modifiy the line with the TFTP_OPTIONS to this: TFTP_OPTIONS="-4 --secure". Then reinstall tftpd-hpa with apt-get install m23-tftp --reinstall and continue with the normal m23 installation afterwards.
From version m23 rock 14.1 on, the m23 server as well as m23 clients can be installed in Apache CloudStack®. For this purpose, the interface for the creation of virtual clients has been extended. The installation of an m23 server works similar to the installation from .deb packages on an existing Debian system.
Create a new virtual machine (VM), using the interface of Apache Cloudstack®.
Configure the VM so it gets a public IP address.
Create rules for the firewall, which allow the following:
m23 package cache
HTTP connection to the m23 server
HTTPS connection to the m23 server
SSH connection to the m23 server
Add port forwarding rules, which forward ports to the m23 server VM, containing:
Install an up-to-date Debian system (=> 7.x) on this virtual machine (32 or 64 Bit) and continue with the m23 installation following the guide at Debian packages.
After the installation is completed, you should be able to access the m23 interface from your web browser, using the public IP address of the virtual machine (https://<public IP>).
Now, follow the guide in the help text about the adjustment of Apache Cloudstack®, which you can find in the m23 web interface at "Server settings" → "Cloud functions (CS)".
The virtual machine image is the right solution for you, if you want to try out m23 risk-free, fast and without installation. You can download a VirtualBox image that contains a full m23 server installation from here (⇒ Preinstalled virtual machine). The m23 server can be installed onto a Kernel-based Virtual Machine (KVM) too. Learn how to install the m23 server into KVM here. You should consider installing m23 on a real server for productive environments via installation CD or Debian packages.
The free virtualisation software VirtualBox can execute virtual machines (VM in short) on the operating systems Linux, Windows, Mac OS X, FreeBSD or Solaris. It is possible to install the official m23 server installation CD (in ISO format) into VirtualBox or to import the m23 server VirtualBox appliance.
Video tutorial: m23 server with VirtualBox in less than 10 minutes
This short video tutorial will teach you how to install and set up an m23 server in a VirtualBox machine. The tutorial covers among other things:
The creation and configuration of a new VM for usage with m23
The installation and configuration of the m23 serve.
The first start of the m23 server
The virtualisation software VirtualBox needs to be downloaded from www.virtualbox.org/wiki/Downloads and installed (if not already done) on your operating system. Note that there is a portable version of VirtualBox for Windows, that can be downloaded from www.vbox.me.
Extract the VM
The 7-Zip compressed archive (Download ⇒ "Preinstalled virtual machine") containing the VM must be downloaded an extracted. Afterwards there are a ".vmdk" and a ".ovf" file that hold the virtual harddisk with operating system and files and the VirtualBox configuration with settings for the VM.
Import and configuration of the m23 server VirtualBox appliance
The following installation and setup howto will guide you through the steps of importing the VirtualBox and importing the m23 server VirtualBox appliance.
Virtual machines can be run on Linux with the free virtualisation software KVM (Kernel-based Virtual Machine). KVM is included in Linux since the version 2.6.20 and therefore should available under all reasonably current distributions.
The following guide will lead you through the installation steps for installing the m23 server in KVM.
Install the KVM tools and load the CPU matching KVM module.
For Intel CPU: modprobe kvm-intel
For AMD CPU: modprobe kvm-amd
The KVM needs a virtual network device for communication with your network and the internet. These network devices can be created with the script VirtualBox-networking-setup.sh. Download VirtualBox-networking-setup.sh from the Dodger-Tools project page or use the file /mdk/m23helper/VirtualBox-networking-setup.sh from a previously installed m23 server. Open the file with a text editor and adjust to your needs. Start VirtualBox-networking-setup.sh as root.
Hint: Have a look at possibly occurring error messages and install the missing tools (e.g OpenVPN).
Create a new and empty KVM harddisk image file with the command:
qemu-img create -f qcow2 m23server.kvm 8192M
You can adjust its size (8GB = 8192M here) and the file name as you like.
Now you can start the KVM (the m23 server ISO file must have been downloaded, of course) (m23server.iso in the example):
For small environments where only very few m23 clients have to be installed or administered simultaneously, you can now use a Raspberry Pi B. All you need to start right away is a Raspberry Pi B, an SD-card of (at least) 8 GB and the m23 server image (download from ⇒ RaspberryPi) which needs to be written to the SD card.
Put the SD card into a card reader and find out the corresponding device name (/dev/XXX). Attention must be paid to really using the correct name - if it is wrong, the data on your hard disk may be overwritten!
To write the image file, use the following commands (as root): 7zr x -so "rapi.dd.7z" | dd of=/dev/SDdevice
Replace "rapi.dd.7z" by the name of the downloaded m23 server image and "/dev/SDdevice" by the device name of the card reader. Depending on the speed of the card reader and SD card, this will now take some minutes.
Now mount the card to find out the preset IP: You can find this in the mounted directory in the file "/etc/network/interfaces". The IP is listed after "allow-hotplug eth0" in the line "address AAA.BBB.CCC.DDD". Of course, you can also change the IP address and the other network parameters ;-)
You now have two options how you can wire your Raspberry Pi:
Connect it to a monitor, a keyboard and the network to be able to log in directly
Alternatively, only connect it to the network to be able to login by using SSH.
Now put the SD card into your Raspberry Pi and start the device (plug it in) to configure the m23 server on the card.
After booting, login using the user name "root" and the password "test".
If the SD card should be bigger than 8 GB, you should now adjust the file system on the card to be able to use all the memory space. To achieve this, run raspi-config and choose "expand_rootfs" from the menu. After this is finished, restart the Raspberry Pi with reboot.
Generates the mknod command for a
given /dev/sdX(Y) device (disk or
iceArray: Generates the mknod
commands for given /dev/sdX(Y)
devices (disks or partitions).
calls getMknodCommand and
Generates the jobs to create a
ep: Jumps back in the partition
history by one step.
Now works correctly.
: Writes the constraints for
building a RAID of a given level to
the parameter variables.
cha: CFDiskIO::isRaidComplete: Now
tionsToBuildTheRaid: Checks, if
there are enough unused partitions
to build a RAID of a given level.
Sorts the elements with numeric
keys (disks) of the input array by
the subkey 'dev'. The numeric keys
will be ascending and in the same
order than the ascending subkey
'dev' with /dev/mdX at the end.
cha: CFDiskIO::virtualAddDisk: Now