![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ubuntu
laiyijian
这个作者很懒,什么都没留下…
展开
-
apt-get update与apt-get upgrade区别
以前一直没搞明白这两个有什么区别,下边才说说两者的区别,环境:ubuntuupdate 是更新 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的地址,这样才能获取到最新的软件包upgrade 是升级已安装的所有软件包,升级之后的版本就是本地地址里的,因此,在执行 upgrade 之前一定要执行 update, 这样才能更新到最原创 2017-07-26 16:28:00 · 33152 阅读 · 0 评论 -
ubuntu环境下安装php的yac扩展
下载地址:https://pecl.php.net/package/yaccd /optwget https://pecl.php.net/get/yac-0.9.2.tgztar -zxvf yac-0.9.2.tgzcd yac-0.9.2phpize./configuremake make install然后在php.ini加上ex原创 2017-07-26 16:51:08 · 946 阅读 · 0 评论 -
ubuntu环境下apache2配置买的https证书
http://blog.csdn.net/any2mobile/article/details/15814087转载 2017-12-29 16:25:52 · 436 阅读 · 0 评论 -
ubuntu配置静态ip
1:vim /etc/network/interfaces添加: auto eth0iface eth0 inet staticaddress 192.168.10.18netmask 255.255.255.0gateway 192.168.10.12:重启网卡/etc/init.d/networking restart3:有时候需要配置域名服务器vim /etc/resolv.confna...原创 2018-05-14 15:50:44 · 142 阅读 · 0 评论 -
ubuntu apt-get默认源报以下错误解决办法
Reading package lists... DoneW: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty/InRelease W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/trusty-security/InRelease W: Failed ...原创 2018-05-14 16:53:25 · 3722 阅读 · 1 评论 -
ubuntu14编译安装apache-2.4
最近准备升级mysql到5.7版本,线上是ubuntu+apache环境,所以需要在本地搭建一个测试环境,废话就不多说了,直接上步骤1:各种依赖包安装 apt-get install build-essential build-essential这个包安装了会自动安装ibc6-dev,linux-libc-dev,libstdc++6-4.1-dev等软件包,也可以不安装build-es...原创 2018-05-25 18:51:58 · 680 阅读 · 0 评论