dozabg1616 2019-08-12 10:23
浏览 71

手动安装'papertrail / remote_syslog2',找不到可执行文件

I am trying to setup papertrail logging for my laravel app on my virtual machine (GCP - compute engine) having linux OS (Ubutu 18.04). Following the steps as recommended by papertrail(using remote_syslog2), so downloading remote_syslog2: https://github.com/papertrail/remote_syslog2/releases/tag/v0.20

I have downloaded the package using. wget -c https://github.com/papertrail/remote_syslog2/archive/v0.20.tar.gz -O - | tar -xz

As after extracting it goes to remote_syslog2-0.20 directory, so i move it to mentioned folder. mv remote_syslog2-0.20 remote_syslog

To follow : https://help.papertrailapp.com/kb/configuration/configuring-centralized-logging-from-text-log-files-in-unix#manual

now it couldn't found any file with name ./remote_syslog.

Then also followed the steps from: https://github.com/papertrail/remote_syslog2#installing but not succeed with : sudo cp ./remote_syslog /usr/local/bin

Please help me with correct steps, or let me know if i am doing anything wrong. Thanks in advance.

  • 写回答

1条回答 默认 最新

  • dousi2553 2019-08-12 12:50
    关注

    I was using wrong file path to download:

    wget -c https://github.com/papertrail/remote_syslog2/archive/v0.20.tar.gz -O - | tar -xz
    

    Download with correct file path resolve the issue :

    wget -c https://github.com/papertrail/remote_syslog2/releases/download/v0.20/remote_syslog_linux_amd64.tar.gz -O - | tar -xz
    
    评论

报告相同问题?

悬赏问题

  • ¥15 高价求中通快递查询接口
  • ¥15 解决一个加好友限制问题 或者有好的方案
  • ¥15 关于#java#的问题,请各位专家解答!
  • ¥15 急matlab编程仿真二阶震荡系统
  • ¥20 TEC-9的数据通路实验
  • ¥15 ue5 .3之前好好的现在只要是激活关卡就会崩溃
  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?