SlideShare a Scribd company logo
1 of 35
Introduction to Centos

          By
  Mohd Yasin Abd Karim
    yasin@yasin.my
Topics
•   Overview
•   Using Centos
•   Administration
•   Networking
Overview
• Is not associated by Red Hat Inc.
• Centos takes freely available Red Hat
  Enterprise Linux source code
• A set of packages and ISO images for
  installing centos or running it as live CD
• Freely distributed without paying
  subscription fees
• Doesn’t achieve 100% compatibility with
  RHEL
Stepping Stone to RHEL
•   As learning tools to become familiar
•   The Backing of a Major Linux Vendor
•   Technical Support
•   Certified Hardware and Software
•   Timely Security patches and Updates
•   Certification and Training
Installation
• Media – Centos installation DVD
• PC
  – A Pentium class PC ( > 400MHz)
  – 128Mb RAM(text), 512MB RAM(GUI)
• Disk Space
  – Depending on packages
  – 1.5GB to 10GB
• Keyboard & Monitor
Begin Installation
• Insert DVD
• Start your Computer
• Start the Boot Procedure – Press Enter
  – Media Check
  – Continue
  – Choose Language
  – Choose keyboard
  – Choose Fresh Install
Begin Installation
• Choose your partioning Stratetgy
• Review and Modify partioning and Modify
  Partioning Layout
• Configure Boot Loader
• Change Device
• Set Hostname
• Choose a Time Zone
Begin Installation
•   Set Root Password
•   Install Classes
•   Customise categories
•   About Install
•   Finish Installing
Running Centos Firstboot
•   Firewall – allow or deny access
•   SELinux – additional layer security
•   Date and Time
•   Create User
•   Sound Card
•   Additional CDs
•   Get Updates
Getting Started With Desktop
•   Checking out Your Home Folder
•   Open With
•   Side panel
•   Background
•   Organise your Work – move, delete, rename
•   Minimize
•   Maximize
•   Close
Getting Started With Desktop
•   Change Background
•   Choose Browser and Others Apps
•   Add a Screensaver
•   Change the theme
•   Configure your Panel
•   Workspaces
Using Linux Command
• Shell is command line interpreter
• The shell is powerful, complex
id
• To find out information about your identity,
  use the id command as follows:
• $ id
uid=500(timothy) gid=500(timothy)
  groups=10(wheel),100(users),500(timothy
  )
context=user_u:system_r:unconfined_t
who
• You can see information about your
  current login session by using the who
  command.
$ who -u -m -H
• NAME LINE TIME IDLE PID COMMENT
• timothy pts/1 2009-04-02 14:12 . 7264
  (:0.0)
pwd
• To find out what your current directory is,
  type the pwd command:
• $ pwd
• /usr/bin
$HOME
• To find out the name of your home
  directory, type the echo command,
  followed by the $HOME variable:
• $ echo $HOME
• /home/timothy
cd
• To get back to your home directory, you
  can simply type the change directory (cd)
  command.
• You can also use the tilde (~) character to
  indicate the home directory:
• $ cd ~
ls
• list the contents of your home directory,
  using the ls command.
• $ ls -la /home/timothy
ps
• The most common utility for checking
  running processes is the ps command.
• $ ps u
• $ ps au
• To see and thereby monitor all the
  processes
• $ ps aux | less
Exiting the Shell
• To exit the shell when you are done, type
  exit or press [Ctrl]+D.
• There are also administrative commands
  in /sbin or /usr/sbin directories.
Getting Help with Shell
• help command
• man command
Linux Filesystems
• /bin —Contains common Linux user
  commands, such as ls, sort, date, and
  chmod.
• /boot— Has the bootable Linux kernel
  and boot loader configuration files
  (GRUB).
Linux Filesystems
• /dev—Contains files representing access points
  to devices on your systems. These include
  terminal devices (tty*), floppy disks (fd*), hard
  disks (hd* or sd*), RAM (ram*), and CD-ROM
  (cd*). (Applications normally access these
  devices directly through the device files, but
  end-users rarely access them directly.)
• /etc— Contains administrative configuration
  files.
• /home—Contains directories assigned to each
  user with a login account.
Linux Filesystems
• /media —Provides a location for mounting devices, such
  as remote file systems and removable media (with
  directory names of cdrom, floppy, etc.). In CentOS,
  many removable media are mounted automatically in
  this directory when the media is inserted (CD or DVD) or
  connected (USB pen drives or cameras).
• /proc —Provides a mechanism for the kernel to send
  information to processes.
• /root—Represents the root user’s home directory.
• /sbin —Contains administrative commands and daemon
  processes.
Linux Filesystems
• /sys —A /proc-like file system, added with
  the Linux 2.6 kernel and intended to
  contain files for getting hardware status
  and reflecting the system’s device tree as
  it is seen by the kernel. It pulls many of its
  functions from /proc.
• /tmp —Contains temporary files used by
  applications.
Linux Filesystems
• /usr—Contains user documentation, games,
  libraries (lib), and a variety of other user and
  administrative commands and files.
• /var—Contains directories of data used by
  various applications. In particular, this is where
  you would place files that you share as an FTP
  server (/var/ftp) or a Web Server (/var/www). It
  also contains all system log files (/var/log). In
  time, FTP, HTTP, and similar services will move
  to the /srv directory to adhere to the Linux
  Standards Base (www.freestandards.org/spec).
Creating Files and Directories
• cd— Change to another directory.
• pwd—Print the name of the current
  working directory.
• mkdir— Create a directory.
• chmod— Change the permission on a file
  or directory.
• ls— List the contents of a directory.
Moving, Copying, and Deleting
                Files
•   $ mv abc def
•   $ mv abc ∼ $ cp abc def
•   $ cp abc ∼ $ rm abc
•   $ rm *
Using the vi Text Editor
• $ vi /tmp/test
Exploring Other Text Editors
•   emacs—Most experienced Linux and UNIX users traditionally have
    used vi or emacs as their text editor. Many extensions are available
    with emacs to handle editing of many different file types.
•   gedit—The GNOME text editor that runs in the GUI
•   joe— The joe editor is similar to many PC text editors. Use control
    and arrow keys to move around. Press [Ctrl]+C to exit with no save
    or [Ctrl]+X to save and exit.
•   kate— A nice-looking editor that comes in the kdebase package. It
    has lots of bells and whistles, such as highlighting for different types
    of programming languages and controls for managing word wrap.
•   kedit—A GUI-based text editor that comes with the KDE desktop
•   nedit—A good tool for editing source code
Accessing and Running
            Applications
• Running yum to Download and Install
  RPMs
• # yum install gcc
• Using yum to Install Packages Locally
• yum localinstall /media/disk/CentOS/gftp-*
Using the rpm Command
• The rpm command has the following modes of
  operation:
• ■ Install (-i)
• ■ Upgrade (-U)
• ■ Freshen (-F)
• ■ Query (-q)
• ■ Verify (-V)
• ■ Signature check (--checksig)
• ■ Uninstall (-e)
• ■ Rebuild database (--rebuilddb)
• ■ Fix permissions (--setperms)
• ■ Set owners/groups (--setugids)
• ■ Show RC (--showrc)
Linux Applications
•   OpenOffice.org
•   Firefox
•   Thunderbird
•   The GIMP (gimp)
•   Quanta (html editor)
•   GnuCash
Using SSH
• Putty
• winscp
Thank You
• http://www.yasin.my

More Related Content

What's hot (19)

Rhce ppt
Rhce pptRhce ppt
Rhce ppt
 
Ilf2012
Ilf2012Ilf2012
Ilf2012
 
CentOS Operating System Presentation (Southeast University)
CentOS Operating System Presentation (Southeast University)CentOS Operating System Presentation (Southeast University)
CentOS Operating System Presentation (Southeast University)
 
Linux Training Workshop
Linux Training WorkshopLinux Training Workshop
Linux Training Workshop
 
Asiabsdcon15
Asiabsdcon15Asiabsdcon15
Asiabsdcon15
 
Presentation for RHCE in linux
Presentation  for  RHCE in linux Presentation  for  RHCE in linux
Presentation for RHCE in linux
 
Anthony McKeown Drupal Presentation
Anthony McKeown Drupal PresentationAnthony McKeown Drupal Presentation
Anthony McKeown Drupal Presentation
 
Presentation1
Presentation1Presentation1
Presentation1
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
Posscon2013
Posscon2013Posscon2013
Posscon2013
 
Lavigne bsdmag may13
Lavigne bsdmag may13Lavigne bsdmag may13
Lavigne bsdmag may13
 
centOS
centOScentOS
centOS
 
Nycbsdcon14
Nycbsdcon14Nycbsdcon14
Nycbsdcon14
 
Rhel7 vs rhel6
Rhel7 vs rhel6Rhel7 vs rhel6
Rhel7 vs rhel6
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Oclug 2010
Oclug 2010Oclug 2010
Oclug 2010
 
Sweden11
Sweden11Sweden11
Sweden11
 
Tlf2013
Tlf2013Tlf2013
Tlf2013
 
Fsoss12
Fsoss12Fsoss12
Fsoss12
 

Similar to 3. introduction of centos

Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-serviceRohit Sansiya
 
24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAsKellyn Pot'Vin-Gorman
 
Unix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxUnix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxRajesh Kumar
 
Linux Desktop Operation - Session 1
Linux Desktop Operation - Session 1Linux Desktop Operation - Session 1
Linux Desktop Operation - Session 1Arash Foroughi
 
Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Chander Pandey
 
File system discovery
File system discovery File system discovery
File system discovery DevMix
 
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsThe Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsBill Malchisky Jr.
 
Surviving OS X as a Windows Admin
Surviving OS X as a Windows AdminSurviving OS X as a Windows Admin
Surviving OS X as a Windows AdminDell World
 
Ericas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideEricas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideErica StJohn
 
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012Jose L. Quiñones-Borrero
 
Linux Getting Started
Linux Getting StartedLinux Getting Started
Linux Getting StartedAngus Li
 
Unix _linux_fundamentals_for_hpc-_b
Unix  _linux_fundamentals_for_hpc-_bUnix  _linux_fundamentals_for_hpc-_b
Unix _linux_fundamentals_for_hpc-_bMohammad Reza Beygi
 
Online Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadRavikumar Nandigam
 

Similar to 3. introduction of centos (20)

Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
redhat_by_Cbitss.ppt
redhat_by_Cbitss.pptredhat_by_Cbitss.ppt
redhat_by_Cbitss.ppt
 
24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs24HOP Introduction to Linux for SQL Server DBAs
24HOP Introduction to Linux for SQL Server DBAs
 
Unix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxUnix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptx
 
Linux
Linux Linux
Linux
 
Linux Desktop Operation - Session 1
Linux Desktop Operation - Session 1Linux Desktop Operation - Session 1
Linux Desktop Operation - Session 1
 
Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01
 
File system discovery
File system discovery File system discovery
File system discovery
 
CSA-lecture 6.pptx
CSA-lecture 6.pptxCSA-lecture 6.pptx
CSA-lecture 6.pptx
 
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsThe Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
 
Surviving OS X as a Windows Admin
Surviving OS X as a Windows AdminSurviving OS X as a Windows Admin
Surviving OS X as a Windows Admin
 
Ericas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideEricas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-Guide
 
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
 
#WeSpeakLinux Session
#WeSpeakLinux Session#WeSpeakLinux Session
#WeSpeakLinux Session
 
File000127
File000127File000127
File000127
 
3 technical-dns-workshop-day2
3 technical-dns-workshop-day23 technical-dns-workshop-day2
3 technical-dns-workshop-day2
 
Unix File System
Unix File SystemUnix File System
Unix File System
 
Linux Getting Started
Linux Getting StartedLinux Getting Started
Linux Getting Started
 
Unix _linux_fundamentals_for_hpc-_b
Unix  _linux_fundamentals_for_hpc-_bUnix  _linux_fundamentals_for_hpc-_b
Unix _linux_fundamentals_for_hpc-_b
 
Online Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in Hyderabad
 

More from Mohd yasin Karim

More from Mohd yasin Karim (6)

1. centos tutorial
1. centos tutorial1. centos tutorial
1. centos tutorial
 
Microsoft<sup>®</sup> office training
Microsoft<sup>®</sup> office trainingMicrosoft<sup>®</sup> office training
Microsoft<sup>®</sup> office training
 
Phpmyadmin administer mysql
Phpmyadmin administer mysqlPhpmyadmin administer mysql
Phpmyadmin administer mysql
 
Mysql workbench 5
Mysql workbench 5Mysql workbench 5
Mysql workbench 5
 
My sql administration
My sql administrationMy sql administration
My sql administration
 
Mysql an introduction
Mysql an introductionMysql an introduction
Mysql an introduction
 

Recently uploaded

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

3. introduction of centos

  • 1. Introduction to Centos By Mohd Yasin Abd Karim yasin@yasin.my
  • 2. Topics • Overview • Using Centos • Administration • Networking
  • 3. Overview • Is not associated by Red Hat Inc. • Centos takes freely available Red Hat Enterprise Linux source code • A set of packages and ISO images for installing centos or running it as live CD • Freely distributed without paying subscription fees • Doesn’t achieve 100% compatibility with RHEL
  • 4. Stepping Stone to RHEL • As learning tools to become familiar • The Backing of a Major Linux Vendor • Technical Support • Certified Hardware and Software • Timely Security patches and Updates • Certification and Training
  • 5. Installation • Media – Centos installation DVD • PC – A Pentium class PC ( > 400MHz) – 128Mb RAM(text), 512MB RAM(GUI) • Disk Space – Depending on packages – 1.5GB to 10GB • Keyboard & Monitor
  • 6. Begin Installation • Insert DVD • Start your Computer • Start the Boot Procedure – Press Enter – Media Check – Continue – Choose Language – Choose keyboard – Choose Fresh Install
  • 7. Begin Installation • Choose your partioning Stratetgy • Review and Modify partioning and Modify Partioning Layout • Configure Boot Loader • Change Device • Set Hostname • Choose a Time Zone
  • 8. Begin Installation • Set Root Password • Install Classes • Customise categories • About Install • Finish Installing
  • 9. Running Centos Firstboot • Firewall – allow or deny access • SELinux – additional layer security • Date and Time • Create User • Sound Card • Additional CDs • Get Updates
  • 10. Getting Started With Desktop • Checking out Your Home Folder • Open With • Side panel • Background • Organise your Work – move, delete, rename • Minimize • Maximize • Close
  • 11. Getting Started With Desktop • Change Background • Choose Browser and Others Apps • Add a Screensaver • Change the theme • Configure your Panel • Workspaces
  • 12. Using Linux Command • Shell is command line interpreter • The shell is powerful, complex
  • 13. id • To find out information about your identity, use the id command as follows: • $ id uid=500(timothy) gid=500(timothy) groups=10(wheel),100(users),500(timothy ) context=user_u:system_r:unconfined_t
  • 14. who • You can see information about your current login session by using the who command. $ who -u -m -H • NAME LINE TIME IDLE PID COMMENT • timothy pts/1 2009-04-02 14:12 . 7264 (:0.0)
  • 15. pwd • To find out what your current directory is, type the pwd command: • $ pwd • /usr/bin
  • 16. $HOME • To find out the name of your home directory, type the echo command, followed by the $HOME variable: • $ echo $HOME • /home/timothy
  • 17. cd • To get back to your home directory, you can simply type the change directory (cd) command. • You can also use the tilde (~) character to indicate the home directory: • $ cd ~
  • 18. ls • list the contents of your home directory, using the ls command. • $ ls -la /home/timothy
  • 19. ps • The most common utility for checking running processes is the ps command. • $ ps u • $ ps au • To see and thereby monitor all the processes • $ ps aux | less
  • 20. Exiting the Shell • To exit the shell when you are done, type exit or press [Ctrl]+D. • There are also administrative commands in /sbin or /usr/sbin directories.
  • 21. Getting Help with Shell • help command • man command
  • 22. Linux Filesystems • /bin —Contains common Linux user commands, such as ls, sort, date, and chmod. • /boot— Has the bootable Linux kernel and boot loader configuration files (GRUB).
  • 23. Linux Filesystems • /dev—Contains files representing access points to devices on your systems. These include terminal devices (tty*), floppy disks (fd*), hard disks (hd* or sd*), RAM (ram*), and CD-ROM (cd*). (Applications normally access these devices directly through the device files, but end-users rarely access them directly.) • /etc— Contains administrative configuration files. • /home—Contains directories assigned to each user with a login account.
  • 24. Linux Filesystems • /media —Provides a location for mounting devices, such as remote file systems and removable media (with directory names of cdrom, floppy, etc.). In CentOS, many removable media are mounted automatically in this directory when the media is inserted (CD or DVD) or connected (USB pen drives or cameras). • /proc —Provides a mechanism for the kernel to send information to processes. • /root—Represents the root user’s home directory. • /sbin —Contains administrative commands and daemon processes.
  • 25. Linux Filesystems • /sys —A /proc-like file system, added with the Linux 2.6 kernel and intended to contain files for getting hardware status and reflecting the system’s device tree as it is seen by the kernel. It pulls many of its functions from /proc. • /tmp —Contains temporary files used by applications.
  • 26. Linux Filesystems • /usr—Contains user documentation, games, libraries (lib), and a variety of other user and administrative commands and files. • /var—Contains directories of data used by various applications. In particular, this is where you would place files that you share as an FTP server (/var/ftp) or a Web Server (/var/www). It also contains all system log files (/var/log). In time, FTP, HTTP, and similar services will move to the /srv directory to adhere to the Linux Standards Base (www.freestandards.org/spec).
  • 27. Creating Files and Directories • cd— Change to another directory. • pwd—Print the name of the current working directory. • mkdir— Create a directory. • chmod— Change the permission on a file or directory. • ls— List the contents of a directory.
  • 28. Moving, Copying, and Deleting Files • $ mv abc def • $ mv abc ∼ $ cp abc def • $ cp abc ∼ $ rm abc • $ rm *
  • 29. Using the vi Text Editor • $ vi /tmp/test
  • 30. Exploring Other Text Editors • emacs—Most experienced Linux and UNIX users traditionally have used vi or emacs as their text editor. Many extensions are available with emacs to handle editing of many different file types. • gedit—The GNOME text editor that runs in the GUI • joe— The joe editor is similar to many PC text editors. Use control and arrow keys to move around. Press [Ctrl]+C to exit with no save or [Ctrl]+X to save and exit. • kate— A nice-looking editor that comes in the kdebase package. It has lots of bells and whistles, such as highlighting for different types of programming languages and controls for managing word wrap. • kedit—A GUI-based text editor that comes with the KDE desktop • nedit—A good tool for editing source code
  • 31. Accessing and Running Applications • Running yum to Download and Install RPMs • # yum install gcc • Using yum to Install Packages Locally • yum localinstall /media/disk/CentOS/gftp-*
  • 32. Using the rpm Command • The rpm command has the following modes of operation: • ■ Install (-i) • ■ Upgrade (-U) • ■ Freshen (-F) • ■ Query (-q) • ■ Verify (-V) • ■ Signature check (--checksig) • ■ Uninstall (-e) • ■ Rebuild database (--rebuilddb) • ■ Fix permissions (--setperms) • ■ Set owners/groups (--setugids) • ■ Show RC (--showrc)
  • 33. Linux Applications • OpenOffice.org • Firefox • Thunderbird • The GIMP (gimp) • Quanta (html editor) • GnuCash