server
Subversion on ubuntu
Helpfully pointing out how to set up a subversion server:
http://www.subversionary.org/howto/setting-up-a-subversion-server-on-ubu...
I had to chown the repos for the user backuppc, under wich apache was running.
Plesk: Mailman-lists broken after every postfix update
Error message on reply to a mail addressed to the mailinglist:
Command died with status 1:
"/usr/lib/plesk-9.0/postfix-mailman". Command output: post script, list not
found: MyMailinglist
Solution:
----------------------------------------------------------------------------
Chances are that postfix is not folding the case of the recipient address when passing it to postfix-mailman.
What to do when your server is sending spam (from malicious scripts)
Wrapper for php mail() to detect source script
Just found this link very helpful in order to find out which scripts on my server are sending spam. (Don't forget the -t argument when calling sendmail)
http://www.howtoforge.com/how-to-log-emails-sent-with-phps-mail-function...
Deleting mails in queue
Crontabs of all users
Sometimes it can be helpful to list the crontabs of all users. Eg. to find out why your server periodically has a load of over 80%...
Now you can search all crontabs that are done on the time of your load peak.
Plesk and Drupal-Multisites
In order to benefit from drupals amazing functionality concerning multisite capability, you have to do some extra-stuff in your plesk-config, more precisely in your vhost-config.
Example scenario
You administer 50 customer drupal sites on your plesk-server. Every time a new drupal release comes up, you have to update every single one of this 50 installations (we didn't even talk about the modules).
No question: enormous waste of time and disk space.
Let's dare an approach
Fixing glsa-check returns "cannot fix GLSA, no unaffected packages available"
From time to time you have to run glsa checks to keep your machine safe.
In my case, I run it by nagios, my server-monitoring tool.
So one day, it reported me this GLSA's:
200805-04
200804-20
200907-03
But when I now tried to fix them by using
glsa-check -f 200805-04
it returned
>>> cannot fix GLSA, no unaffected packages available
self-signed apache certificate
Generate private key:
Generate csr (Certificate Signing Request)
Remove passphrase from key
openssl rsa -in server.key.org -out server.key
Generate self-signed chertificate
Install new certificate under gentoo
cp server.key /etc/apache2/ssl/server.key
run scp in background
for scping large files, its very comfortable to let them run in the background.
especially when you are at home and want to turn off the pc and let the servers do their work over night.
how to:
execute the normal scp command, eg:
after confirming the key and authentificating (if necessary), you can "stop" the job by pressing : ctrl + Z
SSH-Login via Key, ohne Passwort
Wie ist es möglich, sich ohne Passworteingabe an einem SSH-Server anzumelden?
Gar nicht so schwer:

Neueste Kommentare
vor 15 Wochen 5 Tage
vor 16 Wochen 6 Stunden
vor 37 Wochen 1 Tag
vor 47 Wochen 6 Tage
vor 1 Jahr 2 Wochen
vor 1 Jahr 8 Wochen
vor 1 Jahr 17 Wochen
vor 1 Jahr 18 Wochen