Slackware printing setup




















Also it will accept and answer browse requests from computers in our example IP range. A browse request is a query from another CUPS program, looking for peers on the network. Our server will now answer those browse requests, thereby making it's own print queues available for use by other CUPS clients in the network. The complete cupsd.

You'll notice that I also added that line Allow From Later on, we will add some security by means of SSL encryption. In this section I will show you how you can prevent other people on the network from accessing your CUPS server's administrative interface by password protecting it and using encryption. It would be silly if all of a sudden your print queue would be disabled by a joker…. That requirement fits only the root account, so that explains my statement of one of the previous sections.

You can change the name of this group by uncommenting the line SystemGroup sys in the cupsd. Alternatively, you can add your own acccount to the sys group of course. Belonging to the right group is not enough though. You will now have to create a password file for CUPS which holds your user account and an associated password. If the password file existed, then a line for the alien account would have been appended to it.

The contents of that file look like this now:. You should also have a [printers] section in smb. Check if the directory exists usually it should and if it is writable by all:. The 't' in drwxrwxrwt means that every user can write in this directory but their files cannot be deleted by anyone but themselves. If the directory does not exist, or it's permissions are incorrect, you can run the following three commands to fix that:.

To resolve this, you need to edit two files you will find the affected lines at the end and afterwards restart CUPS:. Even though it uses the command killall this does not mean that any process gets killed! Usually, the CUPS print queues will print to paper of course.

But there are cases when you want an electronic image of some document, or web page, that you do not need on paper. The PDF file format is the ideal candidate for this, since this format is supported on virtually all operating systems and architectures.

So, we need to add a print queue to CUPS which does not print our submitted jobs to paper sheets but instead generates a PDF file from our input, and makes this file available to us in some way. This section describes exactly how to set this up, leaving the choice up to you whether you want your PDF files delivered to you via email, or have them dumped into a directory of your choice. This setup uses no proprietary software to create the PDF files - all you need is already present on your Slackware machine.

For those with several computers in a network, having a CUPS server to generate the PDF's has the additional advantage that it does not matter what the client computer is. The files there are the best source of information available for such boot methods. Starting with the This allows them to be written to a USB stick, which can then be booted and used as the install source. Booting the installer is simply a process of inserting the Slackware install disk into your CD or DVD drive and rebooting.

You may have to enter your computer's BIOS and alter the boot order to place the optical drive at a higher boot priority than your hard drives. Some computers allow you to change the boot order on the fly by pressing a specific function key during system boot-up.

Since every computer is different, we can't offer instructions on how to do this, but the method is simple on nearly all machines. Once your computer boots from the CD you'll be taken to a screen that allows you to enter any special kernel parameters.

This is here primarily to allow you to use the installer as a sort of rescue disk. Some systems may need special kernel parameters in order to boot, but these are very rare exceptions to the norm.

Most users can simply press enter to let the kernel boot. You should see a lot of text go flying across your screen. Don't be alarmed, this is all perfectly normal. The text you see is generated by the kernel during boot-up as it discovers your hardware and prepares to load the operating system in this case, the installer.

You can later read these messages with the dmesg 1 command if you're interested. Often these messages are very important for troubleshooting any hardware problems you may have.

Once the kernel has completed its hardware discovery, the messages should stop and you'll be given an option to load support for non-us keyboards. Simply select the mapping that matches your keyboard type and continue on.

Unlike other Linux distributions which boot you directly into a dedicated installer program, Slackware's installer drops you into a limited Linux distribution loaded into your system's RAM. This limited distribution is then used to run all the installation programs manually, or can be used in emergencies to fix a broken system that fails to boot. Now that you're logged in as root there is no password within the installer it's time to start setting up your disks.

At this point, you may setup software RAID or LVM support if you wish or even an encrypted root partition, but those topics are outside of the scope of this book. TXT files on your CD if you desire to setup your system with these advanced tools. Most users won't have any need to do so and should proceed directly to partitioning. The Slackware installation media comes with tools to partition a hard drive. Usually partitioning a hard disk process is composed of these steps:.

Using fdisk to partition a hard drive is done by following the following steps. The partition table can be created differently, this is only an example:. This is a very simple partition table, naturally fdisk supports the creation of mixed logical and physical partitions. If you've never installed Slackware before, you can get a very basic over-view of the Slackware installer by reading the Help menu.

Most of the information here is on navigating through the installer which should be fairly intuitive, but if you've never used a curses-based program before you may find this useful.

Before we go any further, Slackware gives you the opportunity to select a different mapping for your keyboard. If you're using a standard US keyboard you can safely skip this step, but if you're using an international keyboard you will want to select the correct mapping now.

This ensures that the keys you press on your keyboard will do exactly what you expect them to do. If you created a swap partition, this step will allow you to enable it before running any memory-intensive activities like installing packages. It's a hard drive partition or a file, though Slackware's installer does not support swap files where regions of active system memory get copied when your computer is out of useable RAM.

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. This lets them install newer versions of Slackware without having to backup and restore this data. Here you'll tell the installer where to find the Slackware packages.

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. Project Charter. Site News. Table of Contents. In Other Languages Translations of this page? SlackDocs Request an account. Dokuwiki Manual. Dokuwiki Syntax. SlackDocs Style Guide. For specific information on using.

Also reference your distro documentation and configuration for additional information on which tags are relevant. Enter this command select the appropriate command depending on your system configuration : 32 bit distro users most users will use this command :. Step 5: Run Make A.



0コメント

  • 1000 / 1000