Virtualmin domain(s) configuration files

When you setup domain with virtualmin, sometime you want to change after while.

eg., administrative username

modify domain(s) without re-setup entire domain(s), edit following file.

1. [[email protected] ~]# cd /etc/webmin/virtual-server/

2. [[email protected] virtual-server]# cat sample.local.act

change sample.local as your domain name

3. see where it says domains=117160406314152

remember number of domains.

4. [[email protected] virtual-server]# cd domains/

5. [[email protected] domains]# vim 117160406314152 number you find before.

6. edit and save. done!

Install php 5 on CentOS 4

How to install php 5 on CentOS 4.

1. Modify vi /etc/yum.repos.d/CentOS-Base.repo 

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever – Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
#enabled=0
enabled=1 ←Change it to 1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#contrib – packages by Centos Users
[contrib]
name=CentOS-$releasever – Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
#enabled=0
enabled=1 ←Change it to 1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

 

2. yum -y update php or yum -y update

3. if no error, it done.

Dictionary Trainer (Mac OS X)

How to stop Dictionary Trainer on Mac OS X.

1. Open /home/library/Preferences/ com.appple.JapaneseAnalysis / DictionaryTrainer / Trainer.dict

with koetori register words.

2. import file into any user specified dictionary.

3. delete processedMail file on /home/library/Preferences/ com.appple.JapaneseAnalysis / DictionaryTrainer /

4. Restart your mac and Done