0% found this document useful (0 votes)
169 views2 pages

Jasmine Install

This document provides instructions for installing Jasmine, Webmin, and CUPS on Debian 7.7 to allow printing. It includes steps to: 1. Download Jasmine, Webmin, and CUPS packages and dependencies. 2. Configure the CUPS server to listen publicly and restrict admin access. 3. Install and configure the Jasmine and Webmin backends and web interfaces to integrate with the MySQL print database. 4. Restart CUPS to complete the installation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views2 pages

Jasmine Install

This document provides instructions for installing Jasmine, Webmin, and CUPS on Debian 7.7 to allow printing. It includes steps to: 1. Download Jasmine, Webmin, and CUPS packages and dependencies. 2. Configure the CUPS server to listen publicly and restrict admin access. 3. Install and configure the Jasmine and Webmin backends and web interfaces to integrate with the MySQL print database. 4. Restart CUPS to complete the installation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

cups + jasmine + webmin no debian 7.

baixar os pacotes do jasmine


wget http://nayco3.free.fr/Jasmine/Releases/0.0.3/JASmine-MySQL-0.0.3.tar.bz2
wget http://nayco3.free.fr/Jasmine/Releases/0.0.3/JASmine-Backend-0.0.3.tar.bz2
wget http://nayco3.free.fr/Jasmine/Releases/0.0.3/JASmine-Web-0.0.3.tar.bz2

edite o arquivo
vi /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

apt-get update
apt-get install vim apache2 build-essential cups samba php5 mysql-server php5-mysql
libdbd-mysql-perl python python-imaging dc python-imaging pkpgcounter webmin
phpmyadmin

cadastrar senha do mysql

vi /etc/cups/cupsd.conf

Altere a linha
Listen localhost:631

Para:
Listen 631

-----------

# Restrict access to the server...


<Location />
Allow all
Order allow,deny
</Location>

# Restrict access to the admin pages...


<Location /admin>
Allow all
Order allow,deny
</Location>

# Restrict access to configuration files...


<Location /admin/conf>
Allow all
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>

-----------

criar \\prt\drivers no samba e jogar o driver da impressora.

cd (voltar para a pasta onde est�o os arquivos de instala��o do jasmine que foram
baixados)
tar -jxvf JASmine-MySQL-0.0.3.tar.bz2 && cd JASmine-MySQL-0.0.3
***editar o jasmine.sql

mysql -u root -p

CREATE DATABASE print;

CREATE USER 'jasmine'@'localhost' IDENTIFIED BY '123789';


GRANT ALL ON print.* TO jasmine@localhost identified by '123789';
FLUSH PRIVILEGES;
exit

mysql -u root -p print < jasmine.sql

cd (voltar para a pasta onde est�o os arquivos de instala��o do jasmine que foram
baixados)
tar -jxvf JASmine-Backend-0.0.3.tar.bz2 && cd JASmine-Backend-0.0.3
cp jasmine /usr/lib/cups/backend/ && cd /usr/lib/cups/backend
chmod 755 jasmine && chown root jasmine

alterar as linhas do arquivo: vi jasmine

vi jasmine
my $DBhost="localhost";
my $DBlogin="jasmine";
my $DBpassword="senha";//sua senha
my $Dbdatabase="print";

my $Debug_Mode=0;

Altere essa linha tambem:


my $lockfile = $backends_dir."/".$me.".lock";

Para:
my $lockfile ="/tmp/".$me.".lock";

cd JASmine-Backend-0.0.3
cp dummy /usr/lib/cups/backend && chmod 755 /usr/lib/cups/backend/dummy && chown
root /usr/lib/cups/backend/dummy

cd (voltar para a pasta onde est�o os arquivos de instala��o do jasmine que foram
baixados)
tar -jxvf JASmine-Web-0.0.3.tar.bz2 && cd JASmine-Web-0.0.3/
mkdir /var/www/jasmine && cp -r * /var/www/jasmine && cd /var/www/jasmine

cp config.php.dist config.php && vi config.php

// Database vars
$DB_host="localhost";
$DB_login="jasmine";
$DB_pass="123789"; //sua senha
$DB_db="print";

/etc/init.d/cups restart

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy