作者:AlbertWen
添加时间:2016-01-06 11:13:44
修改时间:2025-05-22 19:21:13
分类:
06.Linux软件安装
编辑
问题1:编译PHP,执行 sudo make 时,报错:
undefined reference to `libiconv_open'
undefined reference to `libiconv_close'
undefined reference to `libiconv'
解决方案:
那表示在 ./configure 沒抓好一些环境变数值。错误发生点在建立“-o sapi/cli/php”时出错,没給到要 link 的 iconv 函式库参数。
编辑 Makefile 大约77 行左右的地方: EXTRA_LIBS = ..... -lcrypt,在最后加上 -liconv,例如: EXTRA_LIBS = ..... -lcrypt -liconv
作者:AlbertWen
添加时间:2017-10-29 21:23:29
修改时间:2025-05-22 19:15:17
分类:
06.Linux软件安装
编辑
编译 Nginx
#安装依赖库
sudo apt-get -y install libpcre3 libpcre3-dev
sudo apt-get -y install libssl-dev openssl libcurl4-openssl-dev
sudo apt-get -y install build-essential libtool
#安装pcre库
cd /alidata/tmp/deepin-sdk/source2/nginx
sudo tar -xzvf ./pcre-8.36.tar.gz
cd ./pcre-8.36
sudo ./configure
sudo make && sudo make install
作者:AlbertWen
添加时间:2016-03-20 00:54:09
修改时间:2025-05-22 19:25:09
分类:
06.Linux软件安装
编辑
根据Linux(Ubuntu)下面SecureCRT 完全破解(地址:http://www.boll.me/archives/680)
添加了Linux(Ubuntu)下面SecureFX 完全破解,原理是一样的。
破解文件下载地址:
http://pan.baidu.com/s/1jG1Trro 密码: 9cme
作者:AlbertWen
添加时间:2014-06-07 23:06:00
修改时间:2025-05-25 23:48:32
分类:
06.Linux软件安装
编辑
作者:AlbertWen
添加时间:2017-10-27 09:46:12
修改时间:2025-05-22 19:29:31
分类:
06.Linux软件安装
编辑
Redis官方下载地址:http://redis.io/download
Redis安装
cd /usr/local/src/redis-3.2.3
sudo make
sudo make install
cp ./src/redis-benchmark /usr/local/redis/redis-3.2
cp ./src/redis-check-aof /usr/local/redis/redis-3.2
cp ./src/redis-check-rdb /usr/local/redis/redis-3.2
cp ./src/redis-cli /usr/local/redis/redis-3.2
cp ./src/redis-sentinel /usr/local/redis/redis-3.2
cp ./src/redis-server /usr/local/redis/redis-3.2
cp ./src/redis-trib.rb /usr/local/redis/redis-3.2
cp ./redis.conf /usr/local/redis/redis-3.2
作者:AlbertWen
添加时间:2017-10-26 13:03:23
修改时间:2025-05-26 01:50:31
分类:
06.Linux软件安装
编辑
在 Linux 下习惯使用 ll、la、l 等ls别名的童鞋到 mac os 可就郁闷了~~
其实只要在用户目录下建立一个脚本“.bash_profile”,
vim ~/.bash_profile
作者:AlbertWen
添加时间:2013-08-18 09:30:11
修改时间:2025-05-22 19:36:44
分类:
06.Linux软件安装
编辑
先前编译安装了 PHP5.2.17,现打算换成编译安装 PHP5.3.27,体验下 PHP5.3.x 新特性。
先删除原来的 PHP5.2.17,很简单,执行命令 rm -rf /usr/local/php/* ,删除编译安装目录下的文件即可。
作者:AlbertWen
添加时间:2017-10-26 13:04:33
修改时间:2025-05-29 12:42:21
分类:
06.Linux软件安装
编辑
修改 主机名称
sudo scutil --set HostName Albert-Mac
作者:AlbertWen
添加时间:2016-01-17 10:48:43
修改时间:2025-05-22 20:56:03
分类:
06.Linux软件安装
编辑
常用命令:
$ sudo update-rc.d nginx defaults #增加服务
$ sudo update-rc.d -f nginx remove #移除服务
在Debian中安装新服务时,默认是开机启动的。例如,如果你安装了Nginx,Nginx服务会在下次开机时自启动。如果你不想Nginx开机自启动,你就要自己移除 /etc/rcX.d/SYYnginx 或使用 update-rc.d。而使用update-rc.d的优势很明显,它会自己移除、增加对/etc/init.d/内的链接。
作者:AlbertWen
添加时间:2018-09-10 23:29:21
修改时间:2025-05-26 01:56:08
分类:
06.Linux软件安装
编辑
非阿里云主机用 nginx 代理转发 http 到 阿里云主机,刚开始访问正常,过几个小时后代理 nginx 报错:
An existing connection was forcibly closed by the remote host.
解决方案:
到阿里云后台 添加白名单,网址:
https://yundun.console.aliyun.com/?spm=5176.2020520156.aliyun_topbar.203.3af71b4cqo83S4&p=sc#/sc/visitWhiteList
