wordpress – moving to different server

Finally bought private hosting server with new domain and first issue… How to migrate all content to the new place. I tried copied files and just use export xml file. As it works for content in terms of posts it doesn’t for images and attachments. After 2 days of struggling with this scenario finally I spotted light in the tunnel.

Uncle google said:

http://blog.triphp.com/how-to/how-to-move-wordpress-to-a-new-server-or-host.html

Great tutorial how to move everything like database and content to new place and have fun. It really save at least 4 hours of nerves and frustration. Good luck!

Quick setup own distcc farm

When I migrated to Gentoo, I have realised how easy can be compiling from the sources. We have faster computers, couple of cores in one processor. Seems to compiling everything from scratch shouldn’t be difficult. But how we can speed up this process. If you poses some unused PCs, laptops and you could use them for the moment, you can create computer farm for the tool called distccd. Ok but you can say there is a Windows or no system. It doesn’t matter. If there is a network adapter and computer is bootable from pendrive/cdrom, that’s everything what you need. The knowledge about clouds, matrix or clustering is unnecessary. I will try to explain how to easy create own distcc-livecd image.

Distcc

As we can read on official website, distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network. Distcc should always generate the same results as a local build, is simple to install and use, and is usually faster than a local compile. Configuration is also written well on that website and better in the Gentoo context we may find on Gentoo Distcc Documentation

Calculate Linux

Calculate linux is one of the distributions created on top of Gentoo. We can use portage and the same tools. This distro can be downloaded in few different versions:

Continue reading

Transparent conky background in KDE-4.5

You install new KDE-4.5 and conky’s background seems to be different then you real wallpaper? You lost transparency effect.Everything what you need to know and do is using cmd program feh which should be able to redraw your current wallpaper for conky.

The best idea is write script like this one:

feh --bg-scale "`grep 'wallpaper=' ~/.kde4/share/config/plasma-appletsrc | tail --bytes=+11`"

After execute it conky should automatically update background for right one. Unfortunately you need to run is every time when you change wallpaper.

Continue reading

How to compile own kernel for DNS-313


DNS-313

Forum provides few threads and posts in different places about compiling own kernel. I tried use it but unsuccessfuly. Unfortunately all people who compiled own kernel didn’t share their .config. I decided to describe for everyone step by step how to do it. If don’t want to play, or just don’t have enough knowledge please feel free to download my kernel. My configuration works for sure with DNS-313 rev A. I have no idea what is the difference beetwen A and B revision (Amount of memory and?). I guess that is possible to adjust it with little effort.

Installing own linux

First time when I tried to compile my kernel I thought that I have to do it under ARM. You don’t. Everything what we need is some piece of i386 architecture linux – any distro even you don’t need any developer stuff. Rest files you can download from D-Link ftp server and run it in chroot jail.

Build evironment

First we should download GPL Source Code for Firmware v1.01 which provides toolchain, compilers, and kernel source.

Continue reading

how to autoload modules

I installed zen kernel and some key modules stopped load automatically. I was frustrating to load every time from command line. There is very easy way for autoloading.

Create dir:

lenovo greg # mkdir /etc/modules.autoload.d

add file there and inside write module names in order you want to load…

lenovo modules.autoload.d # vi vmlinuz-2.6

thats all!