linux安装HP Load Generator 11.00记录
发表于:2026-11-01 作者:千家信息网编辑
千家信息网最后更新 2026年11月01日,安装升级compat-libstdc++-33步骤如下:ast login: Wed Jan 10 15:21:01 2018 from 172.31.240.117[root@bogon ~]# y
千家信息网最后更新 2026年11月01日linux安装HP Load Generator 11.00记录
安装升级compat-libstdc++-33
步骤如下:
ast login: Wed Jan 10 15:21:01 2018 from 172.31.240.117[root@bogon ~]# yum install compat-libstdc++-33Loaded plugins: fastestmirrorbase | 3.6 kB 00:00:00 epel/x86_64/metalink | 8.0 kB 00:00:00 epel | 4.7 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/2): epel/x86_64/updateinfo | 762 kB 00:00:12 (2/2): epel/x86_64/primary_db | 6.0 MB 00:00:54 Loading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * epel: mirror.dmmlabs.jp * extras: ftp.sjtu.edu.cn * updates: ftp.sjtu.edu.cnResolving Dependencies--> Running transaction check---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 will be installed--> Finished Dependency ResolutionDependencies Resolved============================================================================================= Package Arch Version Repository Size=============================================================================================Installing: compat-libstdc++-33 x86_64 3.2.3-72.el7 base 191 kTransaction Summary=============================================================================================Install 1 PackageTotal download size: 191 kInstalled size: 811 kIs this ok [y/d/N]: yDownloading packages:compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm | 191 kB 00:00:06 Running transaction checkRunning transaction testTransaction test succeededRunning transactionWarning: RPMDB altered outside of yum. Installing : compat-libstdc++-33-3.2.3-72.el7.x86_64 1/1 Verifying : compat-libstdc++-33-3.2.3-72.el7.x86_64 1/1 Installed: compat-libstdc++-33.x86_64 0:3.2.3-72.el7 Complete!You have new mail in /var/spool/mail/root[root@bogon ~]# mkdir /opt/lr[root@bogon ~]# cd /opt/lr/[root@bogon lr]# yum -y install gcc gcc-c++ libstdc++.so.5Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * epel: mirror.dmmlabs.jp….。。Installed: compat-libstdc++-33.i686 0:3.2.3-72.el7 gcc-c++.x86_64 0:4.8.5-16.el7_4.1 Dependency Installed: glibc.i686 0:2.17-196.el7_4.2 libgcc.i686 0:4.8.5-16.el7_4.1 libstdc++-devel.x86_64 0:4.8.5-16.el7_4.1 nss-softokn-freebl.i686 0:3.28.3-8.el7_4 Updated: gcc.x86_64 0:4.8.5-16.el7_4.1 Dependency Updated: cpp.x86_64 0:4.8.5-16.el7_4.1 glibc.x86_64 0:2.17-196.el7_4.2 glibc-common.x86_64 0:2.17-196.el7_4.2 glibc-devel.x86_64 0:2.17-196.el7_4.2 glibc-headers.x86_64 0:2.17-196.el7_4.2 libgcc.x86_64 0:4.8.5-16.el7_4.1 libgomp.x86_64 0:4.8.5-16.el7_4.1 libstdc++.x86_64 0:4.8.5-16.el7_4.1 nspr.x86_64 0:4.13.1-1.0.el7_3 nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 Complete!You have new mail in /var/spool/mail/root下载LoadRunner Generator for Linux安装包
解压后:
给chmod 777 -R Linux/
#再次执行:./installer.shWelcome to the HP Load Generator 11.00 Setup Wizard-------------------------------------------------------------This wizard will guide you through the steps required to install HP Load Generator 11.00 on the computer.WARNING: This computer program is protected by copyright law and international treaties. Unauthorized duplication or distribution of this program, or any portion of it, may result in several civilor criminal penalties, and will be prosecuted to the maximum extent possible under the law.> To continue, select "Next"> To abort the setup wizard, select "Cancel"Select [ Next[n], Cancel[c] ] : n-------------------------------------------------------------------------------------LICENSE AGREEMENT-------------------------------------------------------------Please take a moment to read the License Agreement, located in:/opt/lr/Linux/sequencer/resources/EULA/EULA .>To review the full License Agreement, select "View Agreement">To accept the agreement terms, select "Agree">To go back to the previous step, select "Back">To abort the setup wizard, select "Cancel"Select: [ View Agreement[v], Agree[a], Back[b], Cancel[c] ] : a-----------------------------------------------------------------------------------------------------------------------------------CONFIRMATION-------------------------------------------------------------The HP Load Generator 11.00 features you selected for installation are:+LoadGenerator -LG-11.00-Linux2.6.rpmSize: 255856 KBHP Load Generator 11.00 will be installed in the following directory:/opt/HP/HP_LoadGenerator.If you want to install HP Load Generator 11.00 in an alternative directory, you must create a symbolic link from "/opt/HP/HP_LoadGenerator" to the alternative directory before continuing with this installation.> To start the HP Load Generator 11.00 installation, select "Install"> To go back to the previous step, select "Back"> To abort the setup wizard, select "Cancel"Select [ Install[i], Back[b], Cancel[c] ]: i--------------------------------------------------------------------------------------------------------------------------------FINISH-------------------------------------------------------------HP Load Generator 11.00 has been successfully installed in the /opt/HP/HP_LoadGenerator directoryLOG FILE: Install log directory:/var/log/26.07.17_17-28-09_HP_LoadGenerator_11.00.000_iHP_log.txt> To complete the setup wizard, select "Finish"> To view the output log, select "View Log"Select [ Finish[f], View Log[v] ]: f======================================================elect [ Finish[f], View Log[v] ]: f[root@localhost Linux]# useradd -g 0 -s /bin/bash loadrunner[root@localhost Linux]# cd /opt/HP/HP_LoadGenerator[root@localhost HP_LoadGenerator]# vim env.shcd /opt/HP/HP_LoadGenerator vim env.sh#/bin/bashexport PRODUCT_DIR=/opt/HP/HP_LoadGeneratorexport M_LROOT=$PRODUCT_DIRexport LD_LIBRARY_PATH=$M_LROOT/bin:$M_LROOT/lib:/usr/lib:/usr/lib64export DISPLAY='0.0'export PATH=$PATH:$M_LROOT/bin[root@localhost HP_LoadGenerator]# vim /etc/profile source /opt/HP/HP_LoadGenerator/env.sh[root@localhost HP_LoadGenerator]# 出现错误:[loadrunner@localhost HP_LoadGenerator]$ cd /opt/HP/HP_LoadGenerator/bin [loadrunner@localhost bin]$ ./m_daemon_setup startWarning : MDRV: cannot find lrun root directory . Please check your M_LROOTUnable to format message id [-10791]m_agent_daemon ( is down ), [loadrunner@localhost bin]$ 在root目录找到.bashrc文件,添加以下几句话: export PRODUCT_DIR=/opt/HP/HP_LoadGenerator export M_LROOT=$PRODUCT_DIR export LD_LIBRARY_PATH=${M_LROOT}/bin export PATH=${M_LROOT}/bin:$PATH 需要注消再登录后bash生效。 ==================[loadrunner@localhost bin]$ ./m_daemon_setup startm_agent_daemon ( 29460 ), [loadrunner@localhost bin]$ 
点击
使用已脚本运行:
lr_start_transaction("dddd"); lr_think_time(4); lr_output_message("好!!"); lr_end_transaction("dddd", LR_AUTO);提示:
Error: CCI compilation error -In file included from /tmp/brr_M1v0pM/global_dir/112991701/combined_WebHttpHtml43.c:4:
修改为:
lr_start_transaction("dddd"); lr_think_time(4); lr_output_message("good"); lr_end_transaction("dddd", LR_AUTO);提示::
The script
结果:
查看linux:
top 显示
提示
再次
文件
步骤
目录
结果
脚本
错误
升级
登录
运行
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
青岛互联网科技公司
贷财互联网科技
广州紫鲸互联网科技
科技互联网创业计划书
互联网科技英文翻译
哈尔滨秒房互联网科技有限公司
广州优美互联网科技
随着互联网科技发展
互联网大会黑科技排名
广州恒生互联网科技有限
互联网在线教育科技创业
特约风豹互联网科技为什么扣费
互联网金融科技公司的优势
富国互联网金融科技混合基金
互联网相关科技技术
从那以后互联网科技有限公司
普陀区互联网教育科技管理办法
广州三三互联网科技有限公司
重庆科技产业互联网有哪些
互联网科技企业文化
喔噻互联网科技有限公司
亿人帮互联网科技
成都狮子座互联网科技
米聚互联网科技南京有限公司排面
富国互联网金融科技混合基金
全球科技与互联网公司市值变化
互联网科技平台产品运营
青岛易易互联网科技
上海旺乐尼互联网科技有限公司
中国主要互联网科技公司