basics
Basics
nano /etc/apt/sources.list
- sources.list
deb http://ftp.de.debian.org/debian/ jessie main deb-src http://ftp.de.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main # jessie-updates, previously known as 'volatile' deb http://ftp.de.debian.org/debian/ jessie-updates main deb-src http://ftp.de.debian.org/debian/ jessie-updates main # jessie-backports deb http://ftp.debian.org/debian jessie-backports main
apt update apt install open-vm-tools -y apt install openssh-server -y mkdir /root/.ssh nano /root/.ssh/authorized_keys apt install ntp ntpdate -y nano /etc/ntp.conf apt install mc htop tcpdump nmap tree pwgen lvm2 xfsprogs unattended-upgrades ncdu mailutils -y
Program | Function |
---|---|
mc | File Commander |
htop | top Alternative |
tcpdump | Paketsniffer |
nmap | Port- und Netzwerkanalyse |
tree | Verzeichnisbaum auflisten |
pwgen | Passwortgenerator |
lvm2 | Logical Volume Manager 2 |
xfsprogs | Werkzeuge zur Verwaltung des XFS Dateisystems |
unattended-upgrades | Sicherheitsupdates automatisch installieren |
ncdu | TreeSize auf der Shell |
mailutils | Mails auf der Shell senden |
apt install apache2 php5 -y a2enmod rewrite ssl proxy fastcgi proxy_http proxy_fastcgi nano /etc/php5/apache2/php.ini date.timezone = Europe/Berlin apt install mysql-server -y <mysql root@localhost Passwort setzen> mysql_secure_installation
basics.txt · Zuletzt geändert: 2016/11/23 21:54 von xenadmin