Merge pull request #493 from Linux-pdz/master

translated
This commit is contained in:
Xingyu.Wang 2013-12-01 03:26:50 -08:00
commit bda7d9005a
4 changed files with 84 additions and 86 deletions

View File

@ -1,50 +0,0 @@
翻译中 by Linux-pdz
Daily Ubuntu Tips Print From Shared Windows Printers
================================================================================
For users with both Windows and Ubuntu machines and a single printer, this blog post is going to show you how to share a printer in Windows and allow Ubuntu machines to printer to it.
Almost all printers support Windows by default. Printer manufactures are building printers for Windows and not many are doing it for Linux systems, including Ubuntu. So, if you have a printer with full Windows support, you can share it from the Windows machine and allow other systems to print to it.
I ran into this problem few years go when most printers didnt support Linux systems. I had an older printer which was designed specifically for Windows and Mac OS X with no support for Linux.
I installed the printer driver on my Windows machine and it worked great. My Windows machine was printing just fine, but couldnt get the Ubuntu machine to because the printer didnt support LAN.
So, I shared the printer from Windows and my Ubuntu machine was printing properly with the correct fonts and style. If you find yourself in similar situation, follow the guide below to do the same.
First, logon to Windows and right-click the printer you wish to share and click **Printer properties**
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu.png)
Next, select the Sharing tab and check the Share this printer box to share the printer. Remember the shared name because youll connect using that shared name.
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu1.png)
Finally, open the commands prompt as administrator and run the commands below to enable file and printer sharing through the firewall.
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
Next, logon to Ubuntu and select the **gear** on the panel at the top right and select System **Settings…**
When System Settings opens, select Printers. The add a printer. When prompted to select a device, choose **Windows Printer via SAMBA**.
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu2.png)
Enter the Windows computer IP address or hostname followed by the printer shared name. You may also have to enter your windows account credentials (username and password). Click Browse to verify that you can see the printer and when youre done, click Forward to continue.
Next, select the printer brand and model. If you dont see the particular model, choose the next closest to it and continue.
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu3.png)
If everything is done correctly, you should have a printer installed and ready to use.
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu4.png)
Enjoy!
--------------------------------------------------------------------------------
via: http://www.liberiangeek.net/2013/11/daily-ubuntu-tips-print-from-shared-windows-printers/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出

View File

@ -1,36 +0,0 @@
翻译中by Linux-pdz
Daily Ubuntu TipsProtect Your Computers Using OpenDNS Secure DNS Infrastructure
================================================================================
The Internet is a jungle. Everyone good and bad is connected to the same Internet were all connected to. Folks whose business is to infect your computer with nasty viruses and those who seek to protect the good guys are all connected.
With that said, the Internet is the best thing that ever happened to mankind. It contains wealth of information and resources that anyone can access, mostly free of charge. Some of the most prestigious colleges are offering free high level courses to anyone who wants to learn. It is a good thing that the Internet is available to us today.
Something to always keep in your mind when using the Internet is that your computer is always a target. A target for viruses, malwares and other programs that want to destroy it.
Because of that, its always recommended to use the Internet with computers that are protected with antivirus and antispyware programs. In some cases, that may still not be enough. Adding more layers of security is always good.
When looking to add additional layers of security to protect your machines, using OpenDNS secure DNS infrastructure may help. There are many parts that make up the Internet and protecting as many of its parts is the best way to go.
First, youll want to install antivirus and antispyware programs on your computers. Because browsing the Internet allows your computer to query remote DNS providers, using protected and secured DNS providers will go a long way protecting your machine.
This brief tutorials is going to show you how to configure Ubuntu machine to use OpenDNS infrastructure to help protect your machines.
sudo gedit /etc/dhcp/dhclient.conf
Finally, add the line below into the file and save it.
supersede domain-name-servers 208.67.222.222,208.67.220.220;
Restart your computer and enjoy!
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/opendns-ubuntu.png)
Enjoy!
--------------------------------------------------------------------------------
via: http://www.liberiangeek.net/2013/11/daily-ubuntu-tipsprotect-your-computers-using-opendns-secure-dns-infrastructure/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出

View File

@ -0,0 +1,49 @@
每日Ubuntu小技巧-使用Windows共享打印机进行打印
===
对于那些既有Windows电脑又有Ubuntu电脑但却只有一台打印机的用户这篇博文向你展示如何在Windows中共享一个打印机并允许Ubuntu使用它来打印。
几乎所有的打印机都默认支持Windows。许多打印机生产商都为Windows生产打印机但是很多却并不为Linux系统生产包括Ubuntu。所以假如你有一台支持Windows的打印机你可以在Windows机器上分享它然后让其它系统来使用它来打印。
在几年之前我遇到了这个问题那时大多数打印机生产商不支持Linux系统。我有一台老式的只支持Windows和Mac OS X但却不支持Linux的打印机。
我在我的Windows机器上安装了打印机驱动然后它就可以很好的工作咯。我的Windows机器使用它来打印非常好但是我的Ubuntu却无法使用它来打印因为打印机并不支持LAN。
所以我在Windows上共享该打印机然后我的Ubuntu机器就可以使用合适的字体和风格进行打印咯。假如你也遇到类似的情景你可以按照下面的指导也这样做。
首先登入Windows右击你要共享的打印机然后点击**打印机属性**
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu.png)
接着,选择“分享”标签页,勾选上‘分享这台打印机’复选框来分享这台打印机。记住共享打印机的名字,因为你要使用这个共享名来连接这台打印机。
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu1.png)
最后,以管理员权限运行命令行终端,运行以下命令以便于文件和打印机可以通过防火墙实现共享。
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
接着登入Ubuntu中选择顶部面板右边的**齿轮**,然后选择**设置...**
系统设置打开后,选择打印机,然后点击**添加**。当跳出来一个窗口让你选择设备时选择使用SAMBA的Windows打印机
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu2.png)
键入Windows电脑的IP地址或者主机名后面接着键入共享的打印机名。你可能需要键入你的windows验证信息用户名和密码。验证后你就可以看到打印机咯当你完成这些后就可以点击向前继续下一步咯。
接着,选择打印机商标和模型。假如你在列表中看不到和你的打印机相似的模型,选择一个最接近它的然后继续。
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu3.png)
以上这些都搞定了之后,你的打印机就安装好咯,可以使用了。
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/printersharingubuntu4.png)
好好享受吧!
--------------------------------------------------------------------------------
via: http://www.liberiangeek.net/2013/11/daily-ubuntu-tips-print-from-shared-windows-printers/
译者:[Linux-pdz](https://github.com/Linux-pdz) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出

View File

@ -0,0 +1,35 @@
每日Ubuntu小技巧-使用OpenDNS的安全协议保护你的电脑
===
因特网是个大熔炉。无论是好人还是坏人,都可以连接到和我们一样的网络。那些制作病毒感染人们电脑的坏蛋以及寻求保护人们的好人们全都连接到同一网络中。
就像人们所说的那样,因特网是过去所出现的一个最好的东东。它包含着任何人都可以获取的有价值的信息和资源,且大部分可以免费获取。一些最著名高校的人提供有免费的高质量课程,可供任何想学习的人来学习。今天,我们都可以连入因特网真是一件好事情。
但是有些事情你一定要记住,当你连入互联网时,你的电脑就成了攻击的目标。成为病毒,木马和其它程序破坏的目标。
正因为此,推荐连入因特网的电脑都要使用反病毒和反间谍软件来保护。在有些情况下,即使使用了这些软件也不能完全保证你的安全。再添加一个安全层总是一个好主意。
当寻找添加一个额外的安全层去保护你的机器时使用OpenDNS的安全DNS框架可能会有帮助。因特网有许多部分组成尽力对其每一部分都进行相应保护是保证安全的最好方法。
首先你要在你的电脑上安装反病毒和反间谍软件。由于浏览因特网时允许你的电脑查询远程DNS服务器因此使用受保护的安全的DNS服务器将是保护你电脑安全的好方法。
这是一个简明手册告诉你如何在Ubuntu上配置OpenDNS框架以便保护你的电脑。
sudo gedit /etc/dhcp/dhclient.conf
最后,在打开的文件中添加下面一行,然后保存。
supersede domain-name-servers 208.67.222.222,208.67.220.220;
重启你的电脑,祝你玩的开心!
![](http://www.liberiangeek.net/wp-content/uploads/2013/11/opendns-ubuntu.png)
好好享受吧!
--------------------------------------------------------------------------------
via: http://www.liberiangeek.net/2013/11/daily-ubuntu-tipsprotect-your-computers-using-opendns-secure-dns-infrastructure/
译者:[Linux-pdz](https://github.com/Linux-pdz) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出