Linux
How To Create a New Database with a New User in MySQL
Rob — February 1, 2014 - 12:04
To create a new database in MySQL and a new user with full rights to the newly created database you can follow these steps:
Open a terminal command prompt and login to mysql (enter the mysql root password when prompted):
mysql -u root -p
This should get you into the mysql> prompt. All commands executed from now on will be for the mysql server that you just logged into. Please note that the semi-colon is important - it tells the mysql prompt that the end of the command has been reached and to execute the command.
How To Mount A Network Share In Linux
Rob — October 13, 2013 - 14:04
I have an external drive connected to my router's USB port that I use a store center. And when I log into my linux (Xubuntu) box, I am able to open Thunar (the default file browser) and click the Browse Network location under the NETWORK column heading in the left navigation pane.
WordPress updates without providing FTP credentials
Rob — May 16, 2012 - 23:32
If you are like me and want to have WordPress perform updates from the admin section (and not provide FTP credentials) then you will probably want to know a few linux commands.
Useful Linux Commands
Rob — November 28, 2010 - 22:37
This blog entry is going to be my collection of useful Linux commands that I wish to refer back to in the future. I hope you find them useful as well.
Apache 2, Restart, Stop, Start on Ubuntu Linux
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 restart
Finding files
Find all files in the home folder (and its subfolders) with a 'txt' extension, sort the results, then output to a file:
find /home -name '*.txt' | sort >> text-files.txt
Configuring the GXT NAS 2 Port USB Dongle Print Server on Windows 7
Rob — November 26, 2010 - 23:59
I purchased a GXT 2-Ports NAS USB Dongle model number NAS-R104A from future shop about a week ago hoping to allow network printing to my USB printer with little configuration. But, much to my surprise, I could not get the printer to print.
