Konfigurasi Print Server, CUPS di Ubuntu Server 9

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
uebies
Posts: 45
Joined: 21 Jan 2010, 14:46
Location: Indonesia
Contact:

Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby uebies » 19 Apr 2010, 09:16

Assalamualaikum, Hallo semua

Kakak semua saya mau tanya untuk reference konfigurasi CUPS/print server di ubuntu server 9.10. saya udah coba install cups, samba, dan udah nyoba set up cupsd.conf-nya. malah saya bingung gimana cara ngetest printernya. saya udah install drivernya juga, printernya samsung ML-1640(laser).saya liat di network placenya windows, printernya belum ada keliatan tuh.
cari2 tutorial di google dan dah nyoba ini itu, masih belum solved juga.
mohon pencerahannya ya..
Thanks ya
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby thrvers » 19 Apr 2010, 09:44

'
buat setting2 printernya bro.

test print jg ada.

CMIIW
User avatar
uebies
Posts: 45
Joined: 21 Jan 2010, 14:46
Location: Indonesia
Contact:

Re: Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby uebies » 19 Apr 2010, 09:53

Nah itu dia, saya coba browse dari local network ga bisa,

403 forbidden

ini isi cupsd.conf saya:

#
# "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Administrator user group...
SystemGroup lpadmin


# Only listen for connections from the local machine.
Listen 192.168.1.1:631 #ini ip ubuntu server saya, saya ga terlalu ngerti di bagian ini
Listen /var/run/cups/cups.sock
Listen all
# Show shared printers on the local network.
Browsing Yes
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType None

# Restrict access to the server...

Order allow,deny


# Restrict access to the admin pages...

Order allow,deny


# Restrict access to configuration files...

AuthType Default
Require user @SYSTEM
Order allow,deny


# Set the default printer/job policies...

# Job-related operations must be done by the owner or an administrator...

Require user @OWNER @SYSTEM
Order deny,allow


# All administration operations require an administrator to authenticate...

AuthType Default
Require user @SYSTEM
Order deny,allow


# All printer operations require a printer operator to authenticate...

AuthType Default
Require user @SYSTEM
Order deny,allow


# Only the owner or an administrator can cancel or authenticate a job...

Require user @OWNER @SYSTEM
Order deny,allow



Order deny,allow



# Set the authenticated printer/job policies...

# Job-related operations must be done by the owner or an administrator...

AuthType Default
Order deny,allow



AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow


# All administration operations require an administrator to authenticate...

AuthType Default
Require user @SYSTEM
Order deny,allow


# All printer operations require a printer operator to authenticate...

AuthType Default
Require user @SYSTEM
Order deny,allow


# Only the owner or an administrator can cancel or authenticate a job...

AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow



Order deny,allow
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby MasDjo » 19 Apr 2010, 10:36

Kok IP server sama dg IP modem speedy ya...?
Coba ikuti tutorial Ubuntu Server untuk install CUPS lihat di
http://ubuntu-indonesia.com/forums/ubbt ... #Post12126
User avatar
uebies
Posts: 45
Joined: 21 Jan 2010, 14:46
Location: Indonesia
Contact:

Re: Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby uebies » 19 Apr 2010, 14:18

makasih banyak reply-nya bwt semua. tutornya bagus banget.
saya ga pake speedy/.server cuma dipake database server aja, ni lagi test printer di ubuntu server, kalau bisa kan windowsnya di ganti ubuntu aja buat ngprint.

saya konfig printer lewat browser jaringan lokal dah bisa,cuma di network places masih belum muncul juga printernya.
saya udah share printernya.
gimana ya kak? udah saya delete terus install ulang printer, reboot dan sebagainya..masih bleum muncul,
mohon pencerahannya lagi kak..makasih
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby MasDjo » 19 Apr 2010, 22:26

Saya mencoba dg windows di Virtualbox, bisa detect printer dan folder sharing samba. Coba anda ikuti tutorial tsb, mulai dari Tahap XII Membuat Wins Server dengan Samba.
Ringkasannya sbb :
1. Edit smb.conf
Dan ini smb.conf yg saya coba sbb :

Tampilkan

Code: Select all

[global]
    log file = /var/log/samba/log.%m
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully*.
    obey pam restrictions = yes
    map to guest = bad user
    encrypt passwords = true
    public = yes
    passdb backend = tdbsam
    passwd program = /usr/bin/passwd %u
    wins support = yes
    max wins ttl = 18748800
    min wins ttl = 60
#### sesuaikan
    netbios name = blueskynet
####
    server string = %h server (Samba, Ubuntu)
    path = /var/tmp
    preferred master = yes
    domain master = yes
    local master = yes
    workgroup = WORKGROUP
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
    usershare allow guests = yes
    max log size = 1000
    pam password change = yes
    name resolve order = wins bcast hosts lmhosts
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
    os level = 65
    announce as = WfW
    guest ok = Yes
    usershare allow guests = Yes
    name cache timeout = 0
    nt status support = yes
    nt pipe support = yes
    winbind cache time = 60
    idmap uid = 50-9999999999
    idmap gid = 50-9999999999
    idmap cache time = 120
    lm announce = yes
    lm interval = 10
    enhanced browsing = Yes
    browse list = yes

[printers]
   comment = All Printers
   browseable = yes
   path = /var/spool/samba
   printable = yes
   guest ok = yes
   read only = no
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = no
   guest ok = yes


2. edit /etc/hosts
3. buat file /etc/samba/lmhosts
4. edit file /etc/nsswitch.conf
5. restart servis2 :

Code: Select all

# /etc/init.d/networking restart
# /etc/init.d/winbind stop
# /usr/sbin/samba restart
# /etc/init.d/winbind start
User avatar
uebies
Posts: 45
Joined: 21 Jan 2010, 14:46
Location: Indonesia
Contact:

Re: Konfigurasi Print Server, CUPS di Ubuntu Server 9

Postby uebies » 20 Apr 2010, 13:33

semua ok sekarang, printer dah muncul di share..
terima kasih banyak buat semua.
(copas dari tutor isi smb.confnya,,hehe)yang penting jalan

thanks lagi , bahagianyaaa diriku

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests