What do you think? Would you like you own one?
Blog
-
This sure is one hell of a table
-
Solr replication
1)On solr.master: +Edit scripts.conf: solr_hostname=localhost solr_port=8983 rsyncd_port=18983 +Enable and start rsync: rsyncd-enable; rsyncd-start +Run snapshooter: snapshooter After running this, you should be able to see a new folder named snapshot.* in data/index folder. You can can solrconfig.xml to trigger snapshooter after a commit or optimise. 2) On slave: +Edit scripts.conf: solr_hostname=solr.master solr_port=8986 rsyncd_port=18986 data_dir= webapp_name=solr master_host=localhost master_data_dir=$MASTER_SOLR_HOME/data/ master_status_dir=$MASTER_SOLR_HOME/logs/clients/ +Run snappuller: snappuller -P 18983 +Run snapinstaller: snapinstaller You should setup crontab to run snappuller and snapinstaller periodically.
-
郵便番号データダウンロード – 日本郵便
Comes handy in case you want to generate lots of sample Japanese data.
Around 120000 rows of postal data, with kanjis, hiragana, katakana present for each address.
-
Set MySQL to UTF-8
Change the following in my.cnf [mysqld] default-character-set= utf8 skip-character-set-client-handshake character-set-server= utf8 collation-server= utf8_general_ci init-connect= 'SET NAMES utf8'
-
kill zombie process’s – Ubuntu Forums
ps -A -ostat,ppid,pid,cmd | grep -e '^[Zz]' To find zombie processes