-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevel-setup.sh
More file actions
executable file
·70 lines (60 loc) · 2.08 KB
/
devel-setup.sh
File metadata and controls
executable file
·70 lines (60 loc) · 2.08 KB
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
#!/usr/bin/env bash
echo "Updating..."
yum -y update
echo "Installing epel..."
yum -y install epel-release
echo "Installing Xfce..."
yum -y group install "Xfce"
echo "Installing X Window System..."
yum -y group install "X Window System"
systemctl set-default graphical.target
echo "Installing other...."
yum -y install firefox gedit filezilla zip unzip nano htop ncdu \
gcc gcc-c++ zlib zlib-devel libffi-devel openssl-devel bzip2-devel \
thunderbird wget dig mlocate bind-utils rdesktop freerdp tigervnc-server \
git xclip screen docker
echo "Installing Chrome..."
touch /etc/yum.repos.d/google-chrome.repo
echo "[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub" > /etc/yum.repos.d/google-chrome.repo
yum -y install google-chrome-stable
echo "Installing Atom..."
rpm --import https://packagecloud.io/AtomEditor/atom/gpgkey
touch /etc/yum.repos.d/atom.repo
echo "[Atom]
name=Atom Editor
baseurl=https://packagecloud.io/AtomEditor/atom/el/7/x86_64
enabled=1
gpgcheck=0
repo_gpgcheck=1
gpgkey=https://packagecloud.io/AtomEditor/atom/gpgkey" > /etc/yum.repos.d/atom.repo
yum -y install atom
echo "Installing VScode..."
rpm --import https://packages.microsoft.com/keys/microsoft.asc
touch /etc/yum.repos.d/vscode.repo
echo "[code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo
yum -y install code
echo "Installing Python..."
cd /usr/src
wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz
tar xzf Python-3.7.1.tgz
cd Python-3.7.1
./configure --enable-optimizations
make altinstall
echo "Installing Open Office..."
cd /usr/src
wget https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.5/binaries/en-US/Apache_OpenOffice_4.1.5_Linux_x86_install-rpm_en-US.tar.gz
tar xzf Apache_OpenOffice_4.1.5_Linux_x86_install-rpm_en-US.tar.gz
cd en-US/RPMS/
rpm -Uvh *.rpm
cd desktop-integration/
rpm -Uvh openoffice4.1-redhat-menus-*.noarch.rpm