Pull the latest version of influxdb official image :
docker pull influxdb
# Install Docker on Xenial 16.04.1 x64 | |
# Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
# No interactive for now. | |
export DEBIAN_FRONTEND=noninteractive | |
# Update your APT package index. | |
sudo apt-get -y update | |
# Update package information, ensure that APT works with the https method, and that CA certificates are installed. | |
sudo apt-get -y install apt-transport-https ca-certificates | |
# Add the new GPG key. | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |
If you have your local company image (*.img) and you want to make qemu snapshot from it, follow next steps: | |
For example, let's say we have image: as-win7-v33-1.img | |
1. Create shapshot | |
qemu-img create -b as-win7-v33-1.img -f qcow2 snapshot.img | |
2. Load and save state to snapshot. Image (as-win7-v33-1.img) located at the same path as snapshot.img. Don't forget to change SCREEN RESOLUTION in snapshot. | |
qemu-system-x86_64 -machine q35 -smp sockets=1,cores=2,threads=2 -m 2048 -usb -device usb-tablet -enable-kvm -net nic,model=virtio -net user,hostfwd=tcp::4444-:4444,hostfwd=tcp::8080-:8080 -drive file=snapshot.img,media=disk,snapshot=off,format=qcow2,if=virtio -rtc base=localtime -monitor stdio |
#!/bin/bash | |
echo -e "For what browser download drivers?\\n 1.chrome\n 2.IE" | |
read -e browser | |
echo "You chose $browser" | |
case $browser in | |
1|chrome) |
#!/bin/bash | |
declare -a arr=("consul" "service-authorization" "traefik" "service-index" "service-api" "service-ui" "elasticsearch-oss" "service-analyzer" "service-jira" "service-rally") | |
for name in "${arr[@]}" | |
do | |
imagesName=($(docker images | grep $name | awk '{print $1}')) | |
tag=($(docker images | grep $name | awk '{print $2}')) | |
imagesId=($(docker images | grep $name | awk '{print $3}')) |
Pull the latest version of influxdb official image :
docker pull influxdb
public class MainPage { | |
@FindBy(xpath = ".//div[@class = 'header']") | |
private Header header; | |
} | |
public class AnyOtherPage { | |
@FindBy(xpath = ".//div[@class = 'header']") | |
private Header header; | |
} |
public class EditUserPage { | |
@FindBy(xpath = "//div[text()='Sing In']") | |
private Button activity; | |
@FindBy(xpath = "//div[text()='Sign Up']") | |
private Button reason; | |
} |
public class UserPage { | |
@FindBy(xpath = "//div[text()='Телефон']/input") | |
private TextInput innerPhone; | |
@FindBy(xpath = "//div[text()='Email']/input") | |
private TextInput email; | |
@FindBy(xpath = "//button[text()='Сохранить']") | |
private Button save; | |
public class MainSteps { | |
public void hasText(HtmlElement e, Matcher m) | |
public void hasValue(HtmlElement e, Matcher m) | |
public void linkContains(HtmlElement e, String s) | |
public void hasSize(List<HtmlElement> e, Matcher m) | |
public void hasItem(List<HtmlElement> e, Matcher m) | |
//... | |
} |
public interface MainPage extends WebPage, WithHeader { | |
@FindBy("//a[contains(text(), 'Or start a free)]") | |
AtlasWebElement trial(); | |
} |