Create a file called adjust_brightness.sh
[adjust_brightness.sh]
#run: sudo -s ./adjust_brightness.sh
echo $1 > /sys/class/backlight/intel_backlight/brightness
chmod 755 adjust_brightness.sh
-------------------------------------------------------------------------------
add this line to the end of /etc/crontab:
[/etc/crontab]
@reboot /root/adjust_brightness.sh 300
Friday, September 27, 2019
Tuesday, September 24, 2019
How to install phpmyadmin in kali linux
Download phpmyadmin from:
https://www.phpmyadmin.net/downloads/
choose the english version one.
unzip to /var/www/html
and rename the long folder name to phpmyadmin.
Now you have:
/var/www/html/phpmyadmin
Then chown -R www-data:www-data /var/www/html/phpmyadmin
Then chmod 755 -R /var/www/html/phpmyadmin
Then open terminal :
mysql -u root mysql
> create user 'admin'@'localhost' identified by '123456'
>grant all privileges on *.* to 'admin'@'localhost' with grant option;
>flush privileges;
Then open browser goto:
localhost/phpmyadmin
and login with:
admin, 123456
https://www.phpmyadmin.net/downloads/
choose the english version one.
unzip to /var/www/html
and rename the long folder name to phpmyadmin.
Now you have:
/var/www/html/phpmyadmin
Then chown -R www-data:www-data /var/www/html/phpmyadmin
Then chmod 755 -R /var/www/html/phpmyadmin
Then open terminal :
mysql -u root mysql
> create user 'admin'@'localhost' identified by '123456'
>grant all privileges on *.* to 'admin'@'localhost' with grant option;
>flush privileges;
Then open browser goto:
localhost/phpmyadmin
and login with:
admin, 123456
Subscribe to:
Comments (Atom)