Invalid operation build-depgcc 安装ngnix依赖组件

来源:互联网 发布:苏州程序员招聘 编辑:程序博客网 时间:2024/06/07 01:45
安装  GCC


sudo apt-get  build-depgcc
E: Invalid operation build-depgcc
原因是中间少了个空格,
使用如下命令即可。
sudo apt-get  build-dep  gcc



安装 pcre

sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev

 

安装openssl

sudo apt-get install openssl libssl-dev


安装zlibSa

sudo apt-get install zlib1g-dev



安装httpd服务

yum -y install httpd 


安装nginx

./configure --with-pcre=../pcre-8.37 --with-zlib=../zlib-1.2.8 --with-openssl=../openssl-fips-2.0.10


keepalived 安装


tar zxf kepalived-1.1.16.tar.gz
cd keepalived-1.1.16
./configure --prefix=/usr --sysconf=/etc
make
make intall


怎么装openssl-devel啊,

sudo apt-get install opensslsudo apt-get install libssl-devRedHat、centos才是openssl-devel


添加了软连接后:

keepalived no functions
ln -s /lib/lsb/init-functions /etc/rc.d/init.d/functions


Touch: cannot touch /var/lock/subsys/keepalived:

mkdir /var/lock/subsys



0 0
原创粉丝点击