id | title | sidebar_label |
---|---|---|
linux |
Install Sauce Connect on Linux |
Linux |
import useBaseUrl from '@docusaurus/useBaseUrl'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Sauce Connect provides .deb
package with Systemd service for Sauce Connect run command.
Other commands are available as well, but you will need to start them manually.
<Tabs defaultValue="ARM64" values={[ {label: 'ARM64', value: 'ARM64'}, {label: 'x86-64', value: 'x86-64'}, ]}>
curl -L -o sauce-connect.deb https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect_5.2.2.linux_arm64.deb
sudo dpkg -i sauce-connect.deb
curl -L -o sauce-connect.deb https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect_5.2.2.linux_amd64.deb
sudo dpkg -i sauce-connect.deb
Edit the configuration file with your favorite editor:
sudo vim /etc/sauce-connect/sauce-connect.yaml
sudo systemctl enable sauce-connect
sudo systemctl start sauce-connect
sudo systemctl status sauce-connect
journalctl -u sauce-connect
Sauce Connect provides .rpm
package with Systemd service for Sauce Connect run command.
Other commands are available as well, but you will need to start them manually.
<Tabs defaultValue="ARM64" values={[ {label: 'ARM64', value: 'ARM64'}, {label: 'x86-64', value: 'x86-64'}, ]}>
sudo rpm -i https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect-5.2.2_linux.aarch64.rpm
sudo rpm -i https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect-5.2.2_linux.x86_64.rpm
Edit the configuration file with your favorite editor:
sudo vim /etc/sauce-connect/sauce-connect.yaml
sudo systemctl enable sauce-connect
sudo systemctl start sauce-connect
sudo systemctl status sauce-connect
journalctl -u sauce-connect
<Tabs defaultValue="ARM64" values={[ {label: 'ARM64', value: 'ARM64'}, {label: 'x86-64', value: 'x86-64'}, ]}>
curl -L -o sauce-connect.tar.gz https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect-5.2.2_linux.aarch64.tar.gz
sudo mkdir -p /opt/sauce-connect
sudo tar -C /opt/sauce-connect -xzf sauce-connect.tar.gz
curl -L -o sauce-connect.tar.gz https://saucelabs.com/downloads/sauce-connect/5.2.2/sauce-connect-5.2.2_linux.x86_64.tar.gz
sudo mkdir -p /opt/sauce-connect
sudo tar -C /opt/sauce-connect -xzf sauce-connect.tar.gz
sudo ln -s /opt/sauce-connect/sc /usr/local/bin/sc
<Tabs defaultValue="User" values={[ {label: 'User', value: 'User'}, {label: 'System', value: 'System'}, ]}>
echo 'source <(sc completion bash)' >>~/.bash_profile
sudo mkdir -p /etc/bash_completion.d
sudo ln -s /opt/sauce-connect/completions/sc.bash /etc/bash_completion.d/sc
This step is optional. You can use default configuration or configure Sauce Connect with flags or environment variables. See CLI reference for more details.
Edit the configuration file with your favorite editor:
vim /opt/sauce-connect/sauce-connect.yaml
sc run --config-file /opt/sauce-connect/sauce-connect.yaml