AbstractThe aim of my project is to produce a documentation on how to build and maintain a stable and secure Linux Operating System. There are several
Or is it just the fact that Linux is Linux, being the kernel, and a distribution is just a *reference to the developer&apos
Some might differ and say all things should be free, but then again is anything really free? There is price to pay for anything that you do or aquir
The following documentation describes how a developer can use LFS to build his very own custom Operating System, to achieve the goals previously discu
Chapter 3Research & Common ScenariosBeginning ResearchIn order to have a good feel of what I should be building, and what users expect out of an
ScenariosI have created these scenarios, which are based on the questions answered by users. They reflect the users' opinions
Scenario 2A user is unsatisfied with how viruses and spy ware infest the OS, and lead to data corruption and data loss. The user also is afraid that t
a single file, and stores it in a centralized website. All the user has to do then is frequently visit this single website to check if there are upd
Chapter 4The procedure to building an OSThe objective here is not only to create a Linux OS, but also to learn about the inner workings of Linu
• Slackware gives the ability to have a minimal install of the Operating System, reducing bloat.2) Creating the partition & do
5) Setting up the BootscriptsWhen done, I can install the bootscripts that are needed to boot the Operating System. Afterwards, I will reboot into my
ContentsChapter 1 – Introduction 03 Linux: What is an OS ? 03Chapter 2 - The Problem 08 What is in a Distribution? 09Chapter 3 - Researc
Chapter 5The Building ProcessI will now enter the building stage. This section is where the actual work for building XushiOS begins. I will discuss ea
Stage 1The Preparation Host OS: Slackware Working Shell: bashInstalling Slackware was an easy task which took less than an hour. Coincidently, it
BashBash is the GNU version of the Unix shell, or command prompt. For my project, I use Eterm23, a graphical front end to bash, so that i can open sev
Stage 2Creating the partition & downloading the sourceHard disk space is needed to build the system on. I have a 10 Giga
All i have left is to mount my new partition into a folder, /mnt/lfs, so that i can easily access it from within my host OS.mount /dev/hda1 /mnt/lfsWh
Stage 3Installing the 'basic development suite' and the C compilerThe 'toolchain' is a set of programs of which
Stage 4Entering the new system, and installing the base OSThe list of programs I had to install is very large. The guide on
ldconfigto update the library tree. Or when installing lilo (the linux loader), one would need to typelilobefore rebooting.Example 1To install a simpl
Stage 5Setting up the BootscriptsAt this stage, the compilation is complete. I now have a base Operating System that i can use.
Note: The failure shown above refers to the sound mixer, which I can not find the sound card. I will enable it the next time I recompile the kernel.29
Chapter 1IntroductionLinux: What Is an Operating System ?3An Operating System is a collection of programs and utilities, that manage the fun
Stage 6BLFS – Installing the user applications.By now, After three weeks of compiling well over 700,000 files, i have a working bootable Linux
Pre-compiled PackagesHaving pre-compiled packages is a good step-forwards for Linux. Up till a few years back, installing programs was
last month. I did not have enough time to test it, and see how truly stable and efficient it is. However, I did choose to use Slackware's pac
Configuring, Part 2 – AMP & The Kernel.There are two very important programs I need to talk about for my project. AMP (Apache, MySQL, PHP)
http://slackware.com/pb/searchpkg.p...amp;string=diffmodule- init- tools (currently version 3.1)http://slackware.com/pb/searchpkg.p...ing=module- init
Currently, the latest kernel is 2.6.11.7. Download it from kernel.org. Thedirect link iscode:wget http://kernel.org/pub/linux/kernel/...6.11.7.tar.
To start from scratch, typecode:make menuconfig(if you're in a command line, or)code:make xconfig(if you are running from a graphical interface
have some green tea, and wait till its done.. That's itWhen you're all done, just reboot. Congratulations :)- - - - - - - - - - - - - - - -
AMP – Apache, MySQL, PHPAMP is divided into three sections.• Apache – An HTTP server• MySQL – A database management system, in our case, used to store
enter==== = = = = = = = = = = = = = = = = =MySQL 4.1.11 ==== = = = = = = = = = = = = = = = = =download from linuxpackages.net==== = = = = = = = = =co
supporting systems running on Motorola, SPARC, RISC, and various other processors. Being free and open sourced, thousands of programme
chown -R mysql.mysql /var/lib/mysqlinstall a database from user mysql==== = = = = = = = =code:su - mysqlmysql_installdbexitcreate a my.cnf file==== =
http://dev.mysql.com/downloads/other/mysqlcc.htmlunpack it==== = = = = = = = =code:tar xvfz mysqlcc-0.9.4-linux-glibc23tar.gzrun it==== = = = = = = =
installpkg apache2-2.0.53-i486-2spi.tgzedit apache config file==== = = = = = = = = = = =code:pico /etc/apache2/httpd.confYou don't really have t
configure php==== = = = = = = = = = =edit httpd.conf and make sure this line is at the bottom of the file==== = = = = = = = = =code:pico /etc/apache
you should see a website. Good.let's test php==== = = = = = = = = = = =code:cd /var/www/htdocscreate a file called test.php and add the following
uncomment the line ;extension=mysql.so by removing the ';'==== = = = = = = = =code:extension=mysql.sorestart apache==== = = = = = = = =code
Stage 7Testing & ConfigurationThis is a “last minute” stage, where I double check all my settings, make sure the scripts are working, and fix any
Security model of filesystem: The security model of the UNIX file system is affected through ‘chmod’ chmod is a utility that chang
Stage 8Building a home. Advertising my OSAt this stage, my work is done! I have a ready built Operating System, with a user interface, and a few appli
However, my work is still not 'complete' enough for me to be satisfied enough to distribute it yet. I sill would like the opportunity to sta
insecurity. Being both a famous and buggy Operating System, it has attracted a large variety of viruses and spyware programs that further lead to inst
Chapter 6The FutureI see three outcomes of this project• Knowledge• Custom LiveCD and Installer• Custom Linux Operating Systems for laptops.KnowledgeT
Custom Linux OSIf the project is successful enough, I could easily convince companies such as HP, Dell, and other manufacturers or ret
Chapter 7ConclusionThis has been a very interesting and challenging project. I have gained much knowledge on the technic
Appendix IReferencesOperating SystemsImage taken fromhttp://www.webopedia.com/TERM/o/operating_system.htmlThe Linux OSThinkquest - http://library.thin
Compiling applications from sourceStart Linux - http://www.start-linux.com/articles/article_171.phpGeocities, Tips for Linux -http://www.geocities.com
Appendix IIUser's answers to the questions asked for my scenarios on Chapter 3, Page 13.User AAnswer for Question 1)Stability , Security and good
Although Linux in my opinion has by far a better philosophy tosoftware development than Windows o/s it will take metime to think more like a Linux use
User BAnswer for Question 1) I expect my operating system to be compatible with everything I buy with the intention to use with that OS. Stability is
User CAnswer for Question 1) I expect it to be a stable effective way to make use of my hardware with a variety of options to customise to my tastes f
Appendix IIIImages of Website for page 48XushiOS main blog site, showing the latest information.XushiOS website logo59
But could you agree that it sometimes causes problems? For example, a difference between each distribution is in the path they choose to install appli
The Product:The user interface, with a shell and an Internet browserThe next page shows snapshots of XushiOS web page.• XushiOS Main page• XushiOS Cha
61
Thank you very much, and I hope you found my project interesting.Samir GreadlyWord Count: 9,920 wordsCreated with OpenOffice.org Beta 2 (build 1.9.95)
masonm“As for standards, that almost flies in the face of what Linux is all about: choice. Everyone has the freedom to choose exactly what they want
Chapter 2The ProblemOperating Systems have evolved quite a lot over time. However, they are not perfect, and still cause problems some of the times. T
What is in a Distribution?The main question I would have to ask myself is, what is so different between XushiOS, Slackware, and any other Linux distri
Kommentare zu diesen Handbüchern