Wenn Du auch in Zukunft in einem Staat leben möchtest, der nicht dem Überwachungsstaat aus "1984" gleicht, und/oder Du möchtest, dass weiterhin jede(r) Software entwickeln und vertreiben kann, gibt es verschiedene Möglichkeiten, sich zu engagieren. wir möchten Dir diese fünf Organisationen empfehlen:
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. We would like to recommend these five organisations:
halfSister is a new abstract method of m23 to make quasi any Linux distribution installable and administrable with m23.
A minimal base system of the according Linux distribution is installed from a compressed and pre-configured archive. This way the usage of distribution specific tools like debootstrap or rpmstrap for installing a minimal system is avoided. A similar routine is used for speeding up the installation of Ubuntu with m23.
For every new distribution that m23 shall master, there is an adequate tool in the form of a single file. This file contains a set of commands, which are consistent within m23, for all administrative tasks and their counterparts for the according distribution. That is why m23 doesn't need to "know" how a specific package manager works and how it is used. It doesn't matter if the native package manager is yum, APT or something else. On every system, the command for updating the package list is "
m23HSAdmin pkgUpdateCache" and the installation of the package "mc" is done by "
m23HSAdmin pkgInstall mc". Other commands of m23HSAdmin call the native tools of the distribution for setting up the network, the installation of the bootmanager, for adjusting the system language etc.
|Distribution||32 bit archive||64 bit archive||m23HSAdmin||m23hwscanner||In m23 since||Status|
Would you like to make your favourite distribution installable and manageable with m23? You only need basic knowledge about your favourite distribution, the script language BASH and about how to create a minimal system of your favourite distribution.
Interested? Then just send us an email, use the form "Send message to developer" or post into the forum.
Three steps are necessary to fit a new Linux distribution to m23 halfSister:
In the first step you should create a minimal base system of the new distribution, which only contains components necessary to install further packages and to configure the system. Besides the coreutils, the programs wget, awk, sed, bash, bzip2 and the command line package manager and the command line configuration tools should be installed. The aim is to create the distribution directory tree within a directory and to compress it afterwards.
Depending on your distribution, there are different ways to do this: For Debian-based distributions you can use debootstrap. For RPM-based systems, there is "rpmstrap". These two programs create a new minimal system in a directory. If there is no such tool for your favourite distribution, maybe there is a container available among the OpenVZ Linux Containers, that could serve as a basis. You can unpack the container into a directory. Another option is to install the distribution with the usual installation medium (you could do this in a virtual machine) and to remove all unnecessary components. The smaller your minimal system is, the better. In no case, applications like office programs, the Linux kernel or desktop environments should be contained.
Hint for OpenVZ Linux Containers: The containers may use misconfigured and modified software that will only run in an OpenVZ environment correctly. You may fix this by deinstalling all unneeded packages and re-installing of the remaining packages. (This works eg. for the CentOS 6.2 container)
Example: How to proceed using debootstrap:
debootstrap squeeze .
To be able to install further programs to this newly created system, you need to "chroot" into it. This means that you change the distribution in your current shell - everything you do after the "chroot" happens in the directory of your new distribution.
Example: How to proceed for Debian:
apt-get install wget gawk sed bash bzip2
To pack the current directory, execute the following command:
tar -c --same-owner *| 7zr a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -si HS-[distroname]-[architecture].tar.7z
You will have to replace "[distroname]" by the name of your distribution (including the version number, without space characters). "[architecture]" is either "i386" for 32-bit distributions or oder "amd64" for the 64-bit variations. Finally, copy the file into "/m23/data+scripts/distr/halfSister/" on your m23 server.
The m23HSAdmin script is the link between the commands from the m23 server and the distribution-specific administration commands of the client distribution. It works like this:
The m23 server sends a command, for example
m23HSAdmin netSetIPNetmask 192.168.1.23 255.255.255.0 to the m23 client. Here, the function
netSetIPNetmask in the m23HSAdmin script is called. The function transforms the command that sets the IP address and the netmask into the proper commands for the respective distribution. Of course, there are a lot of other functions apart from setting the network parameters, that allow a complete administration of a client distribution.
Now it is your task to find a suitable replacement for every single function for you favourite distribution. When you have completed this for all the functions, save your script to "/m23/data+scripts/distr/halfSister/m23HSAdmin-[distroname]". Replace "[distroname]" by the name of the distribution you have already used for the archive of the minimal system (with version number, but without indication of the architecture, as the script is the same for both architectures). Now, most of your work to fit your favourite distribution to m23 is already done :-)
Every distribution that can be installed with m23 also needs at least one package sources list. This list contains the servers from which software packages can be downloaded for installation on the client.
These lists are managed with the m23 interface. Go to "Packages" → "Package sources" and follow the step-by-step instructions:
at the beginning of the list. After "#supportedFS: " the file systems supported by the distribution have to be listed (separated by comma and space character). Behind "#alternativeFS: " enter a file system you consider to be especially well suited to boot you operating system from and to save files to.
#supportedFS: ext2, ext3, ext4, reiserfs
When everything is done correctly, you can now lean back and watch m23 installing your favourite distribution! :-)