Changeset eadacf9


Ignore:
Timestamp:
Jun 24, 2010, 1:10:50 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
master, debian, mac, no-cups, nodebathena, web
Children:
45850db
Parents:
3b5bfeb
git-author:
Edward Z. Yang <edwardzyang@…> (04/11/09 16:49:07)
git-committer:
Jessica B. Hamrick <jhamrick@…> (06/24/10 01:10:50)
Message:

Update README after reinstalling zsr.
Signed-off-by: Edward Z. Yang <edwardzyang@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gutenbach/debian/lib/README

    r3b5bfeb readacf9  
    6363    /afs/sipb/project/sipbmp3/sipbmp3.git
    6464
    65 While sudo'ed as root, you should git clone this somewhere; zsr has
    66 it dumped in /usr/local/bin, while scourge puts it the more cordoned
    67 off /root/sipbmp3.
     65Place this in /root/sipbmp3; the remctl scripts will assume that the
     66scripts can be found in this location.
    6867
    6968
     
    128127in /etc/lprng/printcap.
    129128
     129In /etc/lprng/lpd.conf:
     130
     131    printcap_path=...
     132
     133add /etc/lprng/printcap to the beginning of the pathlist, so it looks like:
     134
     135    printcap_path=/etc/lprng/printcap:|/usr/lib/get_hesiod_pcap
     136
     137/etc/printcap will also work, assuming lprng doesn't do something funky
     138in the future.
     139
     140WARNING: On a cluster machine, get_hesiod_pcap will clobber sipbmp3
     141because it sets all:all=someotherprinter, making lpr not see sipbmp3.
     142There are two ways of fixing this:
     143
     1441. Patch /usr/lib/get_hesiod_pcap to return a full pcap line instead
     145of all when it gets "all" from stdin.
     146
     1472. Remove get_hesiod_pcap from the list.
     148
    130149To check your modifications, and create the necessary files and folders,
    131150you should run:
     
    135154(As root, of course). You might get a failure on a directory
    136155/var/spool/lpd/%P doesn't exist; simply mkdir it and run checkpc -V -f
    137 again.
    138156
    139157With recent versions of lprng, you will also need to make lpd less paranoid
     
    148166    #REJECT NOT SERVER
    149167
    150 And, in /etc/lprng/lpd.conf:
    151 
    152     printcap_path=...
    153 
    154 add /etc/lprng/printcap to the beginning of the pathlist, so it looks like:
    155 
    156     printcap_path=/etc/lprng/printcap:|/usr/lib/get_hesiod_pcap
    157 
    158 /etc/printcap will also work, assuming lprng doesn't do something funky
    159 in the future.
    160 
    161 You will also need to add this line:
     168You will also need to add this line in lpd.conf:
    162169
    163170    lpd_listen_port=515
     
    286293Now, install the machine-wide keytab in /etc/krb5.keytab, and install the
    287294daemon keytab as /etc/daemon.keytab.  (The first filename is required; the
    288 second can be changed.)
     295second can be changed.)  Make sure you chown and chgrp it to daemon.
    289296
    290297Finally, edit /etc/printcap and give it information about the Kerberos:
     
    303310
    304311It's useful to be able to control the volume. Remctl is the way to do
    305 this without asking people to ssh in, and then alsamix(er). The important
    306 remctl scripts come with a sipbmp3 checkout, but you must add symlinks
    307 to it from /usr/local/bin and/or do another checkout in sipbmp3.
     312this without asking people to ssh in, and then alsamix(er).
    308313
    309314You will probably need to apt-get install remctl-server. Then, replace
     
    313318Please note that remctl will NOT work without a keytab setup.
    314319
    315 XXX: The fact that these *have* to be in /usr/local/bin is not very...
    316 nice.  We should fix this.
    317 
    318320
    319321X. Deploying sipbmp3web
Note: See TracChangeset for help on using the changeset viewer.