LAMP setup (Linux, Apache, MariaDB/MySQL, PHP)

apt-get -y install mariadb-server mariadb-client

Enter current password for root (enter for none):
Set root password? [Y/n] Y
New password:<your password>
Re-enter new password: <your password>
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y

apt-get -y install apache2 apache2-doc apache2-utils

#apt-cache search php7

apt-get -y install php7.3 libapache2-mod-php7.3

apt-get -y install php7.3-mysql php7.3-gd php7.3-zip php7.3-opcache php-pear php-apcu

service apache2 restart

apt-get install autoconf gcc libc6 libmcrypt-dev make libssl-dev wget autogen automake pkg-config git-core samba samba-common-bin dstat lsof telnet dnsutils ethtool nmap arp-scan mysql-utilities lynx ntfs-3g openvpn traceroute minidlna build-essential libgd-dev cu gsm-utils minicom zip unzip python-dev bc mcrypt sysstat nmon rpi-update davfs2 speedtest-cli msmtp msmtp-mta mailutils mutt wiringpi python-serial iperf screen expect libmcrypt*




  If you like my website, feel free to donate via the Paypal button. Thank you!