mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-03-24 02:20:09 +08:00
commit
0815dce47f
@ -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/
|
||||
|
@ -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/
|
||||
|
@ -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.
|
||||
|
||||

|
||||
|
||||
This is how LinSSID interface looks.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
||||
That’s 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/
|
@ -1,21 +1,21 @@
|
||||
Ubuntu 14.04 Apache2.2迁移2.4问题解决
|
||||
小贴士:在 Ubuntu 14.04 中Apache从2.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 只接受“On”或“Off”值。之前的任何不是“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/) 荣誉推出
|
||||
|
||||
|
@ -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中启动。
|
||||
|
||||
你将被要求输入管理员密码。
|
||||
|
||||

|
||||
|
||||
这就是LinSSID的界面。
|
||||
|
||||

|
||||
|
||||
现在选择你想要连接无线网络的网卡,比如这里是wlan0.点击Play按钮来搜寻wi-fi网络列表。
|
||||
|
||||
几秒钟之后,LinSSID就会显示wi-fi网络了。
|
||||
|
||||

|
||||
|
||||
如你在上面的截屏中所见,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/
|
@ -1,16 +1,16 @@
|
||||
Linux Basics: How To Check If A Package Is Installed Or Not In Ubuntu
|
||||
Linux 基础:如何在Ubuntu上检查是否已经安装了一个包
|
||||
================================================================================
|
||||

|
||||
|
||||
If you’re 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
|
||||
|
||||
That’s 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/
|
Loading…
Reference in New Issue
Block a user