Professional Documents
Culture Documents
dvd2 2x
dvd3 2x
apt-get update
apt-get install -y bind9* dnsutils apache* mysql* php7.3* unzip nmap proftpd*
samba* munin*
nano /etc/ssh/sshd_conf
/etc/init.d/ssh restart
winscp
unzip php
mv php
chmod 777 -R /var/www/html
mysqladmin -u root password 123456
/etc/init.d/mysql restart
nmap localhost
unzip J
unzip O
unzip w
nano /etc/apache2/sites-enabled/www.conf
/etc/init.d/apache2 restart
nano /etc/proftpd/proftpd.conf
/etc/init.d/proftpd restart
nano /etc/samba/smb.conf
path = /home/server
writeable = yes
browseable = yes
security = user
save
/etc/init.d/smbd restart
cd /home
mkdir server
chmod 777 -R /home/server
useradd user
smbpasswd user
123
nano /etc/munin/munin.conf
a simple host tree
[namadomain]
127.0.0.1
save
htpasswd -c /etc/munin/munin-htpasswd user
nano /etc/munin/apache24.conf
#Require local
AuthUserFile /etc/munin/munin-htpasswd
AuthName "Munin"
AuthType Basic
Require valid-user
save
/etc/init.d/munin-node restart
/etc/init.d/apache2 restart
apt-cdrom add
dvd3
apt-get install -y postfix
apt-get install -y dovecot-imapd dovecot-pop3d
dpkg reconfigure postfix
nano /etc/postfix/main.cf
home_mailbox = Maildir/
nano /etc/dovecot/conf.d/10-mail.conf
maildirmake dovecot /etc/skel/Maildir
/etc/init.d/postfix restart
/etc/init.d/dovecot restart
adduser upin
adduser ipin
phpmyadmin
apt-get install -y roundcube
nano /etc/roundcube/conf.inc.php
nano /etc/apache2/sites-enabled/mail.conf
/etc/init.d/apache2 restart