UBANTU zongjie

1.fatal error: openssl/aes.h: No such file or directory

要在Debian、Ubuntu或者其他衍生版上安装OpenSSL:

  1. $ sudo apt-get install libssl-dev

要在Fedora、CentOS或者RHEL上安装OpenSSL开发包:

  1. $ sudo yum install openssl-devel

安装完后,尝试重新编译程序。

linux使用su切换用户提示 Authentication failure的解决方法

这个问题产生的原因是由于ubtun系统默认是没有激活root用户的,需要我们手工进行操作,在命令行界面下,或者在终端中输入如下命令:

sudo passwd

Password:你当前的密码

Enter new UNIX password:这个是root的密码
Retype new UNIX password:重复root的密码

sudo apt-get install phantomjs

检查是否正常工作,输入以下命令:

phantomjs --version
原文地址:https://www.cnblogs.com/wangchuang/p/10144701.html