Posts

Showing posts from July, 2016

Resetting Mysql Root Password

Kill the running mysql process sudo service mysql stop Start mysql in safe mode and skip grant tables sudo mysqld_safe --skip-grant-tables --skip-networking & Log in with root mysql -u root Initial privilege flush flush privileges; Use mysql database use mysql; Set a new mysql root password update user set authentication_string=PASSWORD("newPassword") where user='root';  Final privilege flush flush privileges; Exit mysql exit; Stop mysql service sudo /etc/init.d/mysql stop Start mysql service sudo /etc/init.d/mysql start Log in to database to test it mysql -u root -p

My Local Farm Website Creation

1. Get domain from namecheap (mylocalfarm.me) 2. Get hosting from digitalocean 3. Connect to console log in etc (look at past journals to verify steps) ssh root@<ip address> in console from digital ocean ssh root@<ip address> from remote computer 4. install apache: sudo apt-get install apache2 5. install php: sudo apt-get install php-mbstring php7.0-mbstring php-gettext sudo service apache2 restart 6. adding a new user useradd userName 7.adding a new user password passwd userName 8. sign into the new user  su -l newUser 8. sign out of new user exit 9. add new user to sudoers group sudo adduser userName sudo 10. install fail2ban to avoid ddos attack sudo apt-get install fail2ban  11.Okay so apparently this idea has already been made so im going to shift more into learning concepts and put this project on the back burner.  

Setting up a Server

http://code.tutsplus.com/tutorials/how-to-setup-a-dedicated-web-server-for-free--net-2043

Snap Assists on Ubuntu 16

Snap Assists on Ubuntu 16 Resource Link sudo apt-get install compizconfig-settings-manager -y Search for application CompizConfig Click WindowManagement Now Change the following Upper Left Corner - Top Left Corner   Upper Right Corner - Top Right Corner   Bottom Left Corner - Bottom Left Corner   Bottom Right Corner - Bottom Right Corner