latest and greatest changes
This commit is contained in:
parent
ddba386dde
commit
e4693ff82a
@ -12,4 +12,4 @@ rsync -auvP root@git.dotya.ml:/root/.zshrc ~/utils/nebula/root/zshrc
|
|||||||
rsync -auvP root@git.dotya.ml:/root/.ssh/ ~/utils/nebula/root/ssh
|
rsync -auvP root@git.dotya.ml:/root/.ssh/ ~/utils/nebula/root/ssh
|
||||||
|
|
||||||
rsync -auvP root@git.dotya.ml:/home/vis/.ssh/ ~/utils/nebula/vis/ssh
|
rsync -auvP root@git.dotya.ml:/home/vis/.ssh/ ~/utils/nebula/vis/ssh
|
||||||
rsync -auvP root@git.dotya.ml:/home/vis/.config/ --exclude="*qbittorrent-data*" ~/utils/nebula/vis/config
|
rsync -auvP root@git.dotya.ml:/home/vis/.config/ --exclude="*Bittorrent-data*" ~/utils/nebula/vis/config
|
||||||
|
9
mgp
9
mgp
@ -25,6 +25,9 @@ git pull
|
|||||||
cd $fol/explainshell
|
cd $fol/explainshell
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
cd $fol/flutter
|
||||||
|
git pull
|
||||||
|
|
||||||
cd $fol/gitnex
|
cd $fol/gitnex
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
@ -97,6 +100,9 @@ git pull
|
|||||||
cd $fol/megasync
|
cd $fol/megasync
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
cd $fol/MEGA-Instances
|
||||||
|
git pull
|
||||||
|
|
||||||
cd $fol/no-more-secrets
|
cd $fol/no-more-secrets
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
@ -127,6 +133,9 @@ git pull
|
|||||||
cd $fol/themes/flat-remix-gtk
|
cd $fol/themes/flat-remix-gtk
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
cd $fol/themes/flat-remix-gnome
|
||||||
|
git pull
|
||||||
|
|
||||||
cd $fol/trackerjacker
|
cd $fol/trackerjacker
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
@ -5,3 +5,25 @@
|
|||||||
# Author: a_mirre@utb.cz
|
# Author: a_mirre@utb.cz
|
||||||
# License: GNU GPL v3 (https://www.gnu.org/licenses/gpl.html)
|
# License: GNU GPL v3 (https://www.gnu.org/licenses/gpl.html)
|
||||||
|
|
||||||
|
# old dotfiles should be backed up
|
||||||
|
|
||||||
|
files={vimrc:gvimrc:zsh/zshrc}
|
||||||
|
bindir="~/utils/bin"
|
||||||
|
|
||||||
|
if [ ! -d $bindir ]; then
|
||||||
|
echo "[*] creating bindir"
|
||||||
|
mkdir -pv $bindir
|
||||||
|
else
|
||||||
|
echo "[i] bindir already present"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "[*] symlinking dotfiles"
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
if [ -f $f ]; then
|
||||||
|
echo "[*] backing up $f to $f.OLDER"
|
||||||
|
mv -v $f $f.OLDER
|
||||||
|
fi
|
||||||
|
echo "[*] creating a link for $f at $syspath"
|
||||||
|
ln -v -s $f $syspath
|
||||||
|
done
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# a simple post-install script to be used on a fedora system
|
# this is a simple post-install script intended for a fedora
|
||||||
|
# installation workstation set-up
|
||||||
# there's a lot to be done yet...
|
# there's a lot to be done yet...
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
|
|
||||||
@ -46,25 +47,27 @@ dnf config-manager --set-enabled rpmfusion-free
|
|||||||
# zsh + oh-my-zsh + git + vim + rsync
|
# zsh + oh-my-zsh + git + vim + rsync
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
dnf install -yy zsh git vim rsync
|
dnf install -yy zsh git vim rsync
|
||||||
cd
|
#cd
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
#sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &
|
||||||
cd $tadyma
|
#cd $tadyma
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# install the most important tools
|
# install the most important tools
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
dnf install -yy htop whois screen feh scrot gpicview p7zip unar
|
dnf install -yy \
|
||||||
dnf install -yy gnome-terminal terminator oathtool
|
htop whois screen feh scrot gpicview p7zip unar \
|
||||||
dnf install -yy gmrun redshift gparted ethtool keepassxc
|
gnome-terminal tmux oathtool keepassxc \
|
||||||
dnf install -yy xarchiver xfce4-settings screenfetch neofetch galculator
|
gmrun redshift gparted ethtool tor privoxy \
|
||||||
dnf install -yy lightdm light-locker gnome-disk-utility thunderbird firefox vlc
|
xarchiver xfce4-settings screenfetch neofetch galculator \
|
||||||
dnf install -yy lightdm-gtk-greeter-settings notify-send libreoffice-core
|
lightdm light-locker gnome-disk-utility thunderbird firefox \
|
||||||
dnf install -yy lxtask lxappearance lxdm lxpolkit volumeicon i3lock tor privoxy
|
lightdm-gtk-greeter-settings notify-send libreoffice-core \
|
||||||
|
lxtask lxappearance lxdm lxpolkit volumeicon i3lock
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# install class2-importance tools
|
# install class2-importance tools
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
dnf install -yy oggconvert pinta pdfmod youtube-dl
|
dnf install -yy oggconvert pinta pdfmod youtube-dl gnome-calculator
|
||||||
#putty audacity guitarix frama-c
|
|
||||||
|
# install vlc
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# thermal
|
# thermal
|
||||||
@ -144,34 +147,35 @@ dnf install -yy nmap aircrack-ng nethogs iptraf-ng wireshark nmap-ncat
|
|||||||
|
|
||||||
cd $utils_fol
|
cd $utils_fol
|
||||||
|
|
||||||
|
su $SUDO_USER sh -c '
|
||||||
# mitmproxy
|
# mitmproxy
|
||||||
#pip3 install mitmproxy
|
#pip3 install mitmproxy
|
||||||
|
|
||||||
# setoolkit
|
# setoolkit
|
||||||
#sudo dnf install git python-pexpect python-pefile python-crypto pyOpenSSL
|
#sudo dnf install git python-pexpect python-pefile python-crypto pyOpenSSL
|
||||||
#git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
|
git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
|
||||||
|
|
||||||
# sdtool
|
# sdtool
|
||||||
#git clone https://github.com/BertoldVdb/sdtool.git
|
git clone https://github.com/BertoldVdb/sdtool.git
|
||||||
|
|
||||||
# int0x80
|
# int0x80
|
||||||
# git clone https://github.com/int0x80/anti-forensics.git
|
git clone https://github.com/int0x80/anti-forensics.git
|
||||||
# git clone https://github.com/int0x80/windows.git
|
git clone https://github.com/int0x80/windows.git
|
||||||
# git clone https://github.com/int0x80/SweetSecurity.git
|
git clone https://github.com/int0x80/SweetSecurity.git
|
||||||
# git clone https://github.com/int0x80/1337-Noms-The-Hacker-Cookbook.git
|
git clone https://github.com/int0x80/1337-Noms-The-Hacker-Cookbook.git
|
||||||
# git clone https://github.com/int0x80/Packt-Publishing-Free-Learning.git
|
git clone https://github.com/int0x80/Packt-Publishing-Free-Learning.git
|
||||||
# git clone https://github.com/int0x80/killallthehumans.git
|
git clone https://github.com/int0x80/killallthehumans.git
|
||||||
# git clone https://github.com/int0x80/githump.git
|
git clone https://github.com/int0x80/githump.git
|
||||||
# git clone https://github.com/int0x80/reversing.git
|
git clone https://github.com/int0x80/reversing.git
|
||||||
# git clone https://github.com/int0x80/blog.git
|
git clone https://github.com/int0x80/blog.git
|
||||||
# git clone https://github.com/int0x80/iot-stuff.git
|
git clone https://github.com/int0x80/iot-stuff.git
|
||||||
# git clone https://github.com/int0x80/notes.git
|
git clone https://github.com/int0x80/notes.git
|
||||||
# git clone https://github.com/int0x80/dotfiles.git
|
git clone https://github.com/int0x80/dotfiles.git
|
||||||
|
|
||||||
|
|
||||||
# vermaden's scripts
|
# vermaden scripts
|
||||||
# git clone https://github.com/vermaden/scripts.git $HOME/utils/vermaden-scripts
|
# git clone https://github.com/vermaden/scripts.git $HOME/utils/vermaden-scripts
|
||||||
|
'
|
||||||
cd $tadyma
|
cd $tadyma
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
@ -192,18 +196,7 @@ cd $tadyma
|
|||||||
#nmcli con up free
|
#nmcli con up free
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# [!] warning - possibly(?) GNOME-dependent
|
#dnf install -yy xed nemo nemo-desktop
|
||||||
# -----------------------------------------------------------
|
|
||||||
#dnf install evince
|
|
||||||
#gnome-sound-recorder
|
|
||||||
dnf install -yy gnome-calculator
|
|
||||||
# tiling terminal - not really necessary
|
|
||||||
# tilix \
|
|
||||||
# disk image burner, got enough of these
|
|
||||||
# brasero \ - vital
|
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
|
||||||
dnf install -yy xed nemo nemo-desktop
|
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# flatpak
|
# flatpak
|
||||||
@ -224,7 +217,7 @@ dnf install -yy libva-intel-driver
|
|||||||
|
|
||||||
# so that flashtool would work, add user (fedora) to group dialout
|
# so that flashtool would work, add user (fedora) to group dialout
|
||||||
#adduser fedora dialout
|
#adduser fedora dialout
|
||||||
gpasswd -a fedora dialout
|
gpasswd -a $SUDO_USER dialout
|
||||||
|
|
||||||
# no-more-secrets
|
# no-more-secrets
|
||||||
#cd $utils_fol
|
#cd $utils_fol
|
||||||
@ -295,7 +288,7 @@ dnf install -yy atom
|
|||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# change plymouth theme
|
# change plymouth theme
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
plymouth-set-default-theme -R details # sets it to "details" and rebuilds initrd
|
#plymouth-set-default-theme -R details # sets it to "details" and rebuilds initrd
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
@ -306,8 +299,8 @@ plymouth-set-default-theme -R details # sets it to "details" and rebuilds initrd
|
|||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
# configure zram
|
# configure zram
|
||||||
# -----------------------------------------------------------
|
# -----------------------------------------------------------
|
||||||
dnf install -yy zram
|
#dnf install -yy zram
|
||||||
modprobe zram
|
#modprobe zram
|
||||||
# getconf _NPROCESSORS_ONLN # number of compressing threads == no. cpu cores
|
# getconf _NPROCESSORS_ONLN # number of compressing threads == no. cpu cores
|
||||||
# cat /sys/block/zram0/max_comp_streams
|
# cat /sys/block/zram0/max_comp_streams
|
||||||
# grep MemTotal /proc/meminfo | grep -E --only-matching '[[:digit:]]+' # mem KiB
|
# grep MemTotal /proc/meminfo | grep -E --only-matching '[[:digit:]]+' # mem KiB
|
||||||
@ -325,7 +318,7 @@ systemctl start zram.service
|
|||||||
# current swappiness level
|
# current swappiness level
|
||||||
#cat /proc/sys/vm/swappiness
|
#cat /proc/sys/vm/swappiness
|
||||||
# permanent solution
|
# permanent solution
|
||||||
echo "vm.swappiness = 20" >> /etc/sysctl.conf
|
echo "vm.swappiness = 7" >> /etc/sysctl.conf
|
||||||
|
|
||||||
|
|
||||||
systemctl disable ModemManager.service
|
systemctl disable ModemManager.service
|
||||||
|
Loading…
Reference in New Issue
Block a user