server console commands
all server console command to setup database on Debian 11 NEWEST
search system updates
apt updateapt upgrade -yapt get updates and install gnupg
apt-get updateapt-get install gnupginstall database webinterface
apt install wget -yapt install apache2 -yapache2 status check
systemctl status apache2Press CTRL + Z
install php
install mariadb and configure
Press CTRL + Z
As you have not yet set a root password for your database, hit Enter to skip the initial query. Complete the following queries:
Switch to unix_socket authentication [Y/n] - Enter n to skip.
Set root password? [Y/n] - Type y and press Enter to create a strong root password for your database. If you already have a root password, enter n to answer the Change the root password question.
Remove anonymous users? [Y/n] - Type y and press Enter.
Disallow root login remotely? [Y/n] - Type y and press Enter.
Remove test database and access to it? [Y/n] - Type y and confirm with Enter.
Reload privilege tables now? [Y/n] - Type y and confirm with Enter.
create database user
install phpmyadmin
check phpmyadmin gpg key
SEARCH $cfg['blowfish_secret'] = ''; and add your securepassword
add this in apache2.conf on end!
finish
Last updated