Installation Freebsd 8.2

Total Page:16

File Type:pdf, Size:1020Kb

Installation Freebsd 8.2 Annexe A : Installation FreeBSD 8.2 The following is the guide step by step to install FreeBSD 8.2. 1. Choosing the country : 2. Select standard installation : 3. Using FDISK to create the partition for FreeBSD. Note that the operating system FreeBSD will be installed in this partition which has subtype 165 27 4. Choosing the boot manager : If you install in the Virtual Box, I recommend choosing Standard option If you install with another Linux system (for example Ubuntu 11.04, Ubuntu must be install first, after that FreeBSD), choosing NONE (Do not install a boot ma- nager). After finishing installation, reboot computer, you won ?t see boot menu for FreeBSD. Don ?t worried, enter to Ubuntu and add the following line at the end of file : /etc/grub.d/40 custom : -------------------------------------------------------------------------- menuentry `FreeBSD 8.2' { set root= '(hd0,2)' chainloader +1 } -------------------------------------------------------------------------- Replace 2 in (hd0,2) with the index of partition where FreeBSD installed. -------------------------------------------------------------------------- Run: #sudo update-grub -------------------------------------------------------------------------- Reboot computer, you will see the menu in which you can enter to FreeBSD 5. Disklaber Editor 6. Choosing distribution you want to install : We choose Minimal with the smallest configuration possible. If you want more packet, you can install later. 7. Choose installation media : 8. Configure Ethenet network devices : 9. Try DHCP configuration : 10. Configuration others function : 11. Reboot computer, you have just installed FreeBSD. Now you need to update ports to intall another packet later : Login as root user and type the following command : -------------------------------------------------------------------------- ensi1# mkdir /usr/ports ensi1# portsnap fetch ensi1# portsnap extract -------------------------------------------------------------------------- The FreeBSD Ports offers a simple way for users and administrators to install applications. There are currently 22462 ports available. So it will take a quite of time. 12. If you want to have graphical interface, you need to install xorg first. Type the flowing command : -------------------------------------------------------------------------- ensi1# whereis xorg ensi1# cd /usr/ports/x11/xorg ensi1# make -DBATCH install clean -------------------------------------------------------------------------- The option DBATCH to install with defaut option, so you don ?t have to be on the desk to check all options. It will take about 45 minutes to 1 hours, so take a cup of coffee and come back later. If you want to install gnome2, type the following command : -------------------------------------------------------------------------- ensi1# cd /usr/ports/x11/gnome2 ensi1# make -DBATCH install clean -------------------------------------------------------------------------- Add the following line at the end of file /etc/rc.conf (using #vi /etc/rc.conf) : -------------------------------------------------------------------------- gdm_enable="YES" gnome_enable="YES" dbus_enable="YES" moused_enable="YES" hald_enable="YES" -------------------------------------------------------------------------- If you want to install XFCE4, type the following command : -------------------------------------------------------------------------- ensi1# cd /usr/ports/x11-wm/xfce4 ensi1# make -DBATCH install clean ensi1# cd /usr/ports/x11/xdm ensi1# make install clean -------------------------------------------------------------------------- Add the following line at the end of file /etc/rc.conf (using vi /etc/rc.conf): -------------------------------------------------------------------------- dbus_enable="YES" moused_enable="YES" hald_enable="YES" xdm_enable="YES" -------------------------------------------------------------------------- After reboot, you need to start XFCE by the command : -------------------------------------------------------------------------- #startxfce4 --------------------------------------------------------------------------.
Recommended publications
  • Freenas® 11.0 User Guide
    FreeNAS® 11.0 User Guide June 2017 Edition FreeNAS® IS © 2011-2017 iXsystems FreeNAS® AND THE FreeNAS® LOGO ARE REGISTERED TRADEMARKS OF iXsystems FreeBSD® IS A REGISTERED TRADEMARK OF THE FreeBSD Foundation WRITTEN BY USERS OF THE FreeNAS® network-attached STORAGE OPERATING system. VERSION 11.0 CopYRIGHT © 2011-2017 iXsystems (https://www.ixsystems.com/) CONTENTS WELCOME....................................................1 TYPOGRAPHIC Conventions...........................................2 1 INTRODUCTION 3 1.1 NeW FeaturES IN 11.0..........................................3 1.2 HarDWARE Recommendations.....................................4 1.2.1 RAM...............................................5 1.2.2 The OperATING System DeVICE.................................5 1.2.3 StorAGE Disks AND ContrOLLERS.................................6 1.2.4 Network INTERFACES.......................................7 1.3 Getting Started WITH ZFS........................................8 2 INSTALLING AND UpgrADING 9 2.1 Getting FreeNAS® ............................................9 2.2 PrEPARING THE Media.......................................... 10 2.2.1 On FreeBSD OR Linux...................................... 10 2.2.2 On WindoWS.......................................... 11 2.2.3 On OS X............................................. 11 2.3 Performing THE INSTALLATION....................................... 12 2.4 INSTALLATION TROUBLESHOOTING...................................... 18 2.5 UpgrADING................................................ 19 2.5.1 Caveats:............................................
    [Show full text]
  • Why Did We Choose Freebsd?
    Why Did We Choose FreeBSD? Index Why FreeBSD in General? Why FreeBSD Rather than Linux? Why FreeBSD Rather than Windows? Why Did we Choose FreeBSD in General? We are using FreeBSD version 6.1. Here are some more specific features which make it appropriate for use in an ISP environment: Very stable, especially under load as shown by long-term use in large service providers. FreeBSD is a community-supported project which you can be confident is not going to 'go commercial' or start charging any license fees. A single source tree which contains both the kernel and all the rest of the code needed to build a complete base system. Contrast with Linux that has one kernel but hundreds of distributions to choose from, and which may come and go over time. Scalability features as standard: e.g. pwd.db (indexed password database), which give you much better performance and scales well for very large sites. Superior TCP/IP stack that responds well to extremely heavy load. Multiple firewall packages built in to the base system (IPF, IPFW, PF). High-end debugging and tracing tools, including the recently announced port of the Sun Dynamic Tracing tool, DTrace, to FreeBSD. Ability to gather fine-grained statistics on system performance using many included utilities like systat, gstat, iostat, di, swapinfo, disklabel, etc. Items such as software RAID are supported using multiple utilities (ata, ccd. vinum, geom). RAID-1 using GEOM Mirror (see gmirror) supports identical disk sets, or identical disk slieces. Take a look at the most stable web sites according to NetCraft (http://news.netcraft.com/archives/2006/06/06/six_hosting_companies_most_reliable_hoster_in_may.html).
    [Show full text]
  • Truenas® 11.3-U5 User Guide
    TrueNAS® 11.3-U5 User Guide Note: Starting with version 12.0, FreeNAS and TrueNAS are unifying (https://www.ixsystems.com/blog/freenas- truenas-unification/.) into “TrueNAS”. Documentation for TrueNAS 12.0 and later releases has been unified and moved to the TrueNAS Documentation Hub (https://www.truenas.com/docs/). Warning: To avoid the potential for data loss, iXsystems must be contacted before replacing a controller or upgrading to High Availability. Copyright iXsystems 2011-2020 TrueNAS® and the TrueNAS® logo are registered trademarks of iXsystems. CONTENTS Welcome .................................................... 8 Typographic Conventions ................................................ 9 1 Introduction 10 1.1 Contacting iXsystems ............................................... 10 1.2 Path and Name Lengths ............................................. 10 1.3 Using the Web Interface ............................................. 12 1.3.1 Tables and Columns ........................................... 12 1.3.2 Advanced Scheduler ........................................... 12 1.3.3 Schedule Calendar ............................................ 13 1.3.4 Changing TrueNAS® Settings ...................................... 13 1.3.5 Web Interface Troubleshooting ..................................... 14 1.3.6 Help Text ................................................. 14 1.3.7 Humanized Fields ............................................ 14 1.3.8 File Browser ................................................ 14 2 Initial Setup 15 2.1 Hardware
    [Show full text]
  • BSD UNIX Toolbox 1000+ Commands for Freebsd, Openbsd
    76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iii BSD UNIX® TOOLBOX 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD®Power Users Christopher Negus François Caen 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page ii 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page i BSD UNIX® TOOLBOX 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page ii 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iii BSD UNIX® TOOLBOX 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD®Power Users Christopher Negus François Caen 76034ffirs.qxd:Toolbox 4/2/08 12:50 PM Page iv BSD UNIX® Toolbox: 1000+ Commands for FreeBSD®, OpenBSD, and NetBSD® Power Users Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2008 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-37603-4 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 Library of Congress Cataloging-in-Publication Data is available from the publisher. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permis- sion should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions.
    [Show full text]
  • Bsdcan 2015 UCL Working Group
    BSDCan 2015 UCL Working Group [email protected] Overview The goal of this working group is to develop a template for all future configuration files that is both human readable and writable, but is also hierarchical, expressive, and programmatically editable. Agenda ● Opening: What is UCL ● Presentation of work in progress: converting newsyslog and bhyve to UCL ● Discuss common requirements for configuration files ● Develop a common set of grammar/keys to work across all configuration files ('enabled' activates/deactivates each block, allows disabling default configuration without modifying the default files, ala pkg) Agenda (Continued) ● Discuss layering (/etc/defaults/foo.conf -> /etc/foo.conf -> /etc/foo.conf.d/*.conf -> /usr/local/etc/foo.conf.d/*.conf) ● Discuss required features for management utilities (uclcmd) ● Identify additional targets to UCL-ify ● Develop a universal API for using libucl in various applications, simplify loading configuration into C structs (libfigpar?) What is the Universal Configuration Language? ● Inspired by bind/nginx style configuration ● Fully compatible with JSON, but more liberal in what it accepts, so users do not have to write strict JSON ● Can Output UCL, JSON, or YAML ● Supports handy suffixes like k, mb, min, d ● Can be as simple or as complex as required ● Allows inline comments (# and /* multiline */) ● Validation and Schema support ● Supports includes, macros, and variables Why UCL is great -- all of this is valid param = value; key = “value”; flag = true; section { number = 10k string
    [Show full text]
  • Sysadmin Documentation Documentation Release 1.0
    Sysadmin Documentation Documentation Release 1.0 Alexander Werner Nov 05, 2018 Contents: 1 FreeBSD 3 1.1 Resources.................................................3 1.2 Installation of software..........................................3 1.3 Update of software............................................3 1.4 System update..............................................4 1.5 Change system configuration......................................4 2 MariaDB Galera Cluster 5 2.1 Tasks...................................................5 3 PF - FreeBSD Packet Filter 7 3.1 Installation................................................7 3.2 Configuration...............................................7 4 Unbound DNS 9 4.1 Installation................................................9 4.2 Configuration...............................................9 5 ZFS 11 5.1 Installation................................................ 11 5.2 Operation................................................. 11 6 Setup of Debian 9 on a Lenovo Thinkpad 470 13 6.1 Preparation................................................ 13 6.2 Booting the Installer........................................... 13 6.3 Partitioning the disk........................................... 14 6.4 Software selection............................................ 14 6.5 Finishing the setup............................................ 14 6.6 Post-Setup................................................ 14 7 Resources 15 8 Indices and tables 17 i ii Sysadmin Documentation Documentation, Release 1.0 This manual serves as
    [Show full text]
  • Freebsd Foundation February 2018 Update
    FreeBSD Foundation February 2018 Update Upcoming Events Message from the Executive Director Dear FreeBSD Community Member, AsiaBSDCon 2018 Welcome to our February Newsletter! In this newsletter you’ll read about FreeBSD Developers Summit conferences we participated in to promote and teach about FreeBSD, March 8-9, 2018 software development projects we are working on, why we need Tokyo, Japan funding, upcoming events, a release engineering update, and more. AsiaBSDCon 2018 Enjoy! March 8-11, 2018 Tokyo, Japan Deb SCALE 16x March 8-11, 2018 Pasadena, CA February 2018 Development Projects FOSSASIA 2018 March 22-25, 2018 Update: The Modern FreeBSD Tool Chain: Singapore, Singapore LLVM's LLD Linker As with other BSD distributions, FreeBSD has a base system that FreeBSD Journal is developed, tested and released by a single team. Included in the base system is the tool chain, the set of programs used to build, debug and test software. FreeBSD has relied on the GNU tool chain suite for most of its history. This includes the GNU Compiler Collection (GCC) compiler, and GNU binutils which include the GNU "bfd" linker. These tools served the FreeBSD project well from 1993 until 2007, when the GNU project migrated to releasing its software under the General Public License, version 3 (GPLv3). A number of FreeBSD developers and users objected to new restrictions included in GPLv3, and the GNU tool chain became increasingly outdated. The January/February issue of the FreeBSD Journal is now available. Don't miss articles on The FreeBSD project migrated to Clang/LLVM for the compiler in Tracing ifconfig Commands, Storage FreeBSD 10, and most of GNU binutils were replaced with the ELF Tool Multipathing, and more.
    [Show full text]
  • Freenas® 11.2-U3 User Guide
    FreeNAS® 11.2-U3 User Guide March 2019 Edition FreeNAS® is © 2011-2019 iXsystems FreeNAS® and the FreeNAS® logo are registered trademarks of iXsystems FreeBSD® is a registered trademark of the FreeBSD Foundation Written by users of the FreeNAS® network-attached storage operating system. Version 11.2 Copyright © 2011-2019 iXsystems (https://www.ixsystems.com/) CONTENTS Welcome .............................................................. 8 Typographic Conventions ..................................................... 10 1 Introduction 11 1.1 New Features in 11.2 .................................................... 11 1.1.1 RELEASE-U1 ..................................................... 14 1.1.2 U2 .......................................................... 14 1.1.3 U3 .......................................................... 15 1.2 Path and Name Lengths .................................................. 16 1.3 Hardware Recommendations ............................................... 17 1.3.1 RAM ......................................................... 17 1.3.2 The Operating System Device ........................................... 18 1.3.3 Storage Disks and Controllers ........................................... 18 1.3.4 Network Interfaces ................................................. 19 1.4 Getting Started with ZFS .................................................. 20 2 Installing and Upgrading 21 2.1 Getting FreeNAS® ...................................................... 21 2.2 Preparing the Media ...................................................
    [Show full text]
  • Bulk Ports Management with Poudriere
    1 of 3 Bulk Ports Management with Poudriere BY DREW GURKOWSKI Step 1: Using the Ports Collection to Install Poudriere All commands in this section should be run as root; using the su(1) command will work. To download a compressed snapshot of the Ports Collection into /var/db/portsnap: # portsnap fetch When running portsnap for the first time, extract the snapshot into/usr/ports : # portsnap extract Next, build and install Poudriere from the Ports Collection using: # cd /usr/ports/ports-mgmt/poudriere # make install clean Prompts will appear throughout the installation process, stick with the default settings and in- stall the port. Step 2: Configuring Poudriere Poudriere is an extremely powerful tool designed for package production, but it can also be used to bulk manage ports. In order to do so, a few small tweaks will need to be made to the configuration before moving forward. First, copy and move the configuration file to the correct location with: # cd /usr/local/etc # cp poudriere.conf.sample poudriere conf Then use the ee(1) text editor to edit the copied configuration file: # ee poudriere.conf Arrow keys can be used to navigate down to the line: FREEBSD_HOST=_PROTO_://_CHANGE_THIS_ Edit the above line, so it instead looks like this: (backspace to delete text) FREEBSD_HOST=ftp://ftp.freebsd.org Type ESCAPE and then ENTER twice to exit and save changes to the configuration file. FreeBSD Journal • May/June 2020 35 2 of 3 Step 3: Set Up a Poudriere Jail Before continuing, Poudriere will need to fetch and extract its own version of the FreeBSD Ports Collection.
    [Show full text]
  • BSD Survival Guide
    BSD Survival Guide Mariusz Zaborski Adam Wołk Konrad Witaszczyk FreeBSD Mariusz Zaborski https://tylertechnow.blogspot.com/2019/11/fre ebsd-7-day-challenge.html Head, stable, release ● Current/HEAD - tam lądują wszystkie nowe commity ● Stable - przetestowane zmiany pomiędzy releasami, API/ABI nie może się zmienić ● Release - oficjalny release Head, stable, release Instalacja Instalacja ● Umożliwia instalację na ZFS ● Umożliwia instalację na UFS ○ Oraz prze partycjonowanie ● Umożliwia full disk encryption ○ Jeszcze kilka lat temu trzeba było samemu to konfigurowa ○ Tylko passphrase Instalacja X11… going beyond... Update FreeBSD - paczki ● Pre budowane paczki w FreeBSD, umożliwiające szybkie łatwe instalowanie oprogramowania ● pkg install <nazwa> ● pkg search <nazwa> ● pkg info ● pkg remove <nazwa> Update FreeBSD - porty ● make config ● make fetch ● portsnap fetch ● make patch ● portsnap extract ● make ● make install ● svn checkout ● make rmconfig https://svn.FreeBSD.org/ports/head /usr/ports ● make deinstall Update FreeBSD - freebsd-upgrade ● freebsd-update fetch ● freebsd-update install ● freebsd-update -r 12.0-RELEASE upgrade Update FreeBSD - pkg base upgrade Coming soon Update FreeBSD - make ● less UPDATING ● make buildkernel -ssj16 KERNCONF=GENERIC ● make buildworld -ssj16 KERNCONF=GENERIC ● make installworld -ssj16 KERNCONF=GENERIC ● make installkernel -ssj16 KERNCONF=GENERIC Update FreeBSD - make ● mergemaster -p ● mergemaster ● make delete-old ● make delete-old-libs ● make buildenv Update FreeBSD - co jeżeli coś pójdzie nie tak?
    [Show full text]
  • FREEBSD Ransomware / Incidents of the Last Weeks
    FREENAS MINI FREENAS STORAGE APPLIANCE CERTIFIED IT SAVES YOUR LIFE. STORAGE How important is your data? with over six million downloads, As one of the leaders in the storage industry, you Freenas is undisputedly the most know that you’re getting the best combination of hardware designed for optimal performance Years of family photos. Your entire music popular storage operating system and movie collection. Ofce documents with FreeNAS. Contact us today for a FREE Risk in the world. you’ve put hours of work into. Backups for Elimination Consultation with one of our FreeNAS experts. Remember, every purchase directly supports every computer you own. We ask again, how Sure, you could build your own FreeNAS system: the FreeNAS project so we can continue adding important is your data? research every hardware option, order all the features and improvements to the software for years parts, wait for everything to ship and arrive, vent at to come. And really - why would you buy a FreeNAS customer service because it hasn’t, and fnally build it server from anyone else? now imaGinE LosinG it aLL yourself while hoping everything fts - only to install the software and discover that the system you spent Losing one bit - that’s all it takes. One single bit, and days agonizing over isn’t even compatible. Or... your fle is gone. The worst part? You won’t know until you makE it Easy on yoursELF absolutely need that fle again. Example of one-bit corruption As the sponsors and lead developers of the FreeNAS project, iXsystems has combined over 20 years of tHE soLution hardware experience with our FreeNAS expertise to The FreeNAS Mini has emerged as the clear choice to the mini boasts these state-of-the- bring you FreeNAS Certifed Storage.
    [Show full text]
  • Freenas® 11.1-U7 User Guide
    FreeNAS® 11.1-U7 User Guide January 2019 Edition FreeNAS® is © 2011-2019 iXsystems FreeNAS® and the FreeNAS® logo are registered trademarks of iXsystems FreeBSD® is a registered trademark of the FreeBSD Foundation Written by users of the FreeNAS® network-attached storage operating system. Version 11.1 Copyright © 2011-2019 iXsystems (https://www.ixsystems.com/) CONTENTS Welcome .............................................................. 8 Typographic Conventions ..................................................... 10 1 Introduction 11 1.1 New Features in 11.1 .................................................... 11 1.2 Changes Since 11.1 ..................................................... 13 1.2.1 U1 .......................................................... 13 1.2.2 U2 .......................................................... 13 1.2.3 U3 .......................................................... 14 1.2.4 U5 .......................................................... 14 1.2.5 U6 .......................................................... 14 1.2.6 U6.3 ......................................................... 14 1.2.7 U7 .......................................................... 14 1.3 Path and Name Lengths .................................................. 15 1.4 Hardware Recommendations ............................................... 16 1.4.1 RAM ......................................................... 16 1.4.2 The Operating System Device ........................................... 17 1.4.3 Storage Disks and Controllers ..........................................
    [Show full text]