惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
博客园_首页
量子位
博客园 - 司徒正美
S
SegmentFault 最新的问题
J
Java Code Geeks
小众软件
小众软件
博客园 - 【当耐特】
The Register - Security
The Register - Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
T
Tailwind CSS Blog
博客园 - Franky
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
Cyberwarzone
Cyberwarzone
腾讯CDC
Apple Machine Learning Research
Apple Machine Learning Research
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Hacker News
The Hacker News
aimingoo的专栏
aimingoo的专栏
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
F
Full Disclosure
D
DataBreaches.Net
Martin Fowler
Martin Fowler
Cisco Talos Blog
Cisco Talos Blog
L
LINUX DO - 最新话题
云风的 BLOG
云风的 BLOG
C
Check Point Blog
T
Threatpost
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
W
WeLiveSecurity
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
Lohrmann on Cybersecurity
Last Week in AI
Last Week in AI
T
Tor Project blog
T
Troy Hunt's Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Security Affairs
SecWiki News
SecWiki News

博客园 - forrestsun

问题整理 weedfs getsockopt: connection timed out CubieTruck上安装mjpg_streamer devexpress bandgridview使用总结(14.2) WeedFS0.6.8-引用库列表 NSQ的消息订阅发布测试 WeedFS问题收集 WeedFS依赖库 0.6.1 golang 前置补0 MongoDB-MMS使用总结 golang 格式化时间为字符串 格式化字符串为时间学习总结 mgo-后续测试(指定字段,获取id) mgo中DBRef-数据查询测试 mgo中DBRef-数据添加测试 weed-fs 基础测试 weed-fs 压力测试 weed-fs参数列表 mgo like的两种写法
利用cubieboard设置samba打印服务器
forrestsun · 2016-08-04 · via 博客园 - forrestsun
#注意安装下面软件前,先将cubieboard的动态地址改为静态地址!

apt-get install samba #安装samba vi /etc/samba/smb.conf //配置 workgroup = WORKGROUP security = user [printers] comment = All Printers browseable = yes * path = /var/spool/samba printable = yes guest ok = yes * read only = yes create mask = 0700 apt-get install cups #安装CUPS vi /etc/cups/cupsd.conf #Listen localhost:631 Port 631 Listen /var/run/cups/cups.sock <Location /> Order allow,deny Allow all </Location> # Restrict access to the admin pages... <Location /admin> Order allow,deny Allow all </Location>


登录:http://hostname:631 选择查找打印机

选择已经联机的打印机就可以了。由于我们的打印机是联想LJ2600D一开始费了不少劲配置,没想到在查找新打印机里能直接查到 :(

剩下的就是在windows下添加打印机,选择网络 然后输入你的机器地址就能找到了。

 关于安全,通过下面两种设置,可以避免未授权的用户访问管理页面:

<Location /admin>
      Order allow,deny
      Allow from 10.10.10.5
</Location>


<Location /admin>
      Order allow, deny
      Allow from 10.10.10.*
</Location>

参考:

CUPS Print Server (Ubuntu 14.04 LTS) : https://wiki.sebeka.k12.mn.us/ubuntu:cups_print_server

Printer Drivers : https://njh.eu/printer