编译goahead后,安装编译报错:

$ sudo make install
[sudo] abc 的密码: 
make --no-print-directory -f projects/goahead-linux-default.mk install
cp: 目标'/etc/goahead/self.*' 不是目录

You can now run via "sudo goahead -v --home /etc/goahead /var/www/goahead"
 

修正方法:

手动copy证书和秘钥文件

$ sudo cp src/self.* /etc/goahead/

$ sudo make install
make --no-print-directory -f projects/goahead-linux-default.mk install
cp: 目标'/etc/goahead/self.key' 不是目录

You can now run via "sudo goahead -v --home /etc/goahead /var/www/goahead"
$ sudo goahead -v --home /etc/goahead /var/www/goahead
goahead: 2: Configuration for Embedthis GoAhead Community Edition
goahead: 2: ---------------------------------------------
goahead: 2: Version:            4.1.3
goahead: 2: BuildType:          Debug
goahead: 2: CPU:                x64
goahead: 2: OS:                 linux
goahead: 2: Host:               127.0.1.1
goahead: 2: Directory:          /etc/goahead
goahead: 2: Documents:          /var/www/goahead
goahead: 2: Configure:          me -d -q -platform linux-x86-default -configure . -gen make
goahead: 2: ---------------------------------------------
goahead: 2: Started http://*:80
goahead: 2: Started https://*:443

 

打开浏览器验证:

嵌入式web-server goahead 安装

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-10-08
  • 2021-04-08
  • 2021-12-03
  • 2021-11-23
  • 2021-12-15
  • 2021-10-11
猜你喜欢
  • 2021-11-23
  • 2022-12-23
  • 2021-11-23
  • 2021-11-23
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案