Compare commits

4 Commits

Author SHA1 Message Date
9972fc6d9d Updated chrome 2022-07-04 22:23:44 +08:00
f7ef85aad9 Updated apache2 2022-07-04 22:22:57 +08:00
3043a41365 Sort in apt 2022-07-04 22:22:37 +08:00
47c1e6d40b Fixed gen-makefile 2022-07-04 22:22:05 +08:00
5 changed files with 49 additions and 47 deletions

View File

@@ -1,7 +1,8 @@
# Autogenerated at 04.07.2022 22:11 using ./gen-makefile.sh # Autogenerated at 04.07.2022 22:16 using ./gen-makefile.sh
##lamp: Apache + php + mariadb ##lamp: Apache + php + mariadb
lamp: apache php mariadb lamp: apache php mariadb
##apache: Install apache2 (latest) ##apache: Install apache2 (latest)
apache: apache:
./install/apache ./install/apache
@@ -111,4 +112,4 @@ help: Makefile
##<goal>_: Same as 'cat ./install/<goal>.sh' ##<goal>_: Same as 'cat ./install/<goal>.sh'
%_: %_:
@cat ./install/$*.sh @cat ./install/$*

View File

@@ -4,6 +4,7 @@ echo -e "# Autogenerated at $(date +'%d.%m.%Y %H:%M') using ${BASH_SOURCE[0]}\n"
for file in ./packs/*; do for file in ./packs/*; do
cat ${file} >> Makefile cat ${file} >> Makefile
echo >> Makefile
done; done;
for file in ./install/*; do for file in ./install/*; do
@@ -22,12 +23,11 @@ help: Makefile
@echo "Available goals:" @echo "Available goals:"
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/" @sed -n 's/^##//p' $< | column -t -s ':' | sed -e "s/^/\t/"
##<goal>_: Same as 'cat ./install/<goal>.sh' ##<goal>_: Same as 'cat ./install/<goal>'
%_: %_:
@cat ./install/\$*.sh @cat ./install/\$*
EOF EOF
echo "New ./Makefile has been generated!" echo "New ./Makefile has been generated!"
echo "Old one has been saved as ./Makefile.bak" echo "Old one has been saved as ./Makefile.bak"
echo echo

View File

@@ -7,6 +7,6 @@ echo "Installing apache2..."
echo "===============================================" echo "==============================================="
echo echo
sudo apt install -y --autoremove apache2 sudo apt install -y --autoremove apache2 && \
sudo service apache2 restart service apache2 restart && \
apache2 -v apache2 -v

View File

@@ -7,54 +7,56 @@ echo "Installing software from apt..."
echo "===============================================" echo "==============================================="
echo echo
sudo apt update && sudo apt upgrade -y --autoremove sudo apt update && \
sudo apt install -y --autoremove \ sudo apt upgrade -y --autoremove
sudo apt install -y \
alien \
apt-transport-https \ apt-transport-https \
ca-certificates \
curl \
make \
cmake \
dialog \
build-essential \ build-essential \
software-properties-common \ ca-certificates \
libaio1 \ cmake \
libssl-dev \ curl \
libghc-zlib-dev \ dconf-editor \
libcurl4-gnutls-dev \ default-jdk \
libexpat1-dev \ dialog \
gettext \ gettext \
gnupg \ gnupg \
ubuntu-restricted-extras \
unzip \
mc \
htop \
nano \
neofetch \
default-jdk \
terminator \
dconf-editor \
alien \
meld \
vlc \
gparted \ gparted \
hardinfo \ hardinfo \
htop \
libaio1 \
libcurl4-gnutls-dev \
libexpat1-dev \
libghc-zlib-dev \
libreoffice \ libreoffice \
pulseeffects \ libssl-dev \
lsp-plugins \
lsb-release \ lsb-release \
lsp-plugins \
make \
mc \
meld \
nano \
neofetch \
net-tools \ net-tools \
nmap \ nmap \
p7zip-full \ p7zip-full \
sqlitebrowser pulseeffects \
# gnome-software \ software-properties-common \
# minder \ sqlitebrowser \
# redshift \ terminator \
# redshift-gtk \ ubuntu-restricted-extras \
# nodejs \ unzip \
vlc \
# at \
# compiz \ # compiz \
# compizconfig-settings-manager \ # compizconfig-settings-manager \
# deepin-screenshot \
# earlyoom \ # earlyoom \
# etckeeper \ # etckeeper \
# deepin-screenshot \
# geoclue-2.0 \ # geoclue-2.0 \
# at # gnome-software \
# minder \
# nodejs \
# redshift \
# redshift-gtk

View File

@@ -9,7 +9,6 @@ echo
# https://t.me/axenov_blog/251 # https://t.me/axenov_blog/251
# sudo snap install chromium wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" -O /tmp/google-chrome-stable_current_amd64.deb && \
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" -O /tmp/google-chrome-stable_current_amd64.deb sudo dpkg -i /tmp/google-chrome-stable_current_amd64.deb && \
sudo dpkg -i /tmp/google-chrome-stable_current_amd64.deb rm /tmp/google-chrome-stable_current_amd64.deb
rm /tmp/google-chrome-stable_current_amd64.deb