From 08ce6d81ccb58eefe76d9b638e34d22214057513 Mon Sep 17 00:00:00 2001 From: MikeCoder Date: Sat, 31 May 2014 21:29:19 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ... using 'Nginx and Apache' in Arch Linux.md | 145 +++++++++--------- 1 file changed, 74 insertions(+), 71 deletions(-) rename {sources => translated}/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md (62%) diff --git a/sources/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md b/translated/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md similarity index 62% rename from sources/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md rename to translated/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md index 823c061422..b8d0270aae 100644 --- a/sources/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md +++ b/translated/tech/20140529 Install RainLoop Webmail (A Web Based Email Client) using 'Nginx and Apache' in Arch Linux.md @@ -1,60 +1,60 @@ -翻译中... - -Install RainLoop Webmail (A Web Based Email Client) using ‘Nginx and Apache’ in Arch Linux +使用`Nginx和Apache`安装RainLoop Webmail(一个网页邮件客户端) ================================================================================ -Rainloop is a free Open Source web application written in PHP which provides a fast modern web interface to access your emails on all major domain mail providers like Yahoo, Gmail, Outlook and many others as well as your own local mail servers, and, also, acts as a MUA (Mail User Agent) by accessing domain mail servers through IMAP and SMTP protocols. +Rainloop是一个使用PHP编写的,开源免费的网页邮件客户端。他支持包括Google,Yahoo,OutLook在内的主流的邮件服务器,当然,他也支持你自己的本地邮件服务器。他主要的表现看起来像使用IMAP和SMTP协议的MUA(邮件客户端)。 -#### RainLoop Demo #### +#### RainLoop 示例 #### -Have a quick look at the demo page setup by the author at [http://demo.rainloop.net/][1]. +可以看一下作者编写的安装文档: [http://demo.rainloop.net/][1]. -![Install RainLoop in Arch Linux](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux.jpg) -Install RainLoop in Arch Linux +![在Arch Linux上安装RainLoop](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux.jpg) +在Arch Linux上安装RainLoop -Once you have deployed Rainloop on your servers the only thing remaining to do is to access your Rainloop domain through a web browser and provide credentials for your enabled domain mail server. +一旦在您的服务器部署上Rainloop,剩余要做的唯一的事情是通过Web浏览器访问您的Rainloop,并提供你正在使用的邮件服务器信息。 -This tutorial covers **Rainloop** webmail installation process on **Arch Linux** from both point of view configuration files for **Apache** and **Nginx**, using a virtual local domain configured through local hosts file, without a DNS server. +本教程包含了在 **Arch Linux**上的**Rainloop** 网页客户端的安装流程,包括如何进行配置 **Apache** 或 **Nginx**, 当然本教程使用修改Hosts的方式,从而避免了DNS的访问。 If you also need references on installing Rainloop on **Debian** and **Red Hat** systems visit the previous RainLoop Webmail article at. +如果你还是需要一篇在**Debian** 和 **Red Hat** 安装 RainLoop Webmail 的教程,你可以看这篇文章: + - [Install RainLoop Webmail on Debian and Red Hat based Systems][2] -### Requirements ### +### 系统要求 ### -#### For Nginx #### +#### 对 Nginx #### - [Install LEMP (Nginx, PHP, MySQL with MariaDB engine and PhpMyAdmin) in Arch Linux][3] - [Create Virtual Hosts in Nginx Web Server][4] -#### For Apache #### +#### 对 Apache #### - [Install LAMP (Linux, Apache, MySQL/MariaDB, and PHP/PhpMyAdmin) in Arch Linux][5] -### Step 1: Create Virtual Hosts for Nginx or Apache ### +### Step 1:为 Nginx 或者 Apache 提供虚拟Host### -**1.** Assuming that you have configured your servers (**Nginx** or **Apache**) as described in upper presentations links, the first thing you need to do is to create a rudimentary **DNS** entry on local **hosts** file that points to **Arch Linux** system IP. +**1.** 假设你已经配置您的服务器(**Nginx**或**Apache**),如上面介绍的链接描述的,你需要做的第一件事是在Hosts文件里创建一个指向**的Arch Linux*系统的IP。 -On Linux system edit **/etc/hosts** file and include your Rainloop virtual domain after localhost entry. +对与Linux系统,修改 **/etc/hosts** 文件并且在你得localhost下添加 Rainloop virtual 域。如下: 127.0.0.1 localhost.localdomain localhost rainloop.lan 192.168.1.33 rainloop.lan ![Add Domain Host Entry](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-01.jpg) -Add Domain Host Entry +添加域信息 -On Windows system edit **C:\Windows\System32\drivers\etc\hosts** and add the following line at the bottom. +对于Windows系统,则修改 **C:\Windows\System32\drivers\etc\hosts** 并且将接下来的内容添加到你的文件里: 192.168.1.33 rainloop.lan **2.** After you verify local domain using **ping** command, create the necessary **Virtual Hosts** and **SSL** configurations for **Apache** or **Nginx**. -#### Nginx Virtual Hosts #### +#### Nginx 虚拟主机 #### -Create a file named **rainloop.lan** in **/etc/nginx/sites-available/** path with the following configuration. +在**/etc/nginx/sites-available/** 目录下使用如下命令创建一个名叫**rainloop.lan**的文件: $ sudo nano /etc/nginx/sites-available/rainloop.conf -Add the following file content. +添加如下的文件内容: server { listen 80; @@ -90,11 +90,11 @@ Add the following file content. } } -Then create the SSL equivalent file content. +接下来创建SSL配置文件: $ sudo nano /etc/nginx/sites-available/rainloop-ssl.conf -Add the following file content. +添加如下内容: server { listen 443 ssl; @@ -137,14 +137,14 @@ Add the following file content. } } -On the next step generate **Certificate** file and **Keys** for **SSL Virtual Host** and add your virtual domain name (**rainloop.lan**) on Certificate **Common Name**. +接下来将会自动生成**Certificate**和**Keys**文件,然后在文件中叫**Common Name*的证书里中添加您的虚拟域名(** rainloop.lan**)。 $ sudo nginx_gen_ssl.sh ![Generate Certificate and Keys](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-04.jpg\) -Generate Certificate and Keys +生成证书和密钥 -After the Certificate and SSL keys are generated, create Rainloop **root** webserver file path ( place where Rainloop PHP files reside), then enable Virtual Hosts and restart Nginx daemon to apply configurations. +生成证书和SSL密钥后,创建Rainloop**根**网络服务器的文件路径(Rainloop PHP文件所在的位置),然后启用虚拟主机,并重新启动Nginx的守护进程,应用配置。 $ sudo mkdir -p /srv/www/rainloop $ sudo n2ensite rainloop @@ -152,15 +152,15 @@ After the Certificate and SSL keys are generated, create Rainloop **root** webse $ sudo systemctl restart nginx ![Create RainLoop Web Director](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-05.jpg) -Create RainLoop Web Director +创建RainLoop 网页向导 -#### Apache Virtual Hosts #### +#### Apache 虚拟主机 #### -Create a new file named **rainloop.conf** in **/etc/httpd/conf/sites-available/** with the following content. +在**/etc/httpd/conf/sites-available/**中创建 **rainloop.conf**文件: $ sudo nano /etc/httpd/conf/sites-available/rainloop.conf -Add the following file content. +添加如下内容: ServerName rainloop.lan @@ -180,13 +180,13 @@ Add the following file content. ![Create Apache Virtual Host](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-06.jpg) -Create Apache Virtual Host +创建Apache虚拟主机 -Then create the SSL equivalent file content for Apache. +为Apache添加SSL支持: $ sudo nano /etc/httpd/conf/sites-available/rainloop-ssl.conf -Add the following file content. +添加如下文件内容: ServerName rainloop.lan @@ -220,17 +220,19 @@ Add the following file content. -The next step is to create **SSL Certificate** file and **Keys** for **SSL Virtual Host** and add put your virtual domain name (**rainloop.lan**) on Certificate **Common Name**. + +接下来将会自动生成**Certificate**和**Keys**文件,然后在文件中叫**Common Name*的证书里中添加您的虚拟域名(** rainloop.lan**)。 $ sudo apache_gen_ssl ![Create SSL Certificate and Keys](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-07.jpg) -Create SSL Certificate and Keys +创建SSL证书和密钥 ![Enter Organization Details](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-08.jpg) -Enter Organization Details +输入组织信息 After the Certificate and SSL keys are created, add Rainloop **DocumentRoot** path, then enable Virtual Hosts and restart Apache daemon to apply configurations. +在证书和密钥建立之后,添加RainLoop **DocumentRoot**目录,之后激活虚拟主机,并且重启Apache应用设置。 $ sudo mkdir -p /srv/www/rainloop $ sudo a2ensite rainloop @@ -238,15 +240,15 @@ After the Certificate and SSL keys are created, add Rainloop **DocumentRoot** pa $ sudo systemctl restart httpd ![Enable Virtual Hosts](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-09.jpg) -Enable Virtual Hosts +激活虚拟主机 -### Step 2: Add necessary PHP Extensions ### +### Step 2: 添加必要的PHP支持 ### -**3.** Whether you are using **Apache** or **Nginx** webserver, you need to enable the following PHP extensions on **php.ini** file and, also, include the new webserver **DocumentRoot** path to open_basedir directive. +**3.** 无论您使用的是**Apache**或**Nginx**Web服务器,您需要激活**php.ini**文件下中的PHP扩展,包括新的服务器**DocumentRoot**目录。 $ sudo nano /etc/php/php.ini -Locate and uncomment the following PHP extensions. +找到并且取消如下的PHP扩展的注释: extension=iconv.so extension=imap.so @@ -256,73 +258,74 @@ Locate and uncomment the following PHP extensions. extension=openssl.so ( enables IMAPS and SMTP SSL protocols on mail servers) extension=pdo_mysql.so -Also open_basedir statement should look like this. +open_basedir语句应该看起来和这个一样。 open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/:/srv/www/ **4.** After the **php.ini** file was modified restart your server than check **phpinfo** file to see if **SSL** protocols are enabled. +**4.** 在修改好**php.ini**之后,重启你得服务器,然后检查 **phpinfo** 文件,去看看**SSL**协议是否已经激活。 - ----------On Apache Web Server---------- + ----------对于 Apache Web 服务器---------- $ sudo systemctl restart httpd ---------- - ----------On Nginx Web Server---------- + ----------对于 Nginx Web 服务器---------- $ sudo systemctl restart nginx $ sudo systemctl restart php-fpm ![Check PHP Information](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-10.png) Check PHP Information -### Step 3: Download and Install RainLoop Webmail ### +### Step 3: 下载和安装 RainLoop Webmail ### -**5.** Now it’s time to download and extract Rainloop application from official website to Document Root directory but first install **wget** and **unzip** system utilities. +**5.**现在是时候从官方网站下载并解压缩Rainloop应用到文档根目录,但是需要首先安装**wget的**和**unzip**程序。 $ sudo pacman -S unzip wget -**6.** Download latest source package Rainloop zip archive using **wget** command or by using a browser to navigate to [http://rainloop.net/downloads/][6]. +**6.** 使用**wget**命令或通过使用浏览器导航到[http://rainloop.net/downloads/] [6]下载最新的源码包Rainloop zip归档。 $ wget http://repository.rainloop.net/v1/rainloop-latest.zip ![Download RainLoop Package](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-11.png) -Download RainLoop Package +下载 RainLoop 包 -**7.** After the download process finishes, extract Rainloop archive to Virtual Host Document Root path ( **/srv/www/rainloop/** ). +**7.** 下载过程完成后,解压Rainloop归档到虚拟主机文档根目录路径( **/srv/www/rainloop/** )。 $ sudo unzip rainloop-latest.zip -d /srv/www/rainloop/ ![Extract Rainloop Archive](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-12.png) -Extract Rainloop Archive +解压 -**8.** Then set the following permissions on application default path. +**8.** 然后设置应用程序的默认路径下的权限。 $ sudo chmod -R 755 /srv/www/rainloop/ $ sudo chown -R http:http /srv/www/rainloop/ ![Set Permission on RainLoop](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-13.jpg) -Set Permission on RainLoop +设置权限 -### Step 4: Configure Rainloop via Web Interface ### +### Step 4: 通过网页配置RainLoop### -**9.** Rainloop application can be configured in two ways: using a system shell of via browser. If you want to configure over terminal open and edit **application.ini** file located in **/srv/www/rainloop/data/_data_da047852f16d2bc7352b24240a2f1599/_default_/configs/**. +**9.** Rainloop应用程序可以通过两种方式进行配置:使用浏览器或者系统shell。如果要在终端配置就打开和编辑位于**/ srv/www/rainloop/data/_data_da047852f16d2bc7352b24240a2f1599/_default_/configs/**的application.ini**文件。 -**10.** To access Admin Interface from browser, use the following URL address **https://rainloop.lan/?admin**, then provide the default application credentials. +**10.** 若要从浏览器访问管理界面,使用下面的URL地址** https://rainloop.lan/?admin**,然后提供默认的应用程序用户名密码。 User= admin Password= 12345 ![Rainloop Web Interface](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-14.png) -Rainloop Web Interface +Rainloop Web 界面 -**11.** After initial login you will be warn to change the default password, so I advise you to do it. +**11.** 首次登录后,你将被警告更改默认密码,所以我劝你做这一点。 ![Change Default Password](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-15.png) -Change Default Password +修改默认 Password ![Set New Admin Password](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-16.png) -Set New Admin Password +设置新的 Admin Password -**12.** If you want to enable **contacts** login to MySQL database and create a new database with a privileged user on it, then provide database credentials on **Contacts** fields. +**12.** 如果您要启用**Contact**,就登录到MySQL数据库并创建上有一个特权用户和一个新的数据库,然后提供**Contacts**字段的数据库凭据。 mysql -u root -p create database if not exists rainloop; @@ -332,39 +335,39 @@ Set New Admin Password exit; ![Enable Contacts in RainLoop](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-17.png) -Enable Contacts in RainLoop +在 RainLoop 中激活联系人 ![Enter Contact Database Details](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-18.png) -Enter Contact Database Details +添加联系人数据 -**13.** By default Rainloop provides **Gmail**, **Yahoo** and **Outlook** domains mail server configuration files, but you can add other mail server domains if you like. +**13.** 默认情况下Rainloop提供** Gmail**,**Yahoo**和**Outlook**的邮件服务器的配置文件,但是你如果愿意,你也可以添加其他的邮件服务器域。 ![Default Mail Domains](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-19.png) -Default Mail Domains +默认 Mail 域 ![Add New Domain](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-20.png) -Add New Domain +添加新域 -**14.** To login on your mail server point your browser to **https://rainloop.lan** and provide your domain server credentials. +**14.** 登录你的邮件服务器,浏览** https://rainloop.lan**,并提供您的域名服务器验证信息。 ![Login to Mail Domain](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-21.png) -Login to Mail Domain +登录到邮件页面 ![Login to Gmail Domain](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-22.png) -Login to Gmail Domain +登录Gmail ![RainLoop Email Interface](http://www.tecmint.com/wp-content/uploads/2014/05/Install-RainLoop-in-Arch-Linux-23.png) -RainLoop Email Interface +RainLoop Email 界面 -For further configurations please visit official Rainloop documentation page at [http://rainloop.net/docs/][7]. +想要了解更多的文件,可以访问:[http://rainloop.net/docs/][7]. -With Rainloop you can access mail servers from any device that has a browser as long as your server has Internet connectivity, the only minus of using Rainloop application in Arch Linux so far is the lack of poppassd plugin package needed to change email account password. +通过Rainloop你可以从浏览器中访问具有Internet连接的任何邮件服务器。唯一的缺憾就是在Arch Linux下使用Rainloop应用的人缺乏修改电子邮件帐户密码的poppassd插件包。 -------------------------------------------------------------------------------- via: http://www.tecmint.com/install-rainloop-webmail-in-arch-linux/ -译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID) +译者:[MikeCoder](https://github.com/MikeCoder) 校对:[校对者ID](https://github.com/校对者ID) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出 From 8aef88abc5ffede3148173598dd84fe0c084217a Mon Sep 17 00:00:00 2001 From: alim0x Date: Sat, 31 May 2014 22:17:09 +0800 Subject: [PATCH 2/4] =?UTF-8?q?[=E7=BF=BB=E8=AF=91=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E5=88=A0=E9=99=A4]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...A' Error In Ubuntu 14.04 and Linux Mint.md | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 sources/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md diff --git a/sources/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md b/sources/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md deleted file mode 100644 index 7bcfcaf05a..0000000000 --- a/sources/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md +++ /dev/null @@ -1,37 +0,0 @@ -alim0x translating - -Fix “Cannot Add PPA” Error In Ubuntu 14.04 & Linux Mint -================================================================================ -![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/05/PPA_Error_Ubuntu.jpeg) - -A regular reader of It’s FOSS, Chetan Jain contacted me today with this question: How can I fix “Cannot add PPA” error in Ubuntu 14.04. Chetan was trying to install [TLP (power management tool to reduce overheting)][1] and encountered this error: - - chetan@Inspiron-3521:~$ sudo add-apt-repository ppa:linrunner/tlp - Cannot add PPA: ‘ppa:linrunner/tlp’. - Please check that the PPA name or format is correct. - -If you encounter similar error while adding a PPA in Ubuntu or Mint, don’t worry. It’s one of the (less) common issue with PPA and can be solved easily. - -### Fix Cannot add PPA error in Ubuntu and Linux Mint ### - -There can be mainly two reasons behind this kind of error. Either the CA certificates on your system are broken or there is a proxy set up in your network. - -Let’s first try to reinstall the CA certificates: - - sudo apt-get install --reinstall ca-certificates - -If the above command doesn’t work, perhaps there is proxy settings involved. To pass proxy settings to sudo, use it with E option in the following manner: - - sudo -E add-apt-repository ppa:linrunner/tlp - -This will get the PPA working. Chetan’s issue was solved with the second solution. I hope this quick tip help you as well to get rid of the PPA error. Any questions or suggestions are always welcomed. - --------------------------------------------------------------------------------- - -via: http://itsfoss.com/fix-add-ppa-error-ubuntu-1404-linux-mint/ - -译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出 - -[1]:http://itsfoss.com/solve-overheating-issue-battery-life-ubuntu-1304/ From ddfa15e8ac98a5921556db57bac41f6fa26bf8da Mon Sep 17 00:00:00 2001 From: alim0x Date: Sat, 31 May 2014 22:18:17 +0800 Subject: [PATCH 3/4] =?UTF-8?q?[=E7=BF=BB=E8=AF=91=E5=AE=8C=E6=88=90]20140?= =?UTF-8?q?530=20Fix=20'Cannot=20Add=20PPA'=20Er...x=20Mint.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...A' Error In Ubuntu 14.04 and Linux Mint.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 translated/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md diff --git a/translated/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md b/translated/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md new file mode 100644 index 0000000000..25f8effe09 --- /dev/null +++ b/translated/tech/20140530 Fix 'Cannot Add PPA' Error In Ubuntu 14.04 and Linux Mint.md @@ -0,0 +1,35 @@ +修复Ubuntu 14.04和Linux Mint中无法添加PPA源的错误 +================================================================================ +![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/05/PPA_Error_Ubuntu.jpeg) + +一名It’s FOSS的普通读者Chetan Jain今天联系了我,并询问道:我要怎样修复Ubuntu 14.04中无法添加PPA源的错误。Chetan在尝试安装[TLP (一个用于减少过热发生的电源管理工具)][1]的时候遇到了这个错误: + + chetan@Inspiron-3521:~$ sudo add-apt-repository ppa:linrunner/tlp + Cannot add PPA: ‘ppa:linrunner/tlp’. + Please check that the PPA name or format is correct. + +如果你在Ubuntu或Mint上添加PPA源时遇到了类似的情况,别担心。这是PPA源的一个常见情况(一般很少发生)之一,很容易就能够得到解决。 + +### 修复Ubuntu 14.04和Linux Mint中无法添加PPA源的错误 ### + +发生这种错误主要有两种原因。一种是您电脑中的CA证书已经损坏,或者是您的网络设置了一个代理。 + +首先让我们重新安装一下CA证书: + + sudo apt-get install --reinstall ca-certificates + +如果上面的命令不起作用,可能是网络使用了一个代理设置。要略过代理设置,使用sudo命令并加上参数E,就像下面这样: + + sudo -E add-apt-repository ppa:linrunner/tlp + +这样PPA源应该就能正常工作了。Chetan的情况通过第二种方法解决了。我希望这个快速指南同样能够帮助您摆脱PPA源错误。欢迎您提出任何问题或是建议来帮助我们改进。 + +-------------------------------------------------------------------------------- + +via: http://itsfoss.com/fix-add-ppa-error-ubuntu-1404-linux-mint/ + +译者:[alim0x](https://github.com/alim0x) 校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出 + +[1]:http://itsfoss.com/solve-overheating-issue-battery-life-ubuntu-1304/ From 76735f5601b0e020ae1673217f88ff0981945441 Mon Sep 17 00:00:00 2001 From: joeren Date: Sun, 1 Jun 2014 08:11:10 +0800 Subject: [PATCH 4/4] Update 20140530 Linux script command--A recorder inside your Terminal.md --- ...30 Linux script command--A recorder inside your Terminal.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/tech/20140530 Linux script command--A recorder inside your Terminal.md b/sources/tech/20140530 Linux script command--A recorder inside your Terminal.md index fa439287bd..67f4d6de72 100644 --- a/sources/tech/20140530 Linux script command--A recorder inside your Terminal.md +++ b/sources/tech/20140530 Linux script command--A recorder inside your Terminal.md @@ -1,3 +1,4 @@ +Translating by GOLinux... Linux script command - A recorder inside your Terminal ================================================================================ When you are working on the terminal or console, you may want to record what you have done in the terminal. The recording can be used as a documentation about what happen in terminal. Let say you are working together with some Linux Administrators at the same time. Or you let someone to remote your server. You may want to record about what happen in the terminal. To do this, you can use script command. @@ -82,4 +83,4 @@ via: http://linoxide.com/linux-command/script-command-recorder/ 译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID) -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出 \ No newline at end of file +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出