-
Notifications
You must be signed in to change notification settings - Fork 0
/
wpinstall.sh
58 lines (57 loc) · 1.65 KB
/
wpinstall.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
#!/bin/bash
apt install -y --fix-missing
apt update -y
apt upgrade -y
apt install -y libc-dev-bin
apt install -y linux-libc-dev
apt install -y libcrypt-dev
apt install -y libc6-dev
apt install -y uuid-dev
apt install -y libpcre2-16-0
apt install -y gcc
apt install -y g++
apt install -y make
apt install -y dpkg-dev
apt install -y libpython3-dev
apt install -y python3.8-dev
apt install -y python3-lib2to3
apt install -y python3-distutils
apt install -y libblkid-dev
apt install -y libpcre16-3
apt install -y libpcre32-3
apt install -y libpcrecpp0v5
apt install -y libsepol1-dev
apt install -y libpcre2-dev
apt install -y python3-dev
apt install -y libffi-dev
apt install -y libglib2.0-dev-bin
apt install -y libmount-dev
apt install -y libpcre3-dev
apt install -y libselinux1-dev
apt install -y gconf2-common
apt install -y python3-setuptools
apt install -y python3-wheel
apt install -y python-pip-whl
apt install -y python3-pip
apt install -y xclip
pip3 install imap-tools --upgrade
pip3 install selenium --upgrade
pip3 install requests --upgrade
pip3 install lxml --upgrade
pip3 install pyperclip --upgrade
pip3 install selenium-wire --upgrade
apt install -y libglib2.0-dev
apt install -y -y libgconf-2-4
apt install -y libfontconfig1
apt install -y libxss1
apt install -y xsel
apt install -y unzip
apt install -y chromium-chromedriver
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
wget -O wordpress.zip http://github.com/sunny9495-dev/linux-bash/blob/main/wordpress.zip?raw=true
unzip wordpress.zip
rm wordpress.zip
cd wordpress/app
python3 __main__.py