apt install mc
sshd
/etc/ssh/sshd_config/etc/ssh/sshd_config
FROM: PermitRootLogin without-password TO: PermitRootLogin yes
/etc/ssh/sshd_config
mysq phpadmin
ping 192.168.3.1
ip addr
mc
apt install mc
mc
reboot
mc
reboot
apt update
apt install snapd
snap install core
snap refresh core
snap install –classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
apt install mysql-server
apt update
apt upgrade
install wget
apt install wget
wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb
apt install ./mysql-apt-config_0.8.22-1_all.deb
apt update
install mysql-server
apt install mysql-server
apt -y install php php-common
apt -y install php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath
apt -y install libapache2-mod-php
php -v
a2enmod php7.*
systemctl restart apache2
apt install php5-mcrypt
apt install mcrypt
reboot
apt -y install mcrypt
apt install php7-mcrypt
/etc/init.d/apache2 restart
php7enmod mcrypt
php -m | grep mcrypt
apt install php-dev libmcrypt-dev php-pea
/etc/init.d/apache2 restart
apt-get install php-dev libmcrypt-dev gcc make autoconf libc-dev pkg-config
apt install php7.4-mcrypt
apt install php7.0-mcrypt
pecl install mcrypt-1.0.1
echo “extension=mcrypt.so” | sudo tee -a /etc/php/7.4/apache2/conf.d/mcrypt.ini
echo “extension=mcrypt.so” | tee -a /etc/php/7.4/apache2/conf.d/mcrypt.ini
/etc/init.d/apache2 restart
php -m | grep mcrypt
/etc/init.d/apache2 restart
apt install intl
apt install php-intl
/etc/init.d/apache2 restart
a2enmod rewrite
/etc/init.d/apache2 restart
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter ‘c’ to cancel): pchlavka.cz
Requesting a certificate for pchlavka.cz
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/pchlavka.cz/fullchain.pem
Key is saved at: /etc/letsencrypt/live/pchlavka.cz/privkey.pem
This certificate expires on 2023-01-30.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate
Successfully deployed certificate for pchlavka.cz to /etc/apache2/sites-available/000-default-le-ssl.conf
Congratulations! You have successfully enabled HTTPS on https://pchlavka.cz
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let’s Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le