Debian – ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.解决方法

Debian – ERROR: The certificate of ‘raw.githubusercontent.com’ is not trusted.解决方法
今天使用debian下载github上的脚本的时候出现了下图一样的错误. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected. ERROR: The certificate of ‘raw.githubusercontent.com’ is not tru...

Debian – 卸载clamav

Debian – 卸载clamav
为什么要卸载呢? 因为太占用内存.国内一般使用clamav比较少吧.   卸载clamav apt-get remove clamav 1 apt-get remove clamav 卸载clamav以及依赖 apt-get remove --auto-remove clamav 1 apt-get remove --auto-...

VestaCP – 升级PHP至5.6

VestaCP – 升级PHP至5.6
  因为操作系统是Debian7,所以安装后的veastcp是php5.4,但是一些程序必须是PHP5.6,懒得切换系统了.就选择了更新. 更新比较简单,还是走dotdeb,记得webmin升级php的时候也用的这个源,不知道还有没有印象.   添加源 echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list echo "deb-src http://packages.dotdeb....

Debian6/7/8 – 彻底卸载exim4

Debian6/7/8 – 彻底卸载exim4
  又是一个老生常谈的问题.15年一篇,16年一篇,17年又是一篇.18年,这个可能真的没有了.因为这次要彻底解决. 卸载方法 apt-get remove --purge exim4 exim4-base exim4-config exim4-daemon-light 1 apt-get remove --purge exim4 exim4-base exim4-config exim4-daemon-light   推荐卸载...

Debian – W: Some index files failed to download. They have been ignored, or old ones used instead.解决办法

Debian – W: Some index files failed to download. They have been ignored, or old ones used instead.解决办法
今天在折腾国内的Linux VPS出现这样的问题 root@cloud:~# apt-get update Err http://mirrors.163.com jessie InRelease Err http://mirrors.163.com jessie-updates InRelease Err http://security.debian.org jessie/updates InRelease Err http://mirrors.163.com jessie Release.gpg Could not resolve 'mirrors.163.com' Err http://security.debian.org jessie/...

Ubuntu/Debian – 卸载phpmyadmin教程

Ubuntu/Debian – 卸载phpmyadmin教程
  今天在卸载PHPmyadmin的时候出现这样的错误 After this operation, 0 B of additional disk space will be used. Setting up phpmyadmin (4:3.4.11.1-2+deb7u6) ... /var/lib/dpkg/info/phpmyadmin.config: 94: .: Can't open /usr/share/dbconfig-common/internal/mysql dpkg: error processing phpmyadmin (--configure): subprocess installed post-install...

Ubuntu/Debian 彻底卸载Apache2

Ubuntu/Debian 彻底卸载Apache2
前面文中有提起卸载webmin等,这篇主要是彻底卸载apache,不然安装其他的面板可能会出现问题.   卸载Apache2 输入以下的命令进行卸载. sudo apt-get --purge remove apache2 sudo apt-get --purge remove apache2.2-common sudo apt-get --purge remove apache2-utils sudo apt-get autoremove 1234 sudo apt-get --purg...

Debian – E: Could not get lock /var/cache/apt/archives/lock解决方式

Debian – E: Could not get lock /var/cache/apt/archives/lock解决方式
Debian安装其他的软件的时候出现这个问题, E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ Error: apt-get upgrade failed 这个问题比较简单,就是因为被锁定/占用的问题.我们可以尝试使用   解决方案 执行以下命令即可. rm /var/lib/apt/lists/lock ...

Debian/Ubuntu – 彻底卸载Mysql

Debian/Ubuntu – 彻底卸载Mysql
  今天在安装使用一些软件的时候,发现Mysql已经安装了,并且出现了不明的错误. 所以我们要彻底卸载掉mysql.   卸载方法 首先检查mysql/与其相关的软件是否安装 dpkg --get-selections | grep mysql 1 dpkg --get-selections | grep mysql 如果出现已经有安装的.我们使用下面的命令即可完成...

Debian/Ubuntu – Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable解决

Debian/Ubuntu – Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable解决
  今天在更新一些程序时出现了下面的错误: dpkg: error: dpkg status database is locked by another process E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 123 dpkg: er...