Chapter 359 FeoniX OS Build
After the mobilization meeting of the project team, according to the schedule, the next step was a one-month training.
Xiao Yuan did not participate in the training, and the specific implementation was mainly handed over to Duan Yanyue, Liu Dong, as well as Wang Bofang, the tutor of the laboratory involved in the project, and several other graduate students.
Xiao Yuan has a full understanding and positioning of his own ability, and he considers himself an authority on the Linux system and the software that is about to be developed on it, so the content of the course is formulated by him.
However, how to teach these contents to make it easier for project team members to accept is not his forte, so in the implementation of the training, he made full use of the resources he could use, studied with Duan Yanyue and Liu Dong first, and formulated a preliminary training plan, and then discussed with his mother Yang Jingchen and Wang Bofang, repeatedly revised it, and finally determined it.
When the training work was on the right track, Xiao Yuan did not relax because he did not have to participate in specific training, he still had more important work to do, so during the month of training, his daily schedule was full, and in addition to class, almost all of his spare time was busy, and even the time to accompany Xia Jiuying was reduced a lot.
Xia Jiuying didn't complain about this, on the contrary, she was very supportive of Xiao Yuan's work, and often took the initiative to go to Xiao Yuan's office to find him, and then sat aside and quietly watched him busy, when he was tired, she added a cup of tea to him, helped him massage his shoulders and back, and relieved his fatigue, so Xiao Yuan was busy in this month, but he also lived the dream of a life like red sleeves and fragrance, which was very comfortable.
In this month's time, Xiao Yuan wanted to build the environment required for the official launch of the project, so that after the project training, the project team could quickly put into work without delaying the project progress due to programming environment problems.
The first week of the training, because it was only a theoretical study, Xiao Yuan installed seven Linux hosts in the artificial intelligence laboratory in this week, and it took Xiao Yuan three days to configure seven hosts, of which the main time was spent on the driver configuration of the hardware contained in these hosts, the reason why it took so much time was because Linux was in 99 years, the drivers for PC hardware were not particularly rich, Xiao Yuan needed to find the corresponding drivers from the network, It even needs to be modified and recompiled to make it more efficient to drive the hardware.
Therefore, when Xiao Yuan debugged all the drivers and the seven Linux hosts could operate normally, the utilization rate of the seven hosts for their hardware had reached a very high level, he wrote a program for this purpose, and did a test, and the same program was compiled and run on the Linux host he configured, and the running speed was nearly 50% higher than that of the windows98 host under the same configuration, this result was simply a miracle, so that the teachers and students in the laboratory who were present at the time, And the members of the project team were amazed for a long time.
After configuring the Linux host, Xiao Yuan installed the corresponding C++ compiler, debugger, and C/C++ basic development library on it, which did not take much time, and it only took one morning to complete it.
Next is the configuration of programming tools, in terms of programming tools, Xiao Yuan chose the vi he is most familiar with.
VI is an artifact-level text editor, is the UNIX system, and UNIX-like operating systems, such as Linux, or BSD on the standard, just like Notepad on Windows, has the widest user base, of course, Notepad is just a simple plain text editor, and VI in addition to the basic functions of a plain text editor, through its supported script extensions, the functions that can be achieved can be said to be almost unlimited, so it is said to be an artifact-level editor, Not an exaggeration.
The VI on the seven Linux hosts has been carefully configured by Xiao Yuan, although it looks the same as the VI that has not been configured, but the powerful functions behind it are comparable to VisualStudio under Windows, or even surpassed, and VI can have the same response speed as Notepad under the premise of ensuring its function, such a reality makes the graduate students who have been using VisualStudio to work in the laboratory are eager to try.
All this work took Xiao Yuan five days, and then he spent another two days writing a programming environment operation guide, and made it into the form of a wiki, temporarily stored on the seven Linux hosts, and all the software development documents of the open source community will be compiled and published in the form of a wiki in the future.
Wiki is a kind of free document, belongs to the product of the times, under the wiki mechanism, everyone on the network can participate in the editing and review of wiki documents, and can annotate the documents, the largest encyclopedia in the network in later generations Wikipedia is the most successful example of wiki document application, and the most successful wiki case in China, is Baidu Encyclopedia.
If the implementation is successful, then the Generica wiki will attract a large number of participants in a short period of time, and expand dramatically, and may even become the world's largest open source technical document library.
It took Xiao Yuan seven days to complete the construction of all the computer environments used for training, and seven days later, the training of the project team happened to be carried out in the practical operation link, and the seven hosts came in handy, and at this time, Xiao Yuan's work began to return to his office from the laboratory.
In the next time, what he wants to do is to build his ideal Linux distribution operating system - Feonix, and build a set of system building mechanisms and package management mechanisms on the basis of the Linux kernel.
In terms of system building mechanism, he chose a mechanism similar to the later Linux distribution Gentoo, which is different from ordinary Linux distributions, it only provides a minimal system compilation environment, and provides a set of powerful and flexible system configuration tools, through which users can have full control over the Linux system that will be installed on their own computers.
For Xiao Yuan, this kind of control is a kind of freedom, and compared with the purity of Gentoo, Xiao Yuan is more concerned about the inclusiveness of the Feonix distribution, that is, although the most basic installation method provided by the Feonix system is source code compilation, it does not exclude users from directly obtaining the compiled binary packages from the network.
In fact, Xiao Yuan's plan is to design a highly inclusive binary package management mechanism, which will combine the advantages of two very successful Linux package management mechanisms, the Debian-based DEB package and the Redhat-based RPM management mechanism, and be compatible with these two packages, so as to achieve maximum flexibility in the package management of the Feonix system.
Of course, this package management mechanism is only a plan at the moment, and he did not implement it immediately, but wrote it into the design outline of the feonix system.
Making a Linux distribution is a huge amount of system engineering, but fortunately, Xiao Yuan does not plan to complete all this work at once, he only needs to put forward the philosophy of the Feonix distribution, do the most basic system well, build the system framework, and then put it into the open source community.
He believes that hackers who agree with this concept will soon come and help him complete the construction of this distribution, which is only possible under the framework of open source software, that is, it is open enough to embrace all rivers and rivers to accomplish a great cause together, and for commercial closed-source software, this construction model is unthinkable.
The basic framework of feonix, Xiao Yuan did not spend too much time, it only took half a month to complete, which is inseparable from the large amount of work he originally did on his Thinkpad600, if there is no previous basic work, he wants to build a basic framework of a Linux distribution from scratch, I am afraid it will take not half a month, but several months.
In order to increase the initial attraction of Feonix, Xiao Yuan also established a project called Linux General Driver Design Architecture (General Linux Device Architecture, referred to as GLDA) based on the Feonix system platform, and put the source code of all the drivers of the Thinkpad600 that he has designed into this project to achieve the role of throwing bricks and stones.
After all these basic work is done, the training of the project development team is nearing the end, and at the end of the training of the project team, according to the plan, the internal version of the Xuanni open source community education network and the corresponding external version of the open source community that have been brewing for nearly half a year were launched at the same time.