林海谐缘

 找回密码
 审核注册
搜索
查看: 4671|回复: 1

ubuntu18安装wdcp3.3的中间过程

[复制链接]
发表于 2020-3-22 13:27:15 | 显示全部楼层 |阅读模式
本帖最后由 林海缘 于 2020-3-22 21:08 编辑

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dis-upgrade
sudo apt-get install gcc


使用Ubuntu系统进行“sh lanmp.sh”步骤时出现了问题:
  lanmp.sh: 45: lib/common.conf: function: not found
  lanmp.sh: 67: lib/common.conf: Syntax error: "}" unexpected
sudo dpkg-reconfigure dash
  运行后 选择no。
  sudo sh lanmp.sh即可安装

lib/mysql.sh: line 13: cmake: command not found
sudo apt-get install cmake

Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
sudo apt-get install libncurses5-dev ncurses-devel bison

ubuntu checking for OpenSSL library ... not found
在nginx阶段,发现openssl已经安装
sudo apt-get install openssl
还提示该错误的话,查找一下libssl.so所在位置,重新连接一下
find / -name libssl.so
/usr/lib/x86_64-linux-gnu/libssl.so
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib

checking for zlib library ... not found
sudo apt-get install zlib1g-dev


make[1]: *** [objs/src/core/ngx_murmurhash.o] Error 1
查了-Werrori意思之后 发现原来它要求GCC将所有的警告当成错误进行处理 所有导致错误输出 并不能进行下一步
objs/Makefile文件,打开看了下,将第三行的-Werror去掉就可以
cd /home/ubuntu/src/nginx-1.8.1/objs
sudo vi Makefile
退出时提示只读,用:w !sudo tee % 退出
直接在目录里 sudo make -j2 编译

recipe for target 'xml/apr_xml.lo' failed
sudo apt-get install libexpat1-dev

ubuntu reinstall the libcurl distribution
easy.h
sudo find / -name easy.h
/usr/include/x86_64-linux-gnu/curl/easy.h
ubuntu@VM-0-17-ubuntu:~$ sudo cp /usr/include/x86_64-linux-gnu/curl/easy.h /usr/include/curl/
curl目录没有,mkdir 建一个


ubuntu configure: error: jpeglib.h not found.
sudo apt-get install libjpeg-dev


ubuntu png.h not found
sudo apt install libpng-dev

编译nginx的参考:
https://www.cnblogs.com/always-chen/articles/11320975.html


Makefile:545: recipe for target 'ext/openssl/openssl.lo' failed
make: *** [ext/openssl/openssl.lo] Error 1
make: *** Waiting for unfinished jobs....
 楼主| 发表于 2020-3-22 21:10:00 | 显示全部楼层
本帖最后由 林海缘 于 2020-4-5 19:41 编辑

ubuntu使用这个:
sudo apt-get install lamp-server^

tasksel,有意思
sudo tasksel install lamp-server

一键安装LAMP服务:sudo tasksel install lamp-server
一键卸载LAMP:sudo tasksel remove lamp-server
您需要登录后才可以回帖 登录 | 审核注册

本版积分规则

QQ|手机版|小黑屋|林海谐缘论坛 ( 豫ICP备07015145号 ) |
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论 | 管理员:linker(QQ:80555546) 群:3067918

GMT+8, 2024-7-27 13:05 , Processed in 0.025873 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表