github地址
https://github.com/litespeedtech/lsquic
安装openssl出错
安装yum
sudo apt-get install yum
提示:
提示python相关依赖包问题且无法安装
解决:将提示中涉及到的包重新安装
sudo apt-get install +包名
apt-get install python-lzma
apt-get install python-sqlitecachec
apt-get install python-urlgrabber
apt-get install python-pycurl
解决apt-get install E: 无法定位软件包问题
安装git
https://www.cnblogs.com/wulixia/p/11016684.html
直接sudo安装 git被安装在/usr/lib/git-core
上传到/usr(先移到主目录(/home)
Linux移动文件到usr无权限 mv
happy2@happy2-vm:~$ sudo cp git-2.29.2.tar.gz /usr
happyz@happyz-vm:/usr$ tar -zxvf git-2.29.2.tar.gz

安装BoringSSL(OpenSSL、go、zlib、libevent、cmake
安装go
https://studygolang.com/articles/13957?fr=sidebar
vim /etc/profile 写入时 出现 E121:无法打开并写入文件解决方案
解决方案:
1. 保存的时候用:w !sudo tee %
2. 输入密码即可
nameserver 192.168.1.1
nameserver 192.168.0.1
安装zlib
https://www.php.cn/blog/detail/13838.html
安装Libevent
https://www.cnblogs.com/WindSun/p/12142656.html
安装cmake
ubuntu18.04安装最新cmake3.18
下载boringssl
git clone https://github.com/google/boringssl.git
cd boringssl
Ubuntu18.04LTS下编译boringssl
https://blog.csdn.net/maimang1001/article/details/103604006/
Git如何在不提交当前分支的情况下切换到其它分支进行操作——git stash
$PWD 获得当前工作目录路径的字符串值
cmake . && make//报错
先忽略
cd /usr/local/boringssl
BORINGSSL=$PWD
git clone https://github.com/litespeedtech/lsquic.git
cd lsquic
git submodule init
git submodule update
cd /usr/local/boringssl/lsquic
cmake -DBORINGSSL_DIR=$BORINGSSL .
make
make test
sudo rm -rf lsquic
安装成功
版权声明:本文为weixin_44373409原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。