Skip to navigation
Install a basic lamp into stretch debian9
13.02.18
1. install base lamp apt-get install apache2 php7.0 libapache2-mod-php7.0 php7.0-json php7.0-xml php7.0-cgi php7.0-mysql php7.0-mbstring php7.0-gd php7.0-curl php7.0-zip php-redis curl emacs25-nox wget apt-utils openssh-server apache2 supervisor php7.0-mcrypt redis-server mysql-client default-mysql-server git emacs25-nox php7.0-bcmath 2. setup mariadb with root password a. stop mariadb: /etc/init.d/mysql stop b. start safe-mode: mysqld_safe --skip-grant-tables & c. login: mysql d. switch to mysql database: use mysql e. set a root password: UPDATE user SET password=PASSWORD("my-password") WHERE User='root'; d. prevent non password root login: update user set plugin='' where User='root'; f. activate and exit: FLUSH PRIVILEGES; quit;
Reply
Anonymous
Information Epoch 1732678782
Live free or die.
Home
Notebook
Contact us