Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu Server 安装打印服务(CUPS) #170

Open
Bpazy opened this issue Sep 3, 2020 · 1 comment
Open

Ubuntu Server 安装打印服务(CUPS) #170

Bpazy opened this issue Sep 3, 2020 · 1 comment
Labels

Comments

@Bpazy
Copy link
Owner

Bpazy commented Sep 3, 2020

  1. 通过 apt 安装 cups: sudo apt install cups
  2. 编辑 cups 配置:sudo vim /etc/cups/cupsd.conf
  3. 注释 Listen localhost:631,并添加 Port 631
  4. <Location />, <Location /admin>, <Location /admin/conf> 三个块中添加 Allow all

此时可以访问 IP:681,也不会出现“已禁止”了

@Bpazy Bpazy added the NAS label Sep 3, 2020
@alexsunday
Copy link

cupsctl --remote-any
systemctl restart cups

也可以~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants