A few lines on the stressful life of an apprentice-teacher. Don’t tell me we don’t deserve our holidays. Ever. Again.
[fr] Un petit aperçu du stress de l'enseignant. Et qu'on ne vienne pas me dire qu'on se la coule douce, qu'on est trop payés, et qu'on ne mérite pas nos vacances.
I’ve been thinking a lot about stress this week. I’m pretty stressed these days. I didn’t feel the stress much before the autumn holidays. I just felt very tired. Now I’m much less tired, and much more stressed.
Even though my sources of stress are multiple (private and professional, emotional and simply the sheer amount of work to do) it translates into a permanent background of “thinking of my pupils.” I just can’t get them out of my head. I go to sleep thinking of them, I wake up in the morning dreaming of them, I worry about them during the day, and even when I try to relax, they just won’t leave me alone. I’m usually pretty good at “blanking out” and thinking of “nothing”, but it just doesn’t work anymore nowadays.
It doesn’t help that I don’t have much time to do non-school things. Most of the time I have out of school is spent correcting and marking tests, preparing tests and classes, or discussing various school issues (relational or directly educational) with various people (some of whom must really be sick of hearing about all this stuff by now). Oh, and sleeping. Did I meantion dreaming about school? To put it shortly, I’m finding it hard to unwind.
However, even though I’m having a hard (sometimes rough) time, I’m confident that I’m doing what is necessary to improve the situation, and that I’m handling it as best I can. I am surrounded by competent and helpful people, and that helps a lot. It won’t last forever, and things are under control.
Just don’t tell me that teachers do nothing but sit on their arse all day waiting for their undeservedly long holidays, and go on “strike” because they think they’re not being paid enough. It pisses me off ever so slightly.
To install 30+ WordPress blogs on a server, it would be nice to have an automatic installation script. Here is a list of what this script should do for me.
[fr] Pour installer plus de trente weblogs WordPress sur mon serveur, il serait utile d'avoir un script d'installation en PHP. Quelqu'un a offert d'en écrire un pour moi. Ce billet récapitule ce que devrait faire un tel script, de mon point de vue (installation et configuration de WordPress en fonction d'un nom d'utilisateur).
As you may know, I’m shortly going to install 30+ WordPress blogs on my server. Noderat on #wordpress kindly offered to have a go at writing a PHP script to automate WP installs. I sent him this list of what the ideal script should be able to do for me, but on second thoughts, I’m posting it here so that everybody may see it. Of course, if you know of an existing script which already does this, let me know!
- take $username + $password as input
- install wordpress in a subdir named “$username”, using table prefix “$username_” and with an extra user (on top of admin) named “$username” (password=”$password”), user level 3
- mysql user should be “$username” too (password “$password” also), with grants only on the tables belonging to this weblog
- set permalink scheme to
/archives/%year%/%monthnum%/%day%/%postname%/ for monthlies and /categories for categories
- generate .htaccess in directory, based on this template, with “blog” replaced by “$username” everywhere
- in wp-config: define (‘WPLANG’, ‘fr’) and edit appropriate lines
- wp-includes/languages and wp-content/plugins should be symlinked to directories I can specify in the script
- blog admin password should be reset to something I can specify in the script
I should be able to edit the script config file to provide mysql root user + pass, wordpress database name.
It would also be interesting if the script was built in such a way that it could be further modified/developed to allow installation of blogs on separate subdomains rather than subfolders. From the point of view of the filesystem the blogs live in, this wouldn’t change much — but some extra WordPress options would need editing (e.g. blog address), as well as the Apache and Bind config files necessary to set up the subdomain. This is not mandatory, but could be useful at some point (if we’re thinking in the line of WordPress-farming).