buger / goreplay

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
https://goreplay.org
Other
18.59k stars 17 forks source link

Is there a version that supports REHL5.7 #1238

Open summer37520 opened 8 months ago

summer37520 commented 8 months ago

Is there a version that supports REHL5.7

dosubot[bot] commented 8 months ago

🤖

Hey @summer37520, fancy seeing you here again! How's it going?

Based on the information provided in the repository, there isn't a specific mention of support for Red Hat Enterprise Linux (RHEL) 5.7. However, GoReplay has some system requirements that can be met on a RHEL system.

GoReplay is written in Go, so you need to have a Go environment set up on your system. You can download the latest stable version of Go from here.

The only dependency of GoReplay is libpcap, an interface to various kernel packet capture mechanisms. You can download the latest version of libpcap from here.

Additionally, flex and bison are dependencies of libpcap. Many operating systems already have them installed, but if not, you can install them using the package manager of your OS.

Here is the installation process:

# Install flex and bison
sudo yum install flex bison -y

# Download latest stable release of libpcap, compile and install it
wget http://www.tcpdump.org/release/libpcap-1.7.4.tar.gz && tar xzf libpcap-1.7.4.tar.gz
cd libpcap-1.7.4
./configure && make install

# Fetch GoReplay source code
mkdir $HOME/gocode
export GOPATH=$HOME/gocode
go get github.com/buger/gor

# Compile GoReplay from source
cd $HOME/gocode/src/github.com/buger/gor
go build LDFLAGS = -ldflags "-extldflags \"-static\""

After you finish, you should see gor binary in the current directory. This information is based on the Compilation page in the GoReplay wiki.

Please note that while these instructions should generally work, they may need to be adjusted based on the specific configuration of your RHEL 5.7 system. If you encounter any issues, please provide the error messages or describe the problems you're facing, and I'll do my best to assist you further.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.