工具

docker容器搭建tmate服务器

本次搭建tmate 服务器选用ubuntu18.04基础镜像

  1. 进入docker容器内更新apt-get
  2. 安装基础工具 vim:apt install vim,添加ubuntu18.04的apt下载源至/etc/apt/source.list
  3. 安装aclocal:apt-get install automake
  4. error: possibly undefined macro: AC_SEARCH_LIBS: 缺少pkgconf: apt-get install pkg-config,安装完成后需要重新配置:autoreconf -i –force
  5. “error: libevent not found”:apt-get install libevent-dev
  6. 缺少”curses:apt-get install libncurses5-dev
    7.configure: error: “msgpack >= 1.2.0 not found” :apt install libmsgpack-dev
  7. configure: error: “libssh >= 0.7.0 not found”:apt-get install libssh-dev
  8. 缺少locale-gen工具: apt-get -y install locales,locale-gen “en_US.UTF-8”
  9. 安装openssh:apt-get install ssh,然后生成密钥
  10. 从git上拉去tmate服务器源码,docker cp至容器内编译安装 ./autogen.sh && ./configure && make

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

ubuntu系统安装微信教程

2024 年 4 月 22 日

docker-ce安装教程

2024 年 4 月 29 日