[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
slackbook:install [2012/09/06 01:48 (UTC)] – [Addswap] updated image alt text mfillpot | slackbook:install [2012/09/08 10:23 (UTC)] – [References] Updated reference credits mfillpot | ||
---|---|---|---|
Line 410: | Line 410: | ||
==== Target ==== | ==== Target ==== | ||
- | Our next step is selecting our root partition and any other partitions we'd like Slackware to utilize. You'll be given a choice of filesystems to use and whether or not to format the partition. If you're installing to a new partition you must format it. If you have a partition with data on it you'd like to save, don't. For example, many users have a seperate ''/ | + | Our next step is selecting our root partition and any other |
+ | partitions we'd like Slackware to utilize. You'll be given a choice | ||
+ | of filesystems to use and whether or not to format the partition. If | ||
+ | you're installing to a new partition you must format it. If you have | ||
+ | a partition with data on it you'd like to save, don't. For example, | ||
+ | many users have a seperate ''/ | ||
+ | for user data and elect not to format it on install. This lets them | ||
+ | install newer versions of Slackware without having to backup and | ||
+ | restore this data. | ||
- | {{ : | ||
+ | {{ : | ||
==== Source ==== | ==== Source ==== | ||
- | Here you'll tell the installer where to find the Slackware packages. The most common method is to use the Slackware install DVD or CDs, but there are various other options are available. If you have your packages installed to a partition that you setup in the previous step, you can install from that partition or a pre-mounted directory. (You may need to mount that partition with '' | + | Here you'll tell the installer where to find the Slackware packages. |
- | + | The most common method is to use the Slackware install DVD or CDs, | |
- | {{ : | + | but various other options are available. If you have your |
+ | packages installed to a partition that you setup in the previous | ||
+ | step, you can install from that partition or a pre-mounted directory. | ||
+ | (You may need to mount that partition with | ||
+ | **//mount//**(8) first. See chapter 11 for more | ||
+ | details.) Additionally, | ||
+ | options such as NFS shares, FTP, HTTP, and Samba. If you select a | ||
+ | network installation, | ||
+ | information first. We're only going to discuss installation from the | ||
+ | DVD, but other methods are similar and straightforward. | ||
+ | {{ : | ||
==== Select ==== | ==== Select ==== | ||
- | One unique feature of Slackware is its manner of dividing packages into disksets. At the beginning of time, network access to FTP servers was available only through incredibly slow 300 baud modems, so Slackware was split into disk sets that would fit onto floppy disks so users could download and install only those packages they were interested in. Today that practice continues and the installer allows you to chose which sets to install. This allows you to easily skip packages you may not want, such as X and [[slackware: | + | One unique feature of Slackware is its manner of dividing packages |
+ | into disksets. At the beginning of time, network access to FTP | ||
+ | servers was available only through incredibly slow 300 baud modems, | ||
+ | so Slackware was split into disk sets that would fit onto floppy | ||
+ | disks so users could download and install only those packages they | ||
+ | were interested in. Today that practice continues and the installer | ||
+ | allows you to chose which sets to install. This allows you to | ||
+ | easily skip packages you may not want, such as X and KDE on headless | ||
+ | servers or Emacs on everything. Please note that the //" | ||
+ | always required. | ||
- | {{ : | ||
+ | {{ : | ||
==== Install ==== | ==== Install ==== | ||
- | Finally we get to the meat of the installer. At this stage, Slackware will ask you what method to use to choose | + | Finally we get to the meat of the installer. At this stage, Slackware |
+ | will ask you what method to use to chose packages. If this is your | ||
+ | first time installing Slackware, the //" | ||
+ | recommended. Even if this isn't your first time, you'll probably want | ||
+ | to use it anyway. | ||
- | The " | ||
- | The "newbie" | + | The //"menu"// and //" |
+ | individual packages | ||
+ | familiar with the OS. These methods allow such users to quickly prune | ||
+ | packages from the installer to build a very minimal system. If you | ||
+ | don't know what you're doing (sometimes even if you do) you're likely | ||
+ | to leave out crucial pieces of software and end up with a broken | ||
+ | system. | ||
- | The " | ||
- | {{ : | + | The //" |
+ | takes a very long time to install. This method will install all the | ||
+ | required packages, then prompt you individually for every other | ||
+ | package. The big advantage here is that is pauses and gives you a | ||
+ | brief overview of the package contents. For a new user, this | ||
+ | introduction into what is included with Slackware can be informative. | ||
+ | For most other users it is a long and tedious process. | ||
+ | |||
+ | The //" | ||
+ | the greatest skill and expertise with Slackware. These methods allow | ||
+ | the user to install packages from custom tagfiles. Tagfiles are | ||
+ | only rarely used. We won't discuss them in this book. | ||
+ | |||
+ | |||
+ | {{ : | ||
==== Configure ==== | ==== Configure ==== | ||
- | Once all the packages are installed you're nearly finished. At this stage, Slackware will prompt you with a variety of configuration tasks for your new operating system. Many of these are optional, but most users will need to set something up here. Depending on the packages you've installed, you may be offered different configuration options than the ones shown here, but we've included all the really important ones. | + | Once all the packages are installed you're nearly finished. At this |
+ | stage, Slackware will prompt you with a variety of configuration | ||
+ | tasks for your new operating system. Many of these are optional, but | ||
+ | most users will need to set something up here. Depending on the | ||
+ | packages you've installed, you may be offered different configuration | ||
+ | options than the ones shown here, but we've included all the really | ||
+ | important ones. | ||
- | The first thing you'll likely be prompted to do is setup a boot disk. In the past this was typically a 1.44MB floppy disk, but today' | + | The first thing you'll likely be prompted to do is setup a boot disk. |
+ | In the past this was typically a 1.44MB floppy disk, but today' | ||
+ | Linux kernel is far too large to fit on a single floppy, so | ||
+ | Slackware offers to create a bootable USB flash memory stick. Of | ||
+ | course, your computer must support booting from USB in order to use | ||
+ | a USB boot stick (most modern computers do). If you do not intend to | ||
+ | use LILO or another traditional boot loader, you should consider | ||
+ | making a USB boot stick. Please note that doing so will erase the | ||
+ | contents of whatever memory stick you're using, so be careful. | ||
- | {{ : | ||
- | Nearly everyone will need to setup the LInux LOader, LILO. LILO is in charge of booting the Linux kernel and connecting to an initrd or the root filesystem. Without it (or some other boot loader), your new Slackware operating system will not boot. Slackware offers a few options here. The " | + | {{ : |
- | LILO is a very important part of your Slackware system, | + | Nearly everyone will need to setup the LInux LOader, LILO. LILO is |
+ | in charge | ||
+ | the root filesystem. Without it (or some other boot loader), | ||
+ | Slackware | ||
+ | options here. The //" | ||
+ | LILO for your computer, and works well with very simple systems. If | ||
+ | Slackware | ||
+ | configure and install LILO for you without any hassels. If you don't | ||
+ | trust the simpler method to work, or if you want to take an in-depth | ||
+ | look at how to configure LILO, the //" | ||
+ | that complicated. This method will take you through each step and | ||
+ | offer to setup dual-boot for Windows and other Linux operating | ||
+ | systems. It also allows you to append kernel command parameters (most | ||
+ | users will not need to specify any though). | ||
- | {{ : | ||
- | This simple step allows you to configure and activate | + | LILO is a very important part of your Slackware system, so an entire |
+ | section | ||
+ | difficulty configuring LILO at this stage, you may want to skip ahead | ||
+ | and read Chapter 3 first, | ||
- | The next stage in configuring your install is the network configuration. If you don't wish to configure your network at this stage, you may decline, but otherwise you'll be prompted to provide a hostname for your computer. Do not enter a domain name, only the hostname. | ||
- | The following screen will prompt you for a domainname, such as example.org. The combination of the hostname and the domainname can be used to navigate between computers in your network if you use an internal DNS service or maintain your /etc/hosts file. | + | {{ : |
- | You have three options when setting your IP address; | + | This simple step allows |
+ | for use outside of the graphical desktops. By activating | ||
+ | mouse, you'll be able to easily copy and paste from within | ||
+ | Slackware terminal. Most users will need to choose one of the first | ||
+ | three options, but many are offered, and yes those ancient two-button | ||
+ | serial mice do work. | ||
- | If the DHCP server on your network requires a specific DHCP hostname before you're permitted to connect. You can enter this on the Set DHCP Hostname screen. | ||
- | To use a static IP address, you must provide: | + | {{ :slackbook: |
- | **Static IP Address** | + | The next stage in configuring your install is the network |
+ | configuration. If you don't wish to configure your network at this | ||
+ | stage, you may decline, but otherwise you'll be prompted to | ||
+ | provide a hostname for your computer. If you're unsure what to do | ||
+ | here, you might want to read through [[slackbook: | ||
+ | first. | ||
- | * IP Address: the address of your computer, such as '' | ||
- | * Netmask: the subnet mask for your network; often '' | ||
- | * Gateway Address: the address of the gateway server providing internet access to your network. On small networks, this will probably be provided by your ISP while on larger networks you may use an internal server which handles the traffic. In other words, this may be an internal address like '' | ||
- | * Nameserver: most likely, you'll want to utilize DNS; in this initial setup, provide your primary domain name server. Edit / | ||
- | The final screen during static IP address configuration is a confirmation screen, where you're permitted to accept your choices, edit them, or even restart | + | The following screens will prompt you first for a hostname, then |
+ | for a domainname, such as | ||
+ | example.org. The combination of the hostname and the domainname | ||
+ | can be used to navigate between computers | ||
+ | use an internal DNS service or maintain your | ||
+ | ''/ | ||
+ | up your network, Slackware will name your computer //" | ||
+ | a song by the Grateful Dead. | ||
- | Your network configuration is now complete. The next screen prompts you to configure the startup services that you wish to run automatically upon boot. Read the descriptions that appear both to the right of the service name as well as at the bottom of the screen in order to decide whether that service should be turned on by default. These can always be modified later with pkgtool > Setup > Services. | ||
- | As the startup services window warns, you should only turn on the startup services that you actually intend | + | You have three options when setting your IP address; you may |
+ | assign it a static IP, use DHCP, or configure a | ||
+ | loopback connection. The simplest option, and probably | ||
+ | common for laptops or computers on a basic network, is to let a | ||
+ | DHCP server assign IP addresses dynamically. Unless | ||
+ | installing Slackware for use as a network server, | ||
+ | do not need to setup a static IP address. If you' | ||
+ | of these options to choose, pick DHCP. | ||
- | Every computer needs to keep track of the current time, and with so many timezones how does Slackware know which one to use? Well, you have to tell it which one to use, and that's why this step is here. If your computer' | ||
- | If you installed the X disk set, you'll be prompted | + | Rarely DHCP servers requires |
+ | hostname before | ||
+ | the Set DHCP Hostname screen. This is almost always | ||
+ | hostname | ||
- | {{ : | ||
- | The last configuration step is setting | + | If you choose to set a static IP address, |
+ | enter it along with the netmask, gateway IP address, and what | ||
+ | nameserver to use. | ||
- | With this last step complete, you can now exit the Slackware installer and reboot with a good old **CTRL + ALT + DELETE**. Remove the Slackware installation disk, and if you performed all the steps correctly, your computer will boot into your new Slackware linux system. If something went wrong, you probably skipped the LILO configuration step or made an error there somehow. Thankfully, the next chapter should help you sort that out. | ||
- | ===== Post Installation ===== | ||
- | When you have rebooted into your new Slackware installation, | + | The final screen during static IP address configuration |
+ | confirmation screen, where you're permitted | ||
+ | choices, edit them, or even restart the IP address configuration | ||
+ | in case you decide | ||
- | The quickest and easiest way to create a normal user for yourself is to log in as root with the root password that you created at the end of the intallation process, and then issue the `adduser` command. This will interactively assist you in creating a user; see the section called [[slackbook: | ||
- | Another important step is to make sure that your installation | + | Once your network configuration |
+ | prompt you to configure the startup services | ||
+ | automatically upon boot. Helpful descriptions of each service appear | ||
+ | both to the right of the service name as well as at the bottom of the | ||
+ | screen. If you're not sure what to turn on, you can safely leave the | ||
+ | defaults in place. What services are started at boot time can be | ||
+ | easily modified later with **// | ||
- | One last thing - there will be mail in the root user's mailbox filled with useful information about package management, as well as system configuration and maintenance. You should check it with your favorite mail client. If you have not used any of the included mail clients, alpine is a good suggestion to get started quickly and easily. | ||
- | === Configuring Graphical Logins === | + | Every computer needs to keep track of the current time, and with so |
- | Once your system is up to date and you have created your first user, you may want to configure your system | + | many timezones around the world you |
+ | have to tell Slackware which one to use. | ||
+ | If your computer' | ||
+ | Universal Time), you'll need to select that; most hardware clocks are | ||
+ | not set to UTC from the factory (though you could set it that way on | ||
+ | your own; Slackware doesn' | ||
+ | from the list provided and off you go. | ||
- | # Default runlevel. (Do not set to 0 or 6) | ||
- | id: | ||
- | | ||
- | To be this: | ||
- | # Default runlevel. (Do not set to 0 or 6) | + | {{ :slackbook:setup-timezone.png? |
- | id:4: | + | |
- | This sets your default | + | If you installed the X disk set, you'll be prompted to select a |
+ | default | ||
+ | here will apply to every user on your computer, unless that user | ||
+ | decides to run **// | ||
+ | a different one. Don't be alarmed if the options you see below do | ||
+ | not match the ones Slackware offers you. | ||
+ | **// | ||
+ | installed. So for example, if you elected to skip the //" | ||
+ | KDE will not be offered. | ||
- | You can manually enter run-level 4 by entering, as root, `init 4`. | ||
- | To select or switch between available [[slackware:desktop_environment|desktop environments]] run '' | + | {{ :slackbook: |
- | ===== References ===== | + | |
- | * Original source: http://slackbook.org/beta/#ch_install (authors: Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson) | + | The last configuration step is setting a root password. The root |
+ | user is the //"super user"// on Slackware and all other UNIX-like | ||
+ | operating systems. Think of root as the Administrator user. root | ||
+ | knows all, sees all, and can do all, so setting a strong root | ||
+ | password is just common sense. | ||
- | ===== External links ===== | ||
- | * [[ftp:// | + | With this last step complete, you can now exit the Slackware |
- | * [[http://slackware.com/getslack/ | + | installer and reboot with a good old < |
+ | < | ||
+ | Slackware | ||
+ | correctly, your computer will boot into your new Slackware | ||
+ | linux system. If something went wrong, you probably skipped the | ||
+ | LILO configuration step or made an error there somehow. Thankfully, | ||
+ | the next chapter should help you sort that out. | ||
- | ==== Slackware 13.37: a distribution to (re)discover (in French) ==== | ||
- | This is a series of four detailed articles about Slackware, | + | When you have rebooted into your new Slackware |
+ | very first step you should take is to create a user. By | ||
+ | default, the only user that exists after the install is the root | ||
+ | user, and it's dangerous to use your computer as root, given that | ||
+ | there are no restrictions as to what that user can do. | ||
- | **Author' | ||
- | * [[http:// | + | The quickest and easiest way to create |
- | * History of Slackware | + | is to log in as root with the root password that you created at |
- | * A few good reasons to choose Slackware | + | the end of the intallation process, |
- | * A few good reasons not to choose Slackware | + | **//adduser//** command. This will interactively assist |
- | * It's not a bug, it's a feature! | + | you in creating a user; see [[slackbook:users|User and Group Management|the section called “Managing Users and Groups" |
- | * How to get Slackware | + | information. |
- | * Slackware-specific documentation | + | |
- | * [[http:// | + | |
- | * Choose your boot parameters | + | |
- | * Select your keyboard layout | + | |
- | * Partition your hard disk | + | |
- | * Format your partitions | + | |
- | * Decide what you want to install | + | |
- | * Configure and install | + | |
- | * Your mouse in console mode | + | |
- | * Networking and services | + | |
- | * Which font for the console? | + | |
- | * System clock and timezone | + | |
- | * Which graphical environment? | + | |
- | * A password for root | + | |
- | * Finish | + | |
- | * What now? | + | |
- | | + | |
- | | + | |
- | | + | |
- | * Configure the network | + | |
- | * Add one or more users | + | |
- | * Configure the sound | + | |
- | * [[http:// | + | |
- | * Traditional Slackware package management | + | |
- | * Manage official Slackware packages using slackpkg | + | |
- | * Help! I can't find a package I need! | + | |
- | * Building a package using a SlackBuild script from SlackBuilds.org | + | |
- | * Manage SlackBuilds comfortably using sbopkg | + | |
- | * Configure the graphical server X.org | + | |
- | * Select your graphical environment | + | |
- | * Slackware in French | + | |
- | Original | + | ====== Sources ====== |
+ | <!-- If you copy information from another source, then specify that source --> | ||
+ | | ||
+ | <!-- Authors are allowed to give credit to themselves! --> | ||
+ | * Originally written by Alan Hicks, Chris Lumens, David Cantrell, Logan Johnson | ||
+ | <!-- * Contrbutions by [[wiki:user:yyy | User Y]] --> | ||
- | * [[http:// | + | <!-- Please do not modify anything below, except adding new tags.--> |
- | * [[http:// | + | <!-- You must also remove the tag-word " |
- | * [[http:// | + | {{tag> |
- | * [[http:// | + |