SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
1	
  
COMP3500:	
  Project	
  2	
  How	
  to	
  install	
  and	
  compile	
  OS/161?	
  
	
  README	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
After	
  installed	
  VirtualBox	
  on	
  my	
  Windows	
  machine,	
  I	
  installed	
  CentOS	
  6.5	
  on	
  VirtualBox.	
  Next,	
  I	
  
successfully	
  installed	
  cs161-­‐binutils-­‐1.4	
  and	
  cs161-­‐gcc-­‐1.5.tar.	
  Unfortunately,	
  I	
  encountered	
  an	
  
error	
  "configure:	
  error:	
  no	
  termcap	
  library	
  found".	
  As	
  Dustin	
  suggested,	
  installing	
  the	
  missing	
  
package	
  can	
  solve	
  this	
  problem.	
  Please	
  use	
  the	
  following	
  command	
  to	
  install	
  the	
  package:	
  
yum install ncurses-devel
You	
  don't	
  have	
  to	
  install	
  CentOS	
  6.5,	
  because	
  I	
  believe	
  that	
  you	
  can	
  install	
  all	
  the	
  OS161	
  tools	
  on	
  
CentOS	
  7.	
  You	
  don't	
  have	
  to	
  install	
  VirtualBox	
  neither.	
  Nevertheless,	
  if	
  you	
  decide	
  to	
  install	
  
CentOS	
  on	
  VirtualBox,	
  please	
  refer	
  to	
  my	
  installation	
  log	
  below.	
  
1.	
  Download	
  CentOS	
  6.5	
  CD	
  ISO	
  image	
  file	
  
Tested	
  on	
  Windows7	
  http://archive.kernel.org/centos-
vault/6.5/isos/i386/
Tested	
  on	
  McOS http://getintopc.com/softwares/operating-
systems/centos-6-5-free-download/
2.	
  Download	
  VirtualBox	
  
https://www.virtualbox.org/wiki/Downloads
	
  
3.	
  Installation	
  of	
  CentOS	
  in	
  VirtualBox	
  
http://teaching.idallen.com/cst8207/14f/notes/000_centos_virtualb
ox_install.html
	
  
4.	
  Install	
  CentOS	
  
4.1	
  	
  Important!	
  	
  When	
  power	
  on	
  (boot)	
  your	
  virtual	
  machine,	
  you	
  should	
  see	
  the	
  CentOS	
  
installation	
  screen.	
  You	
  must	
  click	
  in	
  the	
  window	
  and	
  use	
  the	
  arrow	
  keys	
  to	
  stop	
  the	
  
Automatic	
  boot.	
  
4.2	
  	
  Important!	
  	
  After	
  the	
  installation	
  is	
  down,	
  please	
  reconfigure	
  the	
  Boot	
  Order.	
  Hard	
  
disk	
  first	
  followed	
  by	
  CD/DVD.	
  
5.	
  Create	
  a	
  user	
  account	
  in	
  CentOS	
  and	
  Login	
  CentOS	
  using	
  your	
  newly	
  created	
  account	
  
	
  
6.	
  Become	
  a	
  root	
  using	
  $su	
  and	
  Install:	
  
# yum -y install gcc
# yum -y install gcc-c++
# yum -y install vim-enhanced
# yum -y install emacs
# yum -y install gdb
# yum -y install ethtool
# yum -y install hdparm
# yum -y install pciutils
# yum -y install file
# yum install ncurses-devel
	
  	
  Important!	
  	
  If	
  you	
  don’t	
  install	
  the	
  ncurses-devel	
  package,	
  you	
  will	
  receive	
  an	
  
error	
  message	
  when	
  you	
  install	
  cs161-gdb-1.5 (see	
  also	
  step	
  10).	
  
	
  
2	
  
7.	
  Download	
  OS161	
  tarballs	
  
7.1	
  Create	
  the	
  cs161 directory	
  in	
  your	
  home	
  directory	
  
7.2	
  Download	
  the	
  following	
  tarballs	
  from	
  Canvas	
  and	
  save	
  them	
  in	
  your	
  cs161	
  directory	
  
	
   cs161-binutils-1.4.tar
cs161-gcc-1.5.tar	
  
	
   cs161-gdb-1.5.tar
sys161-1.14.tar.gz
os161-1.10.tar
8.	
  Install cs161-binutils-1.4	
  
cd cs161
tar vfzx cs161-binutils-1.4.tar
cd cs161-binutils-1.4
./toolbuild.sh
9	
  Build	
  the	
  cross	
  compiler	
  
cd ~/cs161
tar vfxz cs161-gcc-1.5.tar
cd cs161-gcc-1.5
./toolbuild.sh
3	
  
	
  
10.	
  Build	
  the	
  special	
  gdb	
  (works)	
  
cd ~/cs161
tar vfxz cs161-gdb-1.5.tar
cd cs161-gdb-1.5
./toolbuild.sh
Error Message: configure: error: no termcap library found	
  
Install	
  the	
  missing ncurses-devel package:	
  
4	
  
Successfully	
  installed	
  cs161-gdb-1.5
	
  
	
  
11.	
  Build	
  the	
  sys161	
  emulator	
  	
  
cd ~/cs161
tar vfxz sys161-1.14.tar.gz
cd sys161-1.14
./configure mipseb
make
make install
	
  
	
  
12.	
  Install	
  os161
	
   12.1	
  Unpack	
  os161-1.10.tar 	
  
	
   	
  	
  	
  	
  	
  	
  tar xvfz os161-1.10.tar.gz	
  
	
  
12.2	
  Configure	
  your	
  tree	
  for	
  the	
  machine	
  on	
  which	
  you	
  are	
  working.	
  We	
  assume	
  that	
  
you	
  work	
  in	
  the	
  directory ~/cs161.  Please	
  note	
  that	
  if	
  you	
  intend	
  to	
  work	
  in	
  a	
  
directory	
  that's	
  not	
  ~/cs161 (which	
  you	
  will	
  be	
  doing	
  when	
  you	
  test	
  your	
  later	
  
submissions),	
  you	
  will	
  have	
  to	
  use	
  the  –ostree option	
  to	
  specify	
  a	
  directory	
  in	
  which	
  
you	
  are	
  working.  ./configure –help explains	
  the	
  other	
  options.	
  
cd ~/cs161/src
./configure
	
   	
  
	
   12.3	
  Configure	
  a	
  kernel	
  named	
  ASST0.	
  
cd ~/cs161/src/kern/conf
./config ASST0
	
  12.4	
  Build	
  the	
  ASST0	
  kernel.	
  (cs161/src/compile).	
  Use	
  ‘echo $PATH’	
  to	
  check	
  
your	
  $PATH.	
  
5	
  
export PATH=~/cs161/bin:$PATH
cd ../compile/ASST0
make depend
make
	
   12.5	
  Install	
  the	
  ASST0	
  kernel.	
  
% make install
	
   	
  
	
   12.6	
  Now	
  also	
  build	
  the	
  user	
  level	
  utilties.	
  
cd ~/cs161/src
make
13.	
  RUN	
  OS161:	
  Change	
  into	
  your	
  root	
  directory.	
  
%cd ~/cs161/root
Run	
  the	
  machine	
  simulator	
  on	
  your	
  operating	
  system.	
  
%./sys161 kernel
	
  
Important!	
  	
  If	
  you	
  receive	
  the	
  following	
  error	
  message	
  “Sys161: Cannot open
config file sys161.conf”,	
  you	
  should	
  download	
  the	
  file	
  sys161.conf from	
  
Canvas	
  and	
  place	
  it	
  in	
  your	
  OS/161	
  root	
  directory	
  (~/cs161/root).
If	
  you	
  successfully	
  run	
  os161,	
  you	
  will	
  have:	
  
6	
  
	
  
At	
  the	
  prompt,	
  type	
  p /sbin/poweroff <return>. This	
  tells	
  the	
  kernel	
  to	
  run	
  the
"poweroff" program	
  that	
  shuts	
  the	
  system	
  down.	
  
	
  

Contenu connexe

Tendances

Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basicsManav Prasad
 
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)RuggedBoardGroup
 
Debugging Applications with GNU Debugger
Debugging Applications with GNU DebuggerDebugging Applications with GNU Debugger
Debugging Applications with GNU DebuggerPriyank Kapadia
 
Overview of c++
Overview of c++Overview of c++
Overview of c++geeeeeet
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structureTeja Bheemanapally
 
Share the Experience of Using Embedded Development Board
Share the Experience of Using Embedded Development BoardShare the Experience of Using Embedded Development Board
Share the Experience of Using Embedded Development BoardJian-Hong Pan
 
The Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOsThe Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOsDivye Kapoor
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbookWave Digitech
 
Compilación del kernel en Linux Mint 20.2 "Uma" 2021
Compilación del kernel en Linux Mint 20.2 "Uma" 2021Compilación del kernel en Linux Mint 20.2 "Uma" 2021
Compilación del kernel en Linux Mint 20.2 "Uma" 2021revenge3250
 
SULTHAN's - C Programming Language notes
SULTHAN's - C Programming Language notesSULTHAN's - C Programming Language notes
SULTHAN's - C Programming Language notesSULTHAN BASHA
 
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentBeyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentZach Pfeffer
 
Insecure coding in C (and C++)
Insecure coding in C (and C++)Insecure coding in C (and C++)
Insecure coding in C (and C++)Olve Maudal
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examplesabclearnn
 

Tendances (20)

Unix shell scripting basics
Unix shell scripting basicsUnix shell scripting basics
Unix shell scripting basics
 
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
 
1z0 808[1]
1z0 808[1]1z0 808[1]
1z0 808[1]
 
How A Compiler Works: GNU Toolchain
How A Compiler Works: GNU ToolchainHow A Compiler Works: GNU Toolchain
How A Compiler Works: GNU Toolchain
 
G++ & GCC
G++ & GCCG++ & GCC
G++ & GCC
 
Debugging Applications with GNU Debugger
Debugging Applications with GNU DebuggerDebugging Applications with GNU Debugger
Debugging Applications with GNU Debugger
 
Overview of c++
Overview of c++Overview of c++
Overview of c++
 
Compiler Questions
Compiler QuestionsCompiler Questions
Compiler Questions
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
 
Linux boot process
Linux boot processLinux boot process
Linux boot process
 
Share the Experience of Using Embedded Development Board
Share the Experience of Using Embedded Development BoardShare the Experience of Using Embedded Development Board
Share the Experience of Using Embedded Development Board
 
The Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOsThe Linux Kernel Implementation of Pipes and FIFOs
The Linux Kernel Implementation of Pipes and FIFOs
 
Useful Linux and Unix commands handbook
Useful Linux and Unix commands handbookUseful Linux and Unix commands handbook
Useful Linux and Unix commands handbook
 
Compilación del kernel en Linux Mint 20.2 "Uma" 2021
Compilación del kernel en Linux Mint 20.2 "Uma" 2021Compilación del kernel en Linux Mint 20.2 "Uma" 2021
Compilación del kernel en Linux Mint 20.2 "Uma" 2021
 
SULTHAN's - C Programming Language notes
SULTHAN's - C Programming Language notesSULTHAN's - C Programming Language notes
SULTHAN's - C Programming Language notes
 
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentBeyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
 
Insecure coding in C (and C++)
Insecure coding in C (and C++)Insecure coding in C (and C++)
Insecure coding in C (and C++)
 
Introduction to c#
Introduction to c#Introduction to c#
Introduction to c#
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 

En vedette

P#1 stream of praise
P#1 stream of praiseP#1 stream of praise
P#1 stream of praiseXiao Qin
 
How To Add System Call In Ubuntu OS
How To Add System Call In Ubuntu OSHow To Add System Call In Ubuntu OS
How To Add System Call In Ubuntu OSPratik Tambekar
 
Nas'12 overview
Nas'12 overviewNas'12 overview
Nas'12 overviewXiao Qin
 
An Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive ApplicationsAn Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive ApplicationsXiao Qin
 
Reliability Analysis for an Energy-Aware RAID System
Reliability Analysis for an Energy-Aware RAID SystemReliability Analysis for an Energy-Aware RAID System
Reliability Analysis for an Energy-Aware RAID SystemXiao Qin
 
How to do research?
How to do research?How to do research?
How to do research?Xiao Qin
 
COMP2710 Software Construction: header files
COMP2710 Software Construction: header filesCOMP2710 Software Construction: header files
COMP2710 Software Construction: header filesXiao Qin
 
IPCCC 2012 Conference Program Overview
IPCCC 2012 Conference Program OverviewIPCCC 2012 Conference Program Overview
IPCCC 2012 Conference Program OverviewXiao Qin
 
OS/161 Overview
OS/161 OverviewOS/161 Overview
OS/161 OverviewXiao Qin
 
Energy Efficient Data Storage Systems
Energy Efficient Data Storage SystemsEnergy Efficient Data Storage Systems
Energy Efficient Data Storage SystemsXiao Qin
 
Why Major in Computer Science and Software Engineering at Auburn University?
Why Major in Computer Science and Software Engineering at Auburn University?Why Major in Computer Science and Software Engineering at Auburn University?
Why Major in Computer Science and Software Engineering at Auburn University?Xiao Qin
 
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014Xiao Qin
 
Common grammar mistakes
Common grammar mistakesCommon grammar mistakes
Common grammar mistakesXiao Qin
 
Surviving a group project
Surviving a group projectSurviving a group project
Surviving a group projectXiao Qin
 
COMP2710: Software Construction - Linked list exercises
COMP2710: Software Construction - Linked list exercisesCOMP2710: Software Construction - Linked list exercises
COMP2710: Software Construction - Linked list exercisesXiao Qin
 
Data center specific thermal and energy saving techniques
Data center specific thermal and energy saving techniquesData center specific thermal and energy saving techniques
Data center specific thermal and energy saving techniquesXiao Qin
 
Understanding what our customer wants-slideshare
Understanding what our customer wants-slideshareUnderstanding what our customer wants-slideshare
Understanding what our customer wants-slideshareXiao Qin
 
Performance Evaluation of Traditional Caching Policies on a Large System with...
Performance Evaluation of Traditional Caching Policies on a Large System with...Performance Evaluation of Traditional Caching Policies on a Large System with...
Performance Evaluation of Traditional Caching Policies on a Large System with...Xiao Qin
 
HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...
HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...
HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...Xiao Qin
 

En vedette (19)

P#1 stream of praise
P#1 stream of praiseP#1 stream of praise
P#1 stream of praise
 
How To Add System Call In Ubuntu OS
How To Add System Call In Ubuntu OSHow To Add System Call In Ubuntu OS
How To Add System Call In Ubuntu OS
 
Nas'12 overview
Nas'12 overviewNas'12 overview
Nas'12 overview
 
An Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive ApplicationsAn Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive Applications
 
Reliability Analysis for an Energy-Aware RAID System
Reliability Analysis for an Energy-Aware RAID SystemReliability Analysis for an Energy-Aware RAID System
Reliability Analysis for an Energy-Aware RAID System
 
How to do research?
How to do research?How to do research?
How to do research?
 
COMP2710 Software Construction: header files
COMP2710 Software Construction: header filesCOMP2710 Software Construction: header files
COMP2710 Software Construction: header files
 
IPCCC 2012 Conference Program Overview
IPCCC 2012 Conference Program OverviewIPCCC 2012 Conference Program Overview
IPCCC 2012 Conference Program Overview
 
OS/161 Overview
OS/161 OverviewOS/161 Overview
OS/161 Overview
 
Energy Efficient Data Storage Systems
Energy Efficient Data Storage SystemsEnergy Efficient Data Storage Systems
Energy Efficient Data Storage Systems
 
Why Major in Computer Science and Software Engineering at Auburn University?
Why Major in Computer Science and Software Engineering at Auburn University?Why Major in Computer Science and Software Engineering at Auburn University?
Why Major in Computer Science and Software Engineering at Auburn University?
 
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014
 
Common grammar mistakes
Common grammar mistakesCommon grammar mistakes
Common grammar mistakes
 
Surviving a group project
Surviving a group projectSurviving a group project
Surviving a group project
 
COMP2710: Software Construction - Linked list exercises
COMP2710: Software Construction - Linked list exercisesCOMP2710: Software Construction - Linked list exercises
COMP2710: Software Construction - Linked list exercises
 
Data center specific thermal and energy saving techniques
Data center specific thermal and energy saving techniquesData center specific thermal and energy saving techniques
Data center specific thermal and energy saving techniques
 
Understanding what our customer wants-slideshare
Understanding what our customer wants-slideshareUnderstanding what our customer wants-slideshare
Understanding what our customer wants-slideshare
 
Performance Evaluation of Traditional Caching Policies on a Large System with...
Performance Evaluation of Traditional Caching Policies on a Large System with...Performance Evaluation of Traditional Caching Policies on a Large System with...
Performance Evaluation of Traditional Caching Policies on a Large System with...
 
HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...
HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...
HDFS-HC2: Analysis of Data Placement Strategy based on Computing Power of Nod...
 

Similaire à How to Install and Compile OS/161 on CentOS

Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to KernelMuhammad Bilal
 
How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012Chukwuma Onyeije, MD, FACOG
 
Howtoinstallarchlinuxtousb final-120610172253-phpapp01
Howtoinstallarchlinuxtousb final-120610172253-phpapp01Howtoinstallarchlinuxtousb final-120610172253-phpapp01
Howtoinstallarchlinuxtousb final-120610172253-phpapp01decenttr
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vmRon Morgan
 
Virtual box installation
Virtual box installationVirtual box installation
Virtual box installationNiranjan Pandey
 
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by AaronBuild Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by AaronLifeng (Aaron) Han
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14kmsa
 
Snort296x centos6x 2
Snort296x centos6x 2Snort296x centos6x 2
Snort296x centos6x 2Trinh Tuan
 
Running virtual box from the linux command line
Running virtual box from the linux command lineRunning virtual box from the linux command line
Running virtual box from the linux command lineEric Javier Espino Man
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwaregeekswing
 
Installation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling firstInstallation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling firstJawad Khan
 
Ci For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or GalCi For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or GalChad Woolley
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaSahil Davawala
 

Similaire à How to Install and Compile OS/161 on CentOS (20)

Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
 
How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012
 
Howtoinstallarchlinuxtousb final-120610172253-phpapp01
Howtoinstallarchlinuxtousb final-120610172253-phpapp01Howtoinstallarchlinuxtousb final-120610172253-phpapp01
Howtoinstallarchlinuxtousb final-120610172253-phpapp01
 
Linux
LinuxLinux
Linux
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC  on linux vmInstallation of oracle 12c RAC  on linux vm
Installation of oracle 12c RAC on linux vm
 
Virtual box installation
Virtual box installationVirtual box installation
Virtual box installation
 
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by AaronBuild Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
Build Moses on Ubuntu (64-bit) in VirtualBox: recorded by Aaron
 
Asterisknow Tutorial
Asterisknow TutorialAsterisknow Tutorial
Asterisknow Tutorial
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
 
Install guide
Install guideInstall guide
Install guide
 
Install guide
Install guideInstall guide
Install guide
 
Snort296x centos6x 2
Snort296x centos6x 2Snort296x centos6x 2
Snort296x centos6x 2
 
Running virtual box from the linux command line
Running virtual box from the linux command lineRunning virtual box from the linux command line
Running virtual box from the linux command line
 
OpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 WorkshopOpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 Workshop
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
 
Installation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling firstInstallation of ubuntu, ns3 and compiling first
Installation of ubuntu, ns3 and compiling first
 
Ci For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or GalCi For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or Gal
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
 

Plus de Xiao Qin

How to apply for internship positions?
How to apply for internship positions?How to apply for internship positions?
How to apply for internship positions?Xiao Qin
 
How to write research papers? Version 5.0
How to write research papers? Version 5.0How to write research papers? Version 5.0
How to write research papers? Version 5.0Xiao Qin
 
Making a competitive nsf career proposal: Part 2 Worksheet
Making a competitive nsf career proposal: Part 2 WorksheetMaking a competitive nsf career proposal: Part 2 Worksheet
Making a competitive nsf career proposal: Part 2 WorksheetXiao Qin
 
Making a competitive nsf career proposal: Part 1 Tips
Making a competitive nsf career proposal: Part 1 TipsMaking a competitive nsf career proposal: Part 1 Tips
Making a competitive nsf career proposal: Part 1 TipsXiao Qin
 
Auburn csse faculty orientation
Auburn csse faculty orientationAuburn csse faculty orientation
Auburn csse faculty orientationXiao Qin
 
Auburn CSSE graduate student orientation
Auburn CSSE graduate student orientationAuburn CSSE graduate student orientation
Auburn CSSE graduate student orientationXiao Qin
 
CSSE Graduate Programs Committee: Progress Report
CSSE Graduate Programs Committee: Progress ReportCSSE Graduate Programs Committee: Progress Report
CSSE Graduate Programs Committee: Progress ReportXiao Qin
 
Reliability Modeling and Analysis of Energy-Efficient Storage Systems
Reliability Modeling and Analysis of Energy-Efficient Storage SystemsReliability Modeling and Analysis of Energy-Efficient Storage Systems
Reliability Modeling and Analysis of Energy-Efficient Storage SystemsXiao Qin
 

Plus de Xiao Qin (8)

How to apply for internship positions?
How to apply for internship positions?How to apply for internship positions?
How to apply for internship positions?
 
How to write research papers? Version 5.0
How to write research papers? Version 5.0How to write research papers? Version 5.0
How to write research papers? Version 5.0
 
Making a competitive nsf career proposal: Part 2 Worksheet
Making a competitive nsf career proposal: Part 2 WorksheetMaking a competitive nsf career proposal: Part 2 Worksheet
Making a competitive nsf career proposal: Part 2 Worksheet
 
Making a competitive nsf career proposal: Part 1 Tips
Making a competitive nsf career proposal: Part 1 TipsMaking a competitive nsf career proposal: Part 1 Tips
Making a competitive nsf career proposal: Part 1 Tips
 
Auburn csse faculty orientation
Auburn csse faculty orientationAuburn csse faculty orientation
Auburn csse faculty orientation
 
Auburn CSSE graduate student orientation
Auburn CSSE graduate student orientationAuburn CSSE graduate student orientation
Auburn CSSE graduate student orientation
 
CSSE Graduate Programs Committee: Progress Report
CSSE Graduate Programs Committee: Progress ReportCSSE Graduate Programs Committee: Progress Report
CSSE Graduate Programs Committee: Progress Report
 
Reliability Modeling and Analysis of Energy-Efficient Storage Systems
Reliability Modeling and Analysis of Energy-Efficient Storage SystemsReliability Modeling and Analysis of Energy-Efficient Storage Systems
Reliability Modeling and Analysis of Energy-Efficient Storage Systems
 

Dernier

MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Dernier (20)

MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

How to Install and Compile OS/161 on CentOS

  • 1. 1   COMP3500:  Project  2  How  to  install  and  compile  OS/161?    README                           After  installed  VirtualBox  on  my  Windows  machine,  I  installed  CentOS  6.5  on  VirtualBox.  Next,  I   successfully  installed  cs161-­‐binutils-­‐1.4  and  cs161-­‐gcc-­‐1.5.tar.  Unfortunately,  I  encountered  an   error  "configure:  error:  no  termcap  library  found".  As  Dustin  suggested,  installing  the  missing   package  can  solve  this  problem.  Please  use  the  following  command  to  install  the  package:   yum install ncurses-devel You  don't  have  to  install  CentOS  6.5,  because  I  believe  that  you  can  install  all  the  OS161  tools  on   CentOS  7.  You  don't  have  to  install  VirtualBox  neither.  Nevertheless,  if  you  decide  to  install   CentOS  on  VirtualBox,  please  refer  to  my  installation  log  below.   1.  Download  CentOS  6.5  CD  ISO  image  file   Tested  on  Windows7  http://archive.kernel.org/centos- vault/6.5/isos/i386/ Tested  on  McOS http://getintopc.com/softwares/operating- systems/centos-6-5-free-download/ 2.  Download  VirtualBox   https://www.virtualbox.org/wiki/Downloads   3.  Installation  of  CentOS  in  VirtualBox   http://teaching.idallen.com/cst8207/14f/notes/000_centos_virtualb ox_install.html   4.  Install  CentOS   4.1    Important!    When  power  on  (boot)  your  virtual  machine,  you  should  see  the  CentOS   installation  screen.  You  must  click  in  the  window  and  use  the  arrow  keys  to  stop  the   Automatic  boot.   4.2    Important!    After  the  installation  is  down,  please  reconfigure  the  Boot  Order.  Hard   disk  first  followed  by  CD/DVD.   5.  Create  a  user  account  in  CentOS  and  Login  CentOS  using  your  newly  created  account     6.  Become  a  root  using  $su  and  Install:   # yum -y install gcc # yum -y install gcc-c++ # yum -y install vim-enhanced # yum -y install emacs # yum -y install gdb # yum -y install ethtool # yum -y install hdparm # yum -y install pciutils # yum -y install file # yum install ncurses-devel    Important!    If  you  don’t  install  the  ncurses-devel  package,  you  will  receive  an   error  message  when  you  install  cs161-gdb-1.5 (see  also  step  10).    
  • 2. 2   7.  Download  OS161  tarballs   7.1  Create  the  cs161 directory  in  your  home  directory   7.2  Download  the  following  tarballs  from  Canvas  and  save  them  in  your  cs161  directory     cs161-binutils-1.4.tar cs161-gcc-1.5.tar     cs161-gdb-1.5.tar sys161-1.14.tar.gz os161-1.10.tar 8.  Install cs161-binutils-1.4   cd cs161 tar vfzx cs161-binutils-1.4.tar cd cs161-binutils-1.4 ./toolbuild.sh 9  Build  the  cross  compiler   cd ~/cs161 tar vfxz cs161-gcc-1.5.tar cd cs161-gcc-1.5 ./toolbuild.sh
  • 3. 3     10.  Build  the  special  gdb  (works)   cd ~/cs161 tar vfxz cs161-gdb-1.5.tar cd cs161-gdb-1.5 ./toolbuild.sh Error Message: configure: error: no termcap library found   Install  the  missing ncurses-devel package:  
  • 4. 4   Successfully  installed  cs161-gdb-1.5     11.  Build  the  sys161  emulator     cd ~/cs161 tar vfxz sys161-1.14.tar.gz cd sys161-1.14 ./configure mipseb make make install     12.  Install  os161   12.1  Unpack  os161-1.10.tar                tar xvfz os161-1.10.tar.gz     12.2  Configure  your  tree  for  the  machine  on  which  you  are  working.  We  assume  that   you  work  in  the  directory ~/cs161.  Please  note  that  if  you  intend  to  work  in  a   directory  that's  not  ~/cs161 (which  you  will  be  doing  when  you  test  your  later   submissions),  you  will  have  to  use  the  –ostree option  to  specify  a  directory  in  which   you  are  working.  ./configure –help explains  the  other  options.   cd ~/cs161/src ./configure       12.3  Configure  a  kernel  named  ASST0.   cd ~/cs161/src/kern/conf ./config ASST0  12.4  Build  the  ASST0  kernel.  (cs161/src/compile).  Use  ‘echo $PATH’  to  check   your  $PATH.  
  • 5. 5   export PATH=~/cs161/bin:$PATH cd ../compile/ASST0 make depend make   12.5  Install  the  ASST0  kernel.   % make install       12.6  Now  also  build  the  user  level  utilties.   cd ~/cs161/src make 13.  RUN  OS161:  Change  into  your  root  directory.   %cd ~/cs161/root Run  the  machine  simulator  on  your  operating  system.   %./sys161 kernel   Important!    If  you  receive  the  following  error  message  “Sys161: Cannot open config file sys161.conf”,  you  should  download  the  file  sys161.conf from   Canvas  and  place  it  in  your  OS/161  root  directory  (~/cs161/root). If  you  successfully  run  os161,  you  will  have:  
  • 6. 6     At  the  prompt,  type  p /sbin/poweroff <return>. This  tells  the  kernel  to  run  the "poweroff" program  that  shuts  the  system  down.