TECHNICALSTUDY

The associate of technical study article for computer science students which could gain the knowledge about to technicals like Computer history, hard disk, printer,central processing unit etc. Technicalstudy also considered software engineering, operating system and some chunks of programming languages.

Email subscription

Enter your email address:

Delivered by FeedBurner

Sunday, September 17, 2023

PHP VERSION CHANGE , MYSQL and Zip COMMANDS NOTES

 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

Adbox