Showing posts with label to be done. Show all posts
Showing posts with label to be done. Show all posts

Saturday, October 19, 2013

running more than 1 blog from one WordPress site …

First I tried to employ WordPress on my Synology NAS for that, but that does not look trivial at the 2nd look.




Actually … – at the link(s) above they show an RSS feed link for a specific tag – maybe that's good enough for my purposes – maybe not.

My WordPress installation on my NAS:

  • Before I start fiddling in the way described for multi-site WordPress installations (patching various PHP files), I am tempted to upgrade to the very latest WordPress release available.
  • But of course with Synology DSM, you are a little restricted …
Looks like this is not my last and successful attempt to get going with WordPress.

Facit: It works for simple purposes, but in my situation (blogging at least separately in English and in German) it's not yet for me. With blogger.com it's rather easy to have separate blogs. And if you are cautious enough, particular ones can really be considered as anonymous.

Update …:
I assume, I have more flexibility, if I install WordPress on my web space at shuttle.de rather than on my NAS. It's Debian there.

Update 2013-12-25:

I am not sure, whether I will go for a "sub-domains" (AKA domain-based) or for "sub-directories" (AKA path-based).
I am using "sub-domains" with blogger.com so far, but certainly only because there was no other option.
I assume, "sub-directory" will cause not as much Apache fiddling. Just "jochen.hayek.name/blog-en" and "jochen.hayek.name/blog-de" and so forth to be set up (more or less) separately …

Update 2013-12-25:
  • http://codex.wordpress.org/Create_A_Network
  • unpack the tar.gz into subdirectory wordpress
  • add the line mentioning WP_ALLOW_MULTISITE as descibed within "Create A Network"
  • visit the readme.html of my wordpress subdirectory in a browser and do as described there

Monday, July 8, 2013

turning an "ext2" or "ext3" file system into an "ext4" one


root# tune2fs -j /dev/sdXY # add an ext3 journal, if we start with ext2
root# tune2fs -O extents,uninit_bg,dir_index /dev/sdXY
root# e2fsck  -f /dev/sdXY # maybe you want to add …
                           # "-C 0" : progress bar
                           # "-p"   : automatically repair!
                           # "-D"   : optimize directories

To be worked on …

Sunday, July 7, 2013

NFS mount behind NAT (virtualbox)

NFS mount behind NAT (virtualbox) | The GNULinux Community Portal

The situation and trouble described there is rather similar to my set-up (VirtualBox + NAT + Linux guest), just that my NFS server is a Synology DiskStation.

I added "insecure" to the options of this share, switched off "Enable NFS" on the DiskStation, made sure the option is still there, enabled NFS on the DiskStation again, finally mounted the share again, and it was there – what a surprise!!!

I still have a UID mapping problem with this set-up.

Wednesday, June 19, 2013

How to access files on Synology NAS NFS-wise ...

How to access files on Synology NAS ... - Synology Inc. Network Attached Storage - NEW NAS Experience

Maybe I will have to play a little with the "Root squashing" next time, I have LAN access to the NAS. Remember: NFS goes over LAN, not WAN (AFAIRC).

using my old iPhone as secondary phone w/o Internet access over mobile network

How do I switch "Internet access over mobile network" off in my old iPhone3?
I may want to hook on the Internet over Wi-Fi once in a while, but I must avoid "Internet access over mobile network", as its current SIM card has no dedicated tariff for that any longer.

In my Android set-up I would go here:
Settings > Wireless and networks (More settings > Mobile networks > Mobile data (Enable data access over mobile network)

I have no idea, how to achieve the same with my iPhone3.

Any hints appreciated.

Tuesday, June 18, 2013

CPAN modules for generating passwords (remember "pwgen"!)


I started digging a little into this, when I faced the challenge to provide a customer with a password generator available on his platform. I myself had used Theodore Ts'o's pwgen for years, so that was my search keyword.
  • Neil Bowers on CPAN modules for generating passwords [link] (looks like THE CONTEMPORARY REPORT on the topic)
  • Neil's favourite: Sawyer X's App::Genpass [link] (it comes with a command line utility)
  • Dominik Schulz's Data::Pwgen [link] (I guess, I found only this one, because it mentioned pwgen