-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.sh
85 lines (58 loc) · 2.28 KB
/
script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env bash
# https://github.com/wp-pay/travis-ci-test
echo 'Hello World!'
apt-get -y install language-pack-nl
add-apt-repository -y ppa:ondrej/php
apt-get update
# apt-cache search
# http://christopher.su/2015/selenium-chromedriver-ubuntu/
# https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
# apt-get -y install openjdk-7-jre
apt-get -y install default-jre
# Google Chrome
# http://www.howopensource.com/2011/10/install-google-chrome-in-ubuntu-11-10-11-04-10-10-10-04/
# http://askubuntu.com/questions/79280/how-to-install-chrome-browser-properly-via-command-line
# apt-get -y install google-chrome-stable
apt-get -y install chromium-browser
apt-get -y install firefox
apt-get -y install unzip
# apt-get -y install node
# https://www.dev-metal.com/install-setup-php-5-6-ubuntu-14-04-lts/
#apt-get -y install php5-fpm
#apt-get -y install php5-cli
#apt-get -y install php5-common
#apt-get -y install php5-dev
#apt-get -y install php5-mysql
#apt-get -y install php5-curl
apt-get -y install php7.0-common
apt-get -y install php7.0-cli
apt-get -y install php7.0-dev
apt-get -y install php7.0-curl
apt-get -y install php7.0-mysql
# https://gistpages.com/posts/php_fatal_error_class_domdocument_not_found
# http://stackoverflow.com/questions/14395239/magento-class-domdocument-not-found
apt-get -y install php7.0-xml
# apt-get -y install mysql-server
# https://www.vultr.com/docs/install-mariadb-on-ubuntu-14-04
apt-get -y install mariadb-server-5.5
apt-get -y install mariadb-server
apt-get -y install xvfb
apt-get -y install phpunit
apt-get -y install phpunit-selenium
# http://www.penguinproducer.com/Blog/2012/06/command-for-recording-desktop/
# https://libav.org/
apt-get -y install libav-tools
## FFPMG
# http://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/
# http://ffmpeg.org/download.html#LinuxBuilds
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ffmpeg
# http://wp-cli.org/#install
# https://github.com/Varying-Vagrant-Vagrants/VVV/blob/v1.1/provision/provision.sh#L360-L373
curl --silent -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info --allow-root