我想在没有根权限的Debian 6(i 686-pc-linux)上运行Cpuminer。我下载了这个软件:
http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.2.tar.gz/download
我知道:
在/home/user/下载
tar -xvf pooler-cpuminer-2.3.2.tar.gz
cd cpuminer-2.3.2
./configure --prefix=$HOME
我得到了错误:
...
checking for pthread_create in -lpthread... y
我使用exec获取curl输出(我需要使用curl作为linux命令)。
当我使用php_cli启动我的文件时,我会看到一个卷曲输出:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 75480 100 75480 0 0 55411 0 0:00:01 0:00:01 --:--:-- 6
PHP curl不适用于Amazon Linux上的https请求。这是我卷曲https url时得到的结果:
curl -v https://google.com
Rebuilt URL to: https://google.com/
Trying 172.217.3.174...
Connected to google.com (172.217.3.174) port 443 (#0)
Initializing NSS with certpath: sql:/etc/pki/nssdb
Closing connection 0
curl: (77) Problem with the SSL
我是Linux的新手,所以这可能是个新手问题.
在Ubuntu18.04LTS的新安装上,我想安装NodeJS。我运行node --version来验证它是否没有安装:
Command 'node' not found, but can be installed with:
sudo apt install nodejs
因此,它没有安装,终端输出建议如何安装它。
其他一些在线消息来源建议使用wget或curl来安装它,如下所示:
# using wget
wget https://nodejs.org/dist/v12.13.1/node-v12.13.1-linux-x6
我需要在Linux中安装f2c。给出步骤;
下载安装脚本:下载install_f2c_linux.csh。
运行安装脚本# chmod +x install_f2c_linux.csh # ./install_f2c_linux.csh
我在根目录和用户目录中运行第二步。但是,上面写着
curl: Command not found.
tar: f2c.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
gunzip: No match.
f2c: No such file