Here is a simple one liner to check on download time of a webpage:
(time wget -p --no-cache --delete-after www.linuxweblog.com -q ) 2>&1 | awk '/real/ {print $2}'
check webpage load time via wgetSubmitted by sandip on Tue, 02/22/2011 - 17:19Here is a simple one liner to check on download time of a webpage: (time wget -p --no-cache --delete-after www.linuxweblog.com -q ) 2>&1 | awk '/real/ {print $2}' »
How to replace gnome-screensaver with xscreensaver in ubuntuSubmitted by david23 on Mon, 02/21/2011 - 06:36(via www.ubuntugeek.com) XScreenSaver is the standard screen saver collection shipped on most Linux and Unix systems running the X11 Window System.On X11 systems, XScreenSaver is two things: it is both a large collection of screen savers; and it is also the framework for blanking and locking the screen. Small Office Linux OpenVPN ServerSubmitted by philiph on Sat, 02/19/2011 - 18:46(via www.hollenback.net) I recently set up a CentOS Linux OpenVPN server for a small office, and this is a complete howto writeup of the process. These instructions contain everything you need for configuring the server (including firewall rules!). Also included are complete instructions for setting up both mac and windows client machines. SSL and subversion clientSubmitted by sandip on Mon, 02/07/2011 - 12:03Unlike web browsers, the CA root cert is not installed by default for svn clients. You would need to tell the client where to find it in order to trust the ssl cert. Reference: svnbook For GoDaddy signed certs, download their root certs available at: http://certificates.godaddy.com/repository You would need both the pem encoded gd-class2-root.crt and gd_intermediate.crt . Then in subversion client global settings, tell it the path to the certs: ssl-authority-files = /path/to/gd-class2-root.crt;/path/to/gd_intermediate.crt This should then trust the ssl cert. »
Setup sudo access to mysql userSubmitted by sandip on Sun, 01/30/2011 - 02:13Here is how to give dba user sudo access as mysql user. visudo and add: dbauser ALL=(mysql) ALL Basically, it defines that user "dbauser" can run all commands as "mysql" user. For the dbauser to get mysql shell, run: $ sudo -u mysql -i »
File encryption with GnuPGSubmitted by sandip on Thu, 01/20/2011 - 12:59Encrypt file: gpg -c private.txt You will be prompted to enter a passphrase twice. The output is a file of the same name with ".gpg" as the extension. Decrypt via: gpg private.txt.gpg By default the encrypted file is binary format with smaller file size. If you need ascii, then use the "-a" option which then outputs as "private.txt.asc". »
Plesk imap connections limitSubmitted by sandip on Wed, 01/19/2011 - 16:49By default Plesk IMAP maximum connections per IP is set to 4. If you are using an email client that checks multiple mailboxes, this limit is easily reached. To increase the limit, edit "/etc/courier-imap/imapd": MAXDAEMONS=80 Domain searching with bashSubmitted by sandip on Thu, 01/13/2011 - 17:21Below is a simple bash script that uses the dictionary to go through 3 letter words and does a whois check to see if the domain is available. You probably won't find any of those as all would have been taken. May want to try with 5 or 6 letters instead, in which case change the value of "$count". #!/bin/bash »
gnome logout commandSubmitted by sandip on Thu, 01/06/2011 - 14:48Logout using gnome command saving current session: gnome-session-save --logout »
Emma - Graphical toolkit for MySQL database developers and administratorsSubmitted by david23 on Fri, 12/31/2010 - 05:55(via www.ubuntugeek.com) Emma is a graphical toolkit for MySQL database developers and administrators. It provides dialogs to create or modify MySQL databases, tables, and associated indexes. The results of an executed query are displayed in a resultset where the record data can be edited by the user, if the SQL statemant allows for it. The SQL editor and resultset view are grouped in tabs. Results can be exported to CSV files. Multiple simultaneous opened MySQL connections are possible. Emma is the successor of yamysqlfront. ![]() |
User loginPopular contentToday's:All time:Tag CloudApache
AWK
Bash
BlogMarks
centos
Cheatsheet
cpu
DirectAdmin
Drupal
ensim
ext3
ftp
Hosting
imap
Information Technology
ip
ispconfig
Java
Kernel
lftp
lighttpd
Linux
lvm
mail
mailq
md5
Multimedia
munin
munin-node
MySQL
Networking
oneliner
openssl
openvz
Perl
PHP
Plesk
PostgreSQL
proftpd
Programming
qmail
redhat
rpm
screen
Scripting
Security
Sendmail
site migration
spf
ssh
ssl
svn
tips
Tips and Tricks
Tipsheet
trac
Tutorials
ubuntu
upgrade
Web Development
Who's new
Who's onlineThere are currently 0 users and 3 guests online.
LinksFOSS Community: |
Recent comments
6 years 44 weeks ago
6 years 44 weeks ago
6 years 44 weeks ago
6 years 44 weeks ago
7 years 24 weeks ago
7 years 26 weeks ago
7 years 49 weeks ago
8 years 3 weeks ago
8 years 3 weeks ago
8 years 12 weeks ago