Skip to content

Instantly share code, notes, and snippets.

@chattybot0
Last active November 2, 2020 07:08
Show Gist options
  • Save chattybot0/c1386c68644c5af3999ae5c3be1cfc92 to your computer and use it in GitHub Desktop.
Save chattybot0/c1386c68644c5af3999ae5c3be1cfc92 to your computer and use it in GitHub Desktop.
Install WebEx on centos 7 64-bit

WebEx installer script for centos 7 64-bit

To install, run this command in your system:

rm -f webex.sh;wget https://gist.githubusercontent.com/chattybot0/c1386c68644c5af3999ae5c3be1cfc92/raw/d3e72b2a8fb6659353fd0f45a6f388ee8852bb7b/webex.sh;chmod +x webex.sh; ./webex.sh;

Note: this script is still in beta and may have errors, im working on it.

By Mforoud86 ( this is my alt i use for one of my projects )

#some credits goes here
clear
sleep 2
echo "By Mforoud86, i am not affiliated with WebEx or Cisco, and WebEx and Cisco trademarks belongs to Cisco, inc.";
sleep 5
#basic stuff
sudo yum install dnf -y
#prequesties
sudo dnf upgrade -y
sudo dnf install -y glibc-devel.i686 ncurses-libs.i686
#install firefox 52 ESR
sudo mkdir -p /opt/webex/
sudo tar -xjvf firefox*esr*.tar.bz2 -C /opt/webex/
#these are to make the firefox ESR run smoothly
sudo dnf install -y \
gtk3.i686 \
alsa-lib.i686 \
dbus-glib.i686 \
libXt.i686 \
libXtst.i686 \
libcanberra-gtk2.i686
#install 32-bit JRE
sudo tar -xzvf jre*linux-i586.tar.gz -C /opt/webex/
sudo mv /opt/webex/jre* /opt/webex/jre
#enable jre support in firefox
sudo mkdir /opt/webex/firefox/plugins/
ln -s /opt/webex/jre/lib/i386/libawt.so /opt/webex/firefox/plugins/
ln -s /opt/webex/jre/lib/i386/libjawt.so /opt/webex/firefox/plugins/
ln -s /opt/webex/jre/lib/i386/libnpjp2.so /opt/webex/firefox/plugins/
#things to make the webex run
sudo dnf install -y \
pango.i686 \
libXv.i686 \
alsa-plugins-pulseaudio.i686
#firefox launch script
cat << 'EOF' | sudo tee /opt/webex/firefox.sh
#!/bin/bash
export ENV_HOME=/opt/webex
export FIREFOX_HOME=$ENV_HOME/firefox
export MOZ_PLUGIN_PATH=$ENV_HOME/firefox/plugins
export JAVA_HOME=$ENV_HOME/jre
export PATH=$JAVA_HOME/bin:$PATH
#export JPI_PLUGIN2_DEBUG=1
$FIREFOX_HOME/firefox --no-remote -P
EOF
#chmod the script
sudo chmod a+x /opt/webex/firefox.sh
#enable firefox on start
sudo ln -s /opt/webex/firefox.sh /usr/local/bin/firefox-i686
#missing library support
ldd ~/.webex/T30_MC/*.so | grep "not found"
#start the instance
/opt/webex/jre/bin/javaws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment