目录

64位Ubuntu18.04搭建32位程序执行环境设置 WSL2 与 Xming 交互WSL安装VCS和verdi启动VDS启动verdi

这篇文章仅仅记录我自己的安装过程,不是安装教程!

64位Ubuntu18.04搭建32位程序执行环境

搭建环境的时候遇到了这个问题,一直报错如下:

bash: ./lmhostid: No such file or directory

通过以下查询语句发现是32位的程序

$ file lmhostid

lmhostid: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-lsb.so.3, for GNU/Linux 2.6.9, stripped

查看是否启用32位多架构

dpkg --print-foreign-architectures

修改执行权限

chmod +x lmhostid

安装以下包后解决

sudo apt install lsb

sudo apt-get update

sudo apt-get purge libc6-dev

sudo apt-get install libc6-dev

sudo apt-get install libc6-dev-i386

sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 zlib1g:i386

sudo apt-get install lib32ncurses5 ​

sudo apt-get install lib32z1

遇到包无法定位的问题

E: Unable to locate package csh

sudo apt-get update # 解决办法

修改环境变量

sudo vim ~/.bashrc

source ~/.bashrc # 立即生效

echo $DISPLAY # 查询确认

设置 WSL2 与 Xming 交互

参考链接

WSL安装VCS和verdi

参考链接1 参考链接2 参考链接3

重命名文件

mv 1610.02357.pdf 12345.pdf

清除端口

lmdown

查看端口

netstat -a

查看运行的机子:wsl --list --verbose 关闭:wsl -t Ubuntu-18.04

启动VDS

vds &

启动verdi

删掉的help

# function printPerHelp()

{

echo "Usage: verdi_perf [options]"

echo " Fsdb file and instances need to be specified before doing performance evaluation."

echo " Fsdb file and instances could be set in command line options or in command file."

echo " If both start and end time are specified, end time must be greater than start time."

echo " Specify the evaluation configuration either in command line options or in the command file."

echo " Do not use -cmd/-c with othe options, they are mutually exclusive."

echo " Use -h for detailed help."

echo " "

echo " "

echo "Options:"

echo " -fsdb,-f Specify the fsdb file, optional."

echo " -instance,-i Specify the instances, optional."

echo " -start,-s Specify the start time, optional."

echo " -end,-e Specify the end time, optional."

echo " -cmd,-c Specify the command file, optional. Mutually exclusive with other options."

echo " -output,-o Specify the output file name, optional, default is \"output\"."

echo " -format,-m Specify the output file format, \"csv\" or \"html\", optional, default is \"csv\"."

echo " -session,-n Specify the session saving option, \"on\", \"off\" or \"fail\", optional, default is \"fail\"."

echo " -help,-h Print this help information."

}

相关阅读

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。