Temporarily stopping the X server
Posted by Cătălin on Wed, 10 Jul 2013Temporarily stopping the X server
Close the graphical session by selecting “System -> Logout” in the top menu. Press Ctrl+Alt+F1 This shuts down the X server, and we land in an alphanumerical window. However, the windows manager...
Read More...dental website
Largest top files on Linux
Posted by Cătălin on Thu, 27 Jun 2013Largest top files on Linux
How do you find the largest top files and directories on a Linux? du -sh * Specific folder: du -a /var | sort -n -r | head -n 20
Read More...dental website
mySQL password (Mac OS X Lion)
Posted by Cătălin on Fri, 22 Mar 2013mySQL password (Mac OS X Lion)
Setup root password for MySQL: /usr/local/mysql/bin/mysqladmin -u root -p password
Read More...dental website
Leverage browser caching
Posted by Cătălin on Wed, 27 Feb 2013Leverage browser caching
How to add Expires headers <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year” # Images ExpiresByType image/gif...
Read More...dental website
Apache Error
Posted by Cătălin on Sat, 16 Feb 2013Apache Error
Fix for "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error sudo /etc/init.d/apache2 restart Reloading web server config: apache2apache2:...
Read More...dental website
GPG error for Debian
Posted by Cătălin on Sun, 10 Feb 2013GPG error for Debian
Problem When updating the Debian based system, apt-get may display an error message like: W: GPG error: http://download.webmin.com sarge Release: The following signatures couldn't be verified because...
Read More...dental website