-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.txt
75 lines (62 loc) · 2.52 KB
/
todo.txt
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
=====================================
pdftk
=====================================
wget http://mirrors.kernel.org/ubuntu/pool/universe/p/pdftk-java/pdftk-java_3.0.2-2_all.deb
apt install ./pdftk-java_3.0.2-2_all.deb
=====================================
=====================================
=====================================
awscli
=====================================
apt-get install awscli
=====================================
=====================================
=====================================
docker
=====================================
apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
=====================================
=====================================
=====================================
pecl-build
=====================================
sudo -i git clone https://github.com/crocos/pecl-build.git $PHPENV_ROOT/plugins/pecl-build
- modify bin/pecl-build#L103 to use case-insensitive grep
may want to fork and use own repo
=====================================
=====================================
=====================================
ext-imagick
=====================================
- requires pecl-build
sudo apt-get update
sudo apt-get install libmagickwand-dev
modify /etc/ImageMagick-6/policy.xml:
<policy domain="resource" name="memory" value="10GiB"/>
<policy domain="resource" name="map" value="10GiB"/>
<policy domain="resource" name="width" value="1GiP"/>
<policy domain="resource" name="height" value="1GiP"/>
Better idea: try to create a temp policy.xml and use the MAGICK_CONFIGURE_PATH environment variable:
MAGICK_CONFIGURE_PATH='/my/path/:/etc/ImageMagick-6/'
for one version:
sudo -i phpenv pecl imagick -j <php-version>
for all versions:
sudo -i phpenv pecl imagick -a
=====================================
=====================================
=====================================
system - curl
=====================================
# install latest Mozilla CA certificate store
curl --remote-name https://curl.se/ca/cacert.pem
sudo cp cacert.pem /etc/ssl/certs/
maybe create a helper script to periodically keep this up to date
=====================================
=====================================