1) - apachectl -V
2)- sudo systemctl start mysql.service
3)- sudo service mysql status
4) - mysql -u root -p : neet to Enter password of mysql Credential. bydefault you should try root & root as password.
5)- CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
6)- GRANT ALL PRIVILEGES ON database.* TO 'username'@'localhost' IDENTIFIED BY 'password';
(Provide to permission for particular database).
7) sudo chmod -R 777 directoriesname/
8)- mysql -u shubh -p -e "show databases;"
9)- change php version:
sudo update-alternatives --config php
sudo a2dismod php7.4
sudo a2enmod php7.3
systemctl restart apache2
10)-Make Zip file -
sudo zip -r keepfilename.zip foldername/


No comments:
Post a Comment