-
Add new tag apache awk awk example bashscript chroot clients code cyrus find ip of apache host find ip of vhost find vhosts gentoo gentoo webserver tomcat howto non-root grep grep example hardware howto imap index indexes jail layman ldap lighttpd Linux mod_dnsbl nslookup openssh overlay portage proftpd projects recover request tracker rescue rt scp server setup sftp Software squirrelmail vhost Webserver
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Categories
Tag Archives: bashscript
dovecot: remove maildirs
We are running dovecot as MDA. Dovecot gets its user details from OpenLDAP and adds new users automatically. But removing a user in LDAP does not mean it gets removed in Dovecot as well. To have this a little bit more comfortable, I created this little script here: Continue reading
Posted in howto, Linux, Mailserver
Tagged bashscript, code, dovecot, gentoo, grep example, howto, imap, ldap, Linux, mda, openldap, pop3, Software
Leave a comment
Locate all Apple serial numbers in a subnet
The command ioreg -l | grep IOPlatformSerialNumber will show you your Mac’s serial number. With this, you can find out when your Mac has been created if you enter this number to https://selfsolve.apple.com/agreementWarrantyDynamic.do For a whole network of Macs, this can become very boring. … Continue reading
Posted in howto, Software
Tagged apple, awk, awk example, bashscript, clients, code, grep, grep example, howto, osx, serial number, Software, subnet
Leave a comment
Howto split a SQL database dump into table-wise files
sql files containing a single database Splitting a sql file containing a whole database into per-table files is quite easy: Grep the .sql for any occurence of DROP TABLE. Generate the file name from the table name that is included … Continue reading
Posted in howto, Linux
Tagged awk, awk example, bashscript, code, file operations, grep, grep example, howto, mysql, split, sql
1 Comment
simplify your daily ssh usage… even more…
On MeyerMillerSmith.com I recently posted this one: Typing ssh commands can be very annoying but it doesn’t has to. There’s a quite nice way to simplify your daily admin life: shell scripts. Okay, let’s say we have a dozen servers … Continue reading
find out if your Apache is really serving the right hosts
From time to time it can happen that websites that used to be on your webservers are being moved by your clients without notifying you. Therefore, you will have to search for «zombie websites». I have the following setup: There … Continue reading
Posted in howto, Linux, Webserver
Tagged apache, awk, awk example, bashscript, code, find ip of apache host, find ip of vhost, find vhosts, grep, grep example, howto, Linux, nslookup, server, Software, vhost, Webserver
Leave a comment
creating apache vhosts with style
We decided to have a reverse domain name structure that conatains (beside the htdocs) all vhost-related information like logs, stats and config. The reverse structure is neccessary to get an quick overview not about the subdomains but the domains. Additionally, … Continue reading
Posted in howto, Webserver
Tagged apache, bashscript, lighttpd, setup, vhost, Webserver
Leave a comment