Author: Baz
-
Joomla Warning: Parameter 2 to frontpage()
This post is completely ripped from Maximilion. I have copied his work for the same reason he made this post to keep this information alive. As you stated below, Maximilion if you would like this taken down, Please let me know. Original Article here. <plagiarism> There must be thousands of webdevs that have at one…
-
CHANGE YOUR LOST WEBMIN PASSWORD
So .. Setting up DNS, nameservers, routers the initial server install and finally webmin .. get excited, have a play around and…. oh crap; I have forgotten my root password for webmin. Never fear, to change the password for a webmin user use the below command: /usr/share/webmin/changepass.pl /etc/webmin username password If your password has unusual…
-
Terminal Manuals (man pages)
to read a manual page about a command in Terminal type man commandname This will bring up the manual page for that command. To leave a man page simply press “q”.
-
Changing the password of a user in Terminal
passwd USERNAME You will be prompted for a new password for the user.
-
Groups : to show the users that belong to a group …
The easiest way find all of the members of a group is to install the package members. sudo apt-get install members EXAMPLE: members –all groupname the above will list all of the members of groupname. Usage: members [ -apst –all –primary –secondary –two-lines ] To show a list of all groupson your system, just…
-
ERROR 2003 (HY000): Can’t connect to MySQL server on
Attempting to connect to remote MySQL server produces the below error. ERROR 2003 (HY000): Can’t connect to MySQL server on In order to connect to the remote server, and do so securely it is best to create an SSH tunnel with a port forward and THEN connect as though it were a localhost. Things to…
-
Kubuntu: adding the Samsung CLX-6210FX [SOLVED]
1st attempt: printing>>add printer>>network>>selected the Samsung. Printing searches for the driver then presents a choose driver window. It recommends Generic. This takes me to a list of Samsung drivers. I chose Generic PCL 5e Printer and then Gutenprint v5.2.6 Simplified. I am then presented with the Printer Properties window for my newly installed printer. First test print failed because it defaults…
-
FIND
Find is a pretty cool command line tool for … yep… finding files and folders. It has a lot of flexibility including times based on creation, modified and other time based variables. I used it to create a list of files created after a server migration that had inadvertantly been saved to the old server…
-
Displaying a log file live
This is useful when you wish to see an error on your server, for example when you are having trouble loading a page. sudo tail -f /var/log/apache2/{error,access}.log