我正在访问在我没有root特权的CentOS 7.6上运行的外部计算机,因此无法使用var url = "https://www.example.com/asdasd/123asdsd/sdasd?bar=1";
var matches = /(https?:\/\/.*?)([/$].*)/.exec(url);
var domain = matches[1];
var path = matches[2];
console.log(`domain = ${domain}`)
console.log(`remaining path = ${path}`)
安装pip3
。我根据this post尝试了sudo apt-get install pip3
,但该命令也要求我也是root用户。那我现在该怎么办?