Merge pull request #1 from LCTT/master

更新 20150129
This commit is contained in:
Chang Liu 2015-01-29 20:45:24 +08:00
commit 0815dce47f
6 changed files with 99 additions and 95 deletions

View File

@ -1,3 +1,5 @@
Translating by FSSlc
dupeGuru Find And Remove Duplicate Files Instantly From Hard Drive
================================================================================
### Introduction ###
@ -95,4 +97,4 @@ via: http://www.unixmen.com/dupeguru-find-remove-duplicate-files-instantly-hard-
[a]:http://www.unixmen.com/author/sk/
[1]:http://www.hardcoded.net/dupeguru/
[2]:http://www.hardcoded.net/dupeguru_me/
[3]:http://www.hardcoded.net/dupeguru_pe/
[3]:http://www.hardcoded.net/dupeguru_pe/

View File

@ -1,3 +1,4 @@
zpl1025
A Shell Primer: Master Your Linux, OS X, Unix Shell Environment
================================================================================
On a Linux or Unix-like systems each user and process runs in a specific environment. An environment includes variables, settings, aliases, functions and more. Following is a very brief introduction to some useful shell environment commands, including examples of how to use each command and setup your own environment to increase productivity in the command prompt.
@ -689,4 +690,4 @@ via: http://www.cyberciti.biz/howto/shell-primer-configuring-your-linux-unix-osx
[12]:http://www.cyberciti.biz/faq/fedora-redhat-scientific-linuxenable-bash-completion/
[13]:http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
[14]:http://bash.cyberciti.biz/guide/Setting_shell_options
[15]:http://www.cyberciti.biz/write-for-nixcraft/
[15]:http://www.cyberciti.biz/write-for-nixcraft/

View File

@ -1,61 +0,0 @@
LinSSID A Graphical Wi-Fi Scanner for Linux
================================================================================
### Introduction ###
As you may know, **LinSSID** is a simple graphical software that can be used to find the wireless networks available.It is completely open source, written in C++ using Linux wireless tools, Qt5, and Qwt 6.1., and is similar to **Inssider** (MS Windows) in terms of look and functionality.
### Installation ###
You can install it either using source, or using a PPA if you use DEB based systems such as Ubuntu, and LinuxMint etc.
You can download and install LinSSID using source packages from [this link][1].
Here, we will install and test this software on Ubuntu 14.04 LTS using PPA.
Add the LinSSID PPA, and install it by typing.
sudo add-apt-repository ppa:wseverin/ppa
sudo apt-get update
sudo apt-get install linssid
### Usage ###
Once you installed, launch it either from menu or unity.
You”ll be asked to enter the administrative user password of your system.
![Password required for iwlist scan_001](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/Password-required-for-iwlist-scan_001.png)
This is how LinSSID interface looks.
![LinSSID_002](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/LinSSID_002.png)
Now, select the network interface you used to connect to the Wireless networks, for example wlan0 in my case. Click the Play button to search the list of available wi-fi networks.
After a new seconds, LinSSID will display the wi-fi networks.
![LinSSID_003](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/LinSSID_003.png)
As you see in the above screenshot, LinSSID displays the details of SSID names, MAC Id, Channel, Privacy, Cipher, Signal, and Protocol etc. Ofcourse, you can make LinSSID to display more options such as Security, bandwidth details etc. To do that, go to **View** menu, and select the desired option. Also, it displays the graphs of signal strength by channel and over time. Additionally, It works both on 2.4Ghz, and 5Ghz channels.
Thats it. Hope this tool will useful for you.
Cheers!!
Reference Links:
- [LinSSID Homepage][2]
--------------------------------------------------------------------------------
via: http://www.unixmen.com/linssid-graphical-wi-fi-scanner-linux/
作者:[SK][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/sk/
[1]:http://sourceforge.net/projects/linssid/files/
[2]:http://sourceforge.net/projects/linssid/

View File

@ -1,21 +1,21 @@
Ubuntu 14.04 Apache2.2迁移2.4问题解决
小贴士:在 Ubuntu 14.04 Apache2.2迁移2.4问题
================================================================================
如果你进行了一次**Ubuntu**从12.04到14.04的升级,那么这次升级还包括了一个重大的升级--**Apache**从2.2版本到2.4版本。**Apache**的这次升级带来了许多性能提升但是如果继续使用2.2的配置会导致很多错误。
如果你进行了一次**Ubuntu**从12.04到14.04的升级,那么还包括了一个重大的升级--**Apache**从2.2版本升级到2.4版本。**Apache**的这次升级带来了许多性能提升但是如果继续使用2.2的配置文件会导致很多错误。
### 访问控制的改变 ###
从**Apache 2.4**起授权authorization开始启用比起2.2的一个检查一个数据存储,授权更加灵活。过去很难确定那些命令授权应用了但是授权authorization的引入解决了这些问题,现在,配置可以控制什么时候授权方法被调用,什么条件决定何时授权访问。
从**Apache 2.4**起授权authorization开始启用比起2.2的一个检查一个数据存储,授权更加灵活。过去很难确定授权如何并且以什么样的顺序被应用,但是授权容器指令的介绍解决了这些问题,现在,配置可以控制什么时候授权方法被调用,什么条件决定何时授权访问。
这就是为什么大多数的升级失败是由于错误配置2.2的访问控制基于IP地址主机名和其他字符通过使用指令Order来设置Allow, Deny或 Satisfy但是2.4这些一切被新模板授权authorization来替代检查。
为了弄清楚这些,可以来看一些虚拟主机的例子,这些可以在/etc/apache2/sites-enabled/default 或者 /etc/apache2/sites-enabled/网页名称 中找到:
为了弄清楚这些,可以来看一些虚拟主机的例子,这些可以在/etc/apache2/sites-enabled/default 或者 /etc/apache2/sites-enabled/你的网页名称 中找到:
2.2虚拟主机配置:
旧的2.2虚拟主机配置:
Order allow,deny
Allow from all
新2.4虚拟主机配置:
2.4虚拟主机配置:
Require all granted
@ -23,24 +23,24 @@ Ubuntu 14.04 Apache2.2迁移2.4问题解决
### .htaccess 问题 ###
升级后如果一些设置不执行或者得到重定向错误,检查是否这些设置是在.htaccess文件中。如果是2.4已经不再使用.htaccess文件在2.4中默认使用AllowOverride指令来设置因此忽略了.htaccess文件。你需要做的就是改变和增加AllowOverride All命令到你的页面配置文件中。
升级后如果一些设置不执行或者得到重定向错误,检查是否这些设置是在.htaccess文件中。如果是2.4已经不再使用.htaccess文件在2.4中默认使用AllowOverride指令来设置因此忽略了.htaccess文件。你需要做的全部就是改变或者添加AllowOverride All命令到你的网站配置文件中。
上面截图中可以看见AllowOverride All指令。
### 丢失配置文件或者模块 ###
根据我的经验,这次升级带了其他问题就是老模块和配置文件不再需要或者不被支持了。所以你必须十分清楚Apache不再支持的各种文件并且在老配置中移除这些老模块来解决问题。之后你可以搜索和安装相似的模块来替代。
根据我的经验,这次升级带来的另一个问题就是在2.4中旧模块和配置文件不再需要或者不被支持了。你将会收到一条“Apache不能包含这个相应文件”的明确警告你需要做的是在配置文件中移除这些导致问题的命令行。之后你可以搜索和安装相似的模块来替代。
### 其他需要的知道的小改变 ###
### 其他需要了解的小改变 ###
这里还有一些其他改变的需要考虑,虽然这些通常只会发生警告,而不是错误。
- MaxClients重命名为MaxRequestWorkers使之有更准确的描述。而异步MPM如event服端最大连接数不量比与工作线程数。老名字依然支持。
- MaxClients重命名为MaxRequestWorkers使之有更准确的描述。而异步MPM如event户端最大连接数不量比于工作线程数。旧的名字依然支持。
- DefaultType命令无效使用它已经没有任何效果了。需要使用其他配置设定来替代它
- EnableSendfile默认关闭
- FileETag 默认"MTime Size"没有INode
- KeepAlive 只接受On或Off值。之前的任何不是Off或者0都认为是On
- Mutex 替代 Directives AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex, 和 WatchdogMutexPath 。需要删除或者替代所有2.2老配置的设置
- KeepAlive 只接受OnOff值。之前的任何不是Off或者0”的值认为是On
- Mutex 已经替代 Directives AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex 和 WatchdogMutexPath 。需要做的是估计一下这些被移动的指令在2.2中的使用情况,来决定是否删除或者使用Mutex来替代。
--------------------------------------------------------------------------------
@ -48,7 +48,7 @@ via: http://linoxide.com/linux-how-to/apache-migration-2-2-to-2-4-ubuntu-14-04/
作者:[Adrian Dinu][a]
译者:[Vic020/VicYu](http://vicyu.net)
校对:[校对者ID](https://github.com/校对者ID)
校对:[Caroline](https://github.com/carolinewuyan)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出

View File

@ -0,0 +1,62 @@
LinSSID - 一款Linux下的图形化Wi-Fi扫描器
================================================================================
### 介绍 ###
如你所知,**LinSSID** 是一款可以用于寻找可用无线网络的图形化软件。它完全开源用C++写成使用了Linux无线工具、Qt5、Qwt6.1,它在外观和功能上与**Inssider** MS Windows相近。
### 安装 ###
你可以使用源码安装如果你使用的是基于DEB的系统比如Ubuntu和LinuxMint等等你也可以使用PPA安装。
你可用从[this link][1]这个链接下载并安装LinSSID。
这里我门将使用PPA来安装并测试这个软件。
添加LinSSID的PPA并输入下面的命令安装。
sudo add-apt-repository ppa:wseverin/ppa
sudo apt-get update
sudo apt-get install linssid
### 用法 ###
安装完成之后你可以从菜单或者unity中启动。
你将被要求输入管理员密码。
![Password required for iwlist scan_001](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/Password-required-for-iwlist-scan_001.png)
这就是LinSSID的界面。
![LinSSID_002](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/LinSSID_002.png)
现在选择你想要连接无线网络的网卡比如这里是wlan0.点击Play按钮来搜寻wi-fi网络列表。
几秒钟之后LinSSID就会显示wi-fi网络了。
![LinSSID_003](http://180016988.r.cdn77.net/wp-content/uploads/2015/01/LinSSID_003.png)
如你在上面的截屏中所见LinSSID显示SSID名、MAC ID、通道、隐私、加密方式、信号和协议等等信息。当然你可以让LinSSID显示更多的选项比如安全、带宽等等。要显示这些进入**View**菜单并选择需要的选项。同样它显示了不同通道中的信号随着时间信号强度的变化。最后它可以工作在2.4Ghz和5Ghz通道上。
就是这样。希望这个工具对你有用。
干杯!!
参考链接:
- [LinSSID 主页][2]
--------------------------------------------------------------------------------
via: http://www.unixmen.com/linssid-graphical-wi-fi-scanner-linux/
作者:[SK][a]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/sk/
[1]:http://sourceforge.net/projects/linssid/files/
[2]:http://sourceforge.net/projects/linssid/

View File

@ -1,16 +1,16 @@
Linux Basics: How To Check If A Package Is Installed Or Not In Ubuntu
Linux 基础如何在Ubuntu上检查是否已经安装了一个包
================================================================================
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/04/ubuntu-790x558.png)
If youre managing Debian or Ubuntu servers, probably, you may use **dpkg** or **apt-get** commands often. These two commands are used to install, remove, update packages.
如果你正在管理Debian或者Ubuntu服务器你也许会经常使用**dpkg** 或者 **apt-get**命令。这两个命令用来安装、卸载和更新包。
In this brief tutorial, let us see how to check if a package is installed or not in DEB based systems.
在本篇中让我们看下如何在基于DEB的系统下检查是否安装了一个包。
To check whether a particular package for example firefox, is installed or not using command:
要检查特定的包比如firefox是否安装了使用这个命令
dpkg -s firefox
Sample output:
示例输出:
Package: firefox
Status: install ok installed
@ -36,13 +36,13 @@ Sample output:
and integrated search let you get the most out of the web.
Xul-Appid: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
As you see in the above output, the firefox is installed.
如上所见firefox已经安装了。
Also, you can do the same using **dpkg-query** command. This command displays the decent output, and ofcourse, you can wild cards too.
同样,你可以使用**dpkg-query** 命令。这个命令会有一个更好的输出,当然,你可以用通配符。
dpkg-query -l firefox
Sample output:
示例输出:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
@ -51,11 +51,11 @@ Sample output:
+++-====================================-=======================-=======================-=============================================================================
ii firefox 35.0+build3-0ubuntu0.14 amd64 Safe and easy web browser from Mozilla
To list all installed package in your system, enter the following command
要列出你系统中安装的包,输入下面的命令:
dpkg --get-selections
Sample output:
示例输出:
abiword install
abiword-common install
@ -79,13 +79,13 @@ Sample output:
zlib1g:amd64 install
zlib1g:i386 install
The above might be very long depending upon the number of packages you have installed on your system.
上面的输出可能会非常长,这依赖于你的系统已安装的包。
You can also filter through **grep** to get results for the exact package you need. For example, I want to see which gcc packages are already installed on my system using **dpkg** command:
你同样可以通过**grep**来过滤割到更精确的包。比如,我想要使用**dpkg**命令查看系统中安装的gcc包
dpkg --get-selections | grep gcc
Sample output:
示例输出:
gcc install
gcc-4.8 install
@ -97,11 +97,11 @@ Sample output:
libgcc1:amd64 install
libgcc1:i386 install
Additionally, you can find location of the files within a package using the parameter “**-L**”.
额外的,你可以使用“**-L**”参数来找出包中文件的位置。
dpkg -L gcc-4.8
Sample output:
示例输出:
/.
/usr
@ -120,18 +120,18 @@ Sample output:
/usr/bin/x86_64-linux-gnu-gcc-ar-4.8
/usr/bin/x86_64-linux-gnu-gcov-4.8
Thats all for now. Hope this short tutorial will useful for you.
就是这样了。希望这篇对你有用。
Good day!
美好的一天!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/linux-basics-check-package-installed-not-ubuntu/
作者:[SK][a]
译者:[译者ID](https://github.com/译者ID)
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/sk/
[a]:http://www.unixmen.com/author/sk/