Is there any link to download ab Apache benchmark - windows

Can anyone please provide me the direct to download the Ab.exe Apache benchmark utility?

On Ubuntu, I can install ab without installing all of Apache via the apache2-utils package. So:
sudo apt-get install apache2-utils

Just download Apache (www.apache.org). It comes with it (in ApacheX.X/bin)
...Guessing (from one of your other questions) that you're using a Mac... there appear to be instructions here:
http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/
(if not, I can probably help with a Windows installation, but in general, Google is your friend!)
A list of mirrors for the windows binaries can be found here.
There are some basic instructions here:
http://www.ricocheting.com/how-to-install-on-windows/apache
...basically, install it, and the ab.exe will be in the 'bin' subdirectory of the installation

TMB nailed it with the link to XAMMP in the following question : How to install apache bench on windows 7?

For Windows Users there is no direct binary download.
One has do install the Apache server via the msi setup package, grab ab.exe from the Program Files/Apachge Group/bin folder and uninstall Apache again.
link to the msi package I used was once here:
http://mirror2.klaus-uwe.me/apache//httpd/binaries/win32/httpd-2.0.65-win32-x86-no_ssl.msi
but this is 404 as of today.
http://mirror2.klaus-uwe.me/apache//httpd/binaries/win32/
might help.

Download the Apache MSI-package (https://httpd.apache.org/download.cgi -> Binaries for the version you want -> win32 directory -> httpd-...-win32-x86-no_ssl.msi), open this .msi file with 7-Zip, find ab.exe, select it, and copy it to wherever you want.
I've just done that with http://.../httpd/binaries/win32/httpd-2.2.25-win32-x86-no_ssl.msi, and it works for me.

CentOS and Fedora users can find Apache Benchmark in package httpd-tools.
Example:
# CentOS
sudo yum install httpd-tools
# Fedora
sudo dnf install httpd-tools
Use installed Apache Benchmark binary as ab.

Get the .msi from archive site:
http://archive.apache.org/dist/httpd/binaries/win32/
once installed, go to your Windows explorer to the installation path like:
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\ab.exe

Related

jmeter missing.class com.thoughtworks.xstream.converters.ConversionException

I was running my script and it hanged and I had to force close.
Now this error appears:
Download "Plugins-manager.jar" from
https://jmeter-plugins.org/downloads/all/
Put downloaded .jar into JMETER_INSTALLED_DIRECTORY/lib/ext directory
Restart jmeter.
Open the script, it will show a download missing component dialog. Download missing component.
Hope this will help
It is indeed an error related to you missing the JMeter plugins. Since i am new to programming, I thought it might be useful i offer a more detailed guide on JMeter installation on Mac.
Prerequisites:
You have Java installed - i work with Java 8 version thus if you have an older or a newer version it might not work.
You can check your version with ~ java -version.
Here you can download the jdk 8: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.
You have brew installed. To install it run /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”, go to https://brew.sh/ for more info.
How to do it
Let’s first download the JMeter (version 4.0) from https://jmeter.apache.org/download_jmeter.cgi. You can find the zip files in the first section under Binaries - apache-jmeter-4.0.zip.
Alternatively, run brew install jmeter.
Then move it from Downloads to your root directory: (just for simplicity, you can put it anywhere you wish.
install apache-jmeter
Go inside that folder and it’s bin like this: ~ cd apache-jmeter-4.0/bin
From there run ./jmeter.sh
In JMeter you try to open the desired file but get the 'missing.class..' error:
missing.class com.thoughtworks.xstream.converters.ConversionException
Installing the JMeter plugins
Go to https://jmeter-plugins.org/wiki/PluginsManager/ and download the Plugins Manager JAR file.
Following the instructions: 'put the file into lib/ext directory' translates to you going to your apache-jmeter-4.0 folder (see the first screen shot) and place the file there inside lib/ext folder.  
restart JMeter and you can see the Plugins Manager in JMeter Options.
Download plugins-manager.jar from https://jmeter-plugins.org/downloads/all/
Put plugins-manager.jar into jmeter/lib/ext
Restart jmeter
Open script, it will ask to download dependencies, press yes
Go to Plugin Manager and install all the required jar dependency
Re-start the application
I installed Jmeter on Ubuntu Linux using 'apt-get install jmeter', which it seems installs a very old version of Jmeter.
Old version => 2.x
I downloaded the latest version using curl and installed it and the problem disappeared.
New version => 5.x.
I think this is due to lower version JMeter.
Try with installing Apache Jmeter 3.3 and install python with enable "Add python.exe to Path http://www.python.org/downloads
i know it is late to respond to this query but it may help others who might face this issue in future.
For me, Moving to the latest Jmeter version 5.1.1 did the trick.
I was facing the same issue because i downloaded jmeter from
sudo apt install jmeter
and it installed the jmeter of version 2.X.X. Which i guess doesn't support anything now a days. I uninstalled the jmeter from command:
sudo apt purge jmeter
And installed the latest jmeter from http://jmeter.apache.org/download_jmeter.cgi?Preferred=https%3A%2F%2Fdownloads.apache.org%2F After that in bin folder as i'm using ubuntu Os i used command
sh jmeter.sh
Jmeter worked fine!!!

gnupg installation on windows

I successfully installed pear & pecl on my windows machine.
Now, i would like to install gnupg extension using pecl.
My need is to get the gnupg.so extension for php7 to upload it on a linux server on which I have no rights. The extension does not exist on this server, this is the reason why I need to get it to transfer it.
When I run pecl install gnupon my machine, I get the following result:
C:\WEB>pecl install gnupg-1.4.0.tgz
6 source files, building
ERROR: The DSP gnupg.dsp does not exist.
After some research, I found out that I migth need a .dll but there is no way to find anything about it.
Is there anyone who can help me?
pecl install downloads the source code and compiles it for the system pecl runs on. It will not work on a different system, especially not on a Linux one when you are compiling it on windows.
You have three options that will work, in order of preference:
Install the distribution-provided pecl-gnupg package
Run the pecl install command on your server
Setup an identical machine as your live server, run pecl install on it and copy the generated .so file to your live server.

Installing serf with scons as a prerequisite for SVN 1.8.9 -> no serf binary

I am running SVN 1.8.9 on Mac OSX 10.8.5. Currently the command "svn log" fails in a given repo with the error message:
svn: E170000: Unrecognized URL scheme for 'https://...'
My research showed that this is due to SVN having been compiled from source without the flag "--with-serf".
So, I downloaded and built serf (with its dependencies APU and APR) using the scons build tool as per the instructions. All went fine, but after installation, there is no serf binary command available. When I type 'serf' in the shell, I get the command not found error. Searching for a serf binary on my machine also doesn't give any results.
What might have gone wrong during the intallation?
Where should binary be and why isn't there?
Are there any workarounds to install SVN with serf?
(I tried 'brew install --build-from-source svn', but this doesn't seem to include the serf dependency either)
Thanks a lot in advance.
Cheers,
Martin
Here is what I did:
Download latest SVN
Download the latest SCONS.
cd ~/Downloads/
tar -zxvf "latest SCONS".tar.gz
tar -zxvf "latest SVN".tar.gz
cd "latest SCONS"
python setup.py install
cd ~/Downloads/"latest SVN"
sh get-deps.sh serf
cd serf
scons install
cd ..
./configure --with-serf
make install
I got the same error here and solved by following this post:
https://ahmadawais.com/installing-svn-subversion-on-yosemite-after-removing-the-old-version/
I had to remove some old references to subversion inside:
/usr/local/include/subversion-1/
/usr/local/include/serf-1/
Building Subversion is a pain due to the dozens of dependency issues. Usually Apache httpd has to be rebuilt with Subversion too, and then there's the APR library.
The easiest solution is to download a package that has everything you need. CollabNet doesn't have a Macintosh server package, but Wandisco does. (Look for Yosemite down the Macintosh list). This will include Apache, Subversion, and the Subversion client all in one package.
I haven't used Wandisco's package before. However, I can tell you that CollabNet installs everything under /opt/collabnet including a new and complete Apache server. This also sets up /etc/init.d to start this Apache server and disables the original. I assume a similar thing happens with Wandisco (although Mac OS X doesn't use /etc/init.d, but Launch Services).
This is probably way easier than attempting to configure your Mac with everything you need for Subversion.

Setup Macports on an offline machine

I need to install dpkg for my mac and the easiest way I have seen for doing that is to install Macports. Unfortunately the machine I want to install it on is not connected to the internet.
Is there a way to download dpkg and its dependencies for macports and install the packages on the offline machine?
I have seen people mention to set it up on an online machine and move the whole macports folder, however the only machine I have online is running a different OSX version which could cause issues.
Thanks in advance.
You could try to download all sourcefiles using
sudo port fetch rdepof:dpkg
and then copy everything in (/opt/local/var/macports/distfiles/) to the offline machine and put it in the same folder there.
Then you should be able to build dpkg using
sudo port install -s dpkg
The -s option forces macports to build from source. (Prevent MacPorts from installing pre-built package?)

Can anyone advise me on this ? I tried to compile using maven and got this message alongwith "Build Failure" message

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (generate-core-thrift) on project accumulo-core: Command execution failed. Cannot run program "C:\Documents and Settings\deepak\trunk\core\src\main\thrift\thrift.sh" (in directory "C:\Documents and Settings\deepak\trunk\core"): CreateProcess error=193, %1 is not a valid Win32 application -> [Help 1]
I went to the directory trunk containing pom.xml and executed: mvn compile
I tried finding the plugin at http://maven.apache.org/plugins/ but couldn't find any .
Can anyone please explain what the problem is ? These open source things are so complex.
Apache Accumulo does not currently support Windows in its build system. Consider using Ubuntu, Fedora, CentOS, Mac OSX, or another Linux or BSD system. If you really must build in Windows, you my have luck with Cygwin.
It's 2022 and we can now build Apache Accumulo on Windows using Windows Subsystem for Linux.
If you want to access your Linux files from Windows, the path is:
\\wsl$\<DistroName>\home\<UserName>
Note: the above is only available when you have a WSL instance up and running.
Assuming you have a clean install of Ubuntu on WSL. Open a WSL terminal for the setup steps.
Setup
Install OpenJDK
Update list of available packages.
sudo apt update
Search for available JDKs.
apt search jdk
We will be installing JDK11 as Accumulo uses that.
sudo apt-get install openjdk-11-jdk
Check for a successful installation.
java --version
Configure JAVA_HOME
readlink -f $(which java)
Removing /bin/java from the end of the output of the above command gives us the path to the JDK.
nano ~/.bashrc
Add the following line at the bottom of the file.
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
Reflect changes.
source ~/.bashrc
Ensure the changes are in effect.
echo $JAVA_HOME
Install make and g++
sudo apt install make
sudo apt install g++
Build
Clone the repo and cd to repo root.
Now build using (from WSL terminal)
mvn package
If you are using a Windows terminal (likely when using IDEs or GUI tools) prefix wsl,
wsl mvn package
There is another description for error 193: "You may see Windows error code 193 when you are starting a Windows Share Point server or a Windows Exchange server. The error message will also generate general Service Control Manager messages in your system logs, too."
Windows error code 193
Although it doesn't have direct answer on your problem but may be it will be also helpful for you.

Resources