Ca1s1'Blog

Ca1s1'Blog

A student

Linux软件安装 ./configure,make,make install的作用
自行安装编译Linux软件过程中会执行三个步骤:./configure,make,make install。这三个步骤在安装过程中到底起到什么作用,先前一直糊里糊涂的,今天就来一起学习下。 ./configure(配置)configure会根据当前系统环境和指定参数生成makefile文件,为下一步的编译做准备,你可以通过在 configure 后加上参数来对安装进行控制,比如代码:./configure –prefix=/usr 意思是将该软件安装在 /usr 下面,执行文件就会安装在 /usr/bin (而不是默认的 /usr/local/bin),资源文件就会安装在 /usr/s...
让终端走代理的方法
把代理服务器地址写入shell配置文件.bashrc或者.zshrc 直接在.bashrc或者.zshrc添加下面内容 121.export http_proxy="http://localhost:port"2.export https_proxy="http://localhost:port" 以使用shadowsocks代理为例,ss的代理端口为1080,那么应该设置为 121.export http_proxy="socks5://127.0.0.1:1080"2.export https_proxy="so...