first commit
This commit is contained in:
parent
ebd21523e6
commit
7def62850b
4 changed files with 91 additions and 11 deletions
20
Aide
20
Aide
|
@ -1,16 +1,24 @@
|
||||||
faire check des dependances
|
faire check des dependances
|
||||||
|
|
||||||
-->
|
--> verif tool a chek si installer:
|
||||||
duf
|
duf
|
||||||
gtop
|
gtop
|
||||||
vtop
|
vtop
|
||||||
glances
|
glances
|
||||||
htop
|
htop
|
||||||
|
sensible-browser
|
||||||
|
s-tui
|
||||||
|
nload
|
||||||
|
iftop
|
||||||
|
nethogs
|
||||||
|
bmon
|
||||||
|
netwatch
|
||||||
|
ttyload
|
||||||
|
netload
|
||||||
|
speedometer
|
||||||
|
vnstat
|
||||||
|
whiptail
|
||||||
|
vmstat
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
25
list-app-install-apt.sh
Normal file
25
list-app-install-apt.sh
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Load the list of dependencies from file.txt into an array
|
||||||
|
IFS=$'\n' read -d '' -r -a dependencies < list-app-used.txt
|
||||||
|
|
||||||
|
# Loop through the array of dependencies and check if each one is installed
|
||||||
|
for dependency in "${dependencies[@]}"
|
||||||
|
do
|
||||||
|
if ! command -v "$dependency" &> /dev/null
|
||||||
|
then
|
||||||
|
# Dependency is not installed, prompt the user to install it
|
||||||
|
echo "The $dependency dependency is not installed."
|
||||||
|
read -p "Do you want to install it now? (y/n) " choice
|
||||||
|
if [ "$choice" == "y" ]; then
|
||||||
|
sudo apt-get install "$dependency"
|
||||||
|
else
|
||||||
|
echo "Installation canceled."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "The $dependency dependency is already installed."
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "All dependencies are installed."
|
20
list-app-install-apt.txt
Normal file
20
list-app-install-apt.txt
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# apt-get install nload apachetop sniffit vmstat iftop glances htop s-tui nethogs bmon vnstat nmon sensible-utils ttyload netload netwatch nmom
|
||||||
|
|
||||||
|
duf
|
||||||
|
glances
|
||||||
|
htop
|
||||||
|
s-tui
|
||||||
|
nload
|
||||||
|
iftop
|
||||||
|
nethogs
|
||||||
|
bmon
|
||||||
|
nmom
|
||||||
|
netwatch
|
||||||
|
ttyload
|
||||||
|
netload
|
||||||
|
sensible-utils
|
||||||
|
vnstat
|
||||||
|
whiptail
|
||||||
|
vnstat
|
||||||
|
apachetop
|
||||||
|
sniffit
|
|
@ -1,15 +1,42 @@
|
||||||
nload
|
|
||||||
|
apt-get install nload apachetop sniffit iftop glances htop s-tui iftop nethogs bmon vnstat nmon whiptail
|
||||||
|
|
||||||
|
duf
|
||||||
glances
|
glances
|
||||||
htop
|
htop
|
||||||
gtop
|
|
||||||
vtop
|
|
||||||
s-tui
|
s-tui
|
||||||
|
nload
|
||||||
iftop
|
iftop
|
||||||
nethogs
|
nethogs
|
||||||
bmon
|
bmon
|
||||||
speedmeter
|
nmom
|
||||||
|
netwatch
|
||||||
|
ttyload
|
||||||
|
netload
|
||||||
|
sensible-utils
|
||||||
vnstat
|
vnstat
|
||||||
nmon
|
whiptail
|
||||||
|
vnstat
|
||||||
|
apachetop
|
||||||
|
sniffit
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------- special
|
||||||
|
|
||||||
|
sensible-browser --> apt-get install sensible-utils
|
||||||
|
|
||||||
|
mytop -->
|
||||||
|
wget http://fossies.org/linux/privat/mytop-1.9.1.tar.gz
|
||||||
|
tar zxpfv mytop-1.9.1.tar.gz
|
||||||
|
cd mytop-1.9.1
|
||||||
|
perl Makefile.PL && make && make install
|
||||||
|
|
||||||
|
gtop --> npm install -g gtop
|
||||||
|
vtop --> npm install -g vtop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
arachni/
|
arachni/
|
||||||
dirbot/ dnsenum/
|
dirbot/ dnsenum/
|
||||||
|
|
Loading…
Reference in a new issue