Unifi Update DNS on TRG212M router

Unifi Update DNS on TRG212M router

To all the Unifi user, by default your router is not allowed user to update the DNS setting. and its not visible by admin account.

Here is the step you can follow to change your DNS setting

1. Login to the router using below credentials

  • Username:  operator
  • Password (default unifi password ):  h566UniFi

2. Go to Setup Tab
3. Click on the WAN at the left

Unifi Update DNS on TRG212M router

4. On the 1_INTERNET_R Click on the edit button in red circle (as per picture) – edit – Credit DE SOPHEA

5.  On the DNS setting tick on Manual radio button and configure your DNS to Google DNS

  • Primary:
  • Secondary:

6. Apply the setting


How to Create ZFS File Systems



This disk in this tutorial is creating with SAN storage disk
# zpool create zdata99 c4t60060E8015320C000001320C00006E7Dd0 c4t60060E8015320C000001320C00006E7Ed0
# zfs create zdata99/d01
# zfs create zdata99/d02
# zfs set quota=496G zdata99/d01
# zfs set quota=496G zdata99/d02
# zfs set mountpoint=/ftp/d01 zdata99/d01
# zfs set mountpoint=/ftp/d02 zdata99/d02
# zfs set mountpoint=none zdata99

Veritas Cluster – Commands

Veritas Cluster – Commands

VRTSvcs        VERITAS Cluster Server
VRTSvcswz      VERITAS Cluster Server Wizard
VRTScsga       VERITAS Cluster Server Graphical Administrator
VRTSgab        VERITAS Group Membership and Atomic Broadcast
VRTSllt        VERITAS Low Latency Transport
VRTSvcsor      VERITAS Cluster Server Oracle Enterprise Extension
VRTSvcssy      VERITAS Cluster Server Sybase Enterprise Extension
VRTSperl       VERITAS Perl for VRTSvcs

Read more for more details :  
Continue Reading

How to increase /tmp filesystem

Did you facing the issues with the filesystem in Centos server especially /tmp full. For the webhosting company this /tmp is very important. If your server is install with the Cpanel please follow this method to increase the filesystem.

(Changes the value of  fs size to > 102400 or more) >>  vi /scripts/securetmp

[email protected] [~]#vi /scripts/securetmp
[email protected] [~]#service mysql stop
[email protected] [~]#service httpd stop
[email protected] [~]#umount /var/tmp
[email protected] [~]#umount /tmp
[email protected] [~]#rm -rf /usr/tmpDSK
[email protected] [~]#/scripts/securetmp –auto
[email protected] [~]#service mysql start
[email protected] [~]#service httpd start
[email protected] [~]#df -h

Fedora 12

Waiting for Fedora 12…..add this counter on your site….

Just copy and paste this script:

<script id=”fedora-banner” type=”text/javascript” src=”http://fedoraproject.org/static/js/release-counter-ext.js?lang=en”></script>

Install WordPress on Linux Machine

This is the perfect tutorial, how to install wordpress on Linux Server. For this tutorial, my machine running on Centos 5.4.

[[email protected] ~]# uname -a;date;uptime
Linux server1 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
Sat Oct 24 17:52:06 MYT 2009
17:52:06 up  2:17,  2 users,  load average: 0.00, 0.00, 0.03
[[email protected] ~]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[[email protected] ~]#

Firstly make sure your system already have this 3 package if not follow the 1st step,

1. Install http*, mysql* php*

[[email protected] ~]# yum -y install httpd* mysql* php*

2. Create the new database called “wordpress”

[[email protected] ~]# mysqladmin -u root -p create wordpress

3. Download latest WordPress package

[[email protected] tmp]# wget http://wordpress.org/latest.zip
–2009-10-24 17:27:23–  http://wordpress.org/latest.zip
Resolving wordpress.org…,
Connecting to wordpress.org||:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [application/zip]
Saving to: `latest.zip’

[                                                 <=>                ] 2,354,670    136K/s   in 18s 2009-10-24 17:27:42 (129 KB/s) – `latest.zip’ saved [2354670]

4. Unzip latest.zip that contains the WordPress installation file.

[[email protected] tmp]# unzip latest.zip

[[email protected]]# ls
latest.zip  wordpress
[[email protected] tmp]# cd wordpress

5. Copy all file in the WordPress folder to directory /var/www/html

[[email protected] wordpress]# cp -a * /var/www/html

6. Rename file wp-config-sample.php to wp-config.php

[[email protected] wordpress]# cd /var/www/html
[[email protected] html]# mv wp-config-sample.php wp-config.php

7. Edit the config file : wp-config.php

[[email protected] html]# vi wp-config.php

* Edit this 3 line to

define(‘DB_NAME’, ‘wordpress’);
define(‘DB_USER’, ‘root’);
define(‘DB_PASSWORD’, ‘mysqlrootpass’);

and replace to this one

// ** MySQL settings – You can get this info from your web host ** //

/** The name of the database for WordPress */
define(‘DB_NAME’, ‘wordpress’);

/** MySQL database username */
define(‘DB_USER’, ‘root’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘**********’);

7. Open your web browser and go to http://yourdomain.com and follow the setup process. Just enter your blog name and email address. After that it will generate user name and password for you. Please change the password after that.

No update bkn no surprise

Dah baper hari ni xder entry baru… minggu ni agak bz gila..byk benda aku kena buat…..byk masa aku abiskan dengan study jer….Sbb byk sesi soal jawab ni…so study is the good thing to do.. and try to make it perfect.

Skrg ni blog ni still dalam process migration. Blog aku dapat rumah baru kat Serverfreak, nak migrate data dalam hosting yg lama g hosting baru ni… ambil masa around 1 weeks kot to fully working.

Pastu td member aku mintak tlg design some network/server (firewall / IPCorp) xpnh aku try.. pun..tp still boleh study…and buat research skit..and test jer kat Virtual Machine.

Ada 3 benda yg aku tgh nak mengarang ni… and tgh mengumpul duit utk beli seketul physical machine utk buat test machine. So nanti kat machine baru tu boleh la aku start blajar macam2… install kat VMare kat cik Lappy ni…bkn solution yg bagus…hehehe…lappy jer…so paham2 la…processor pun xcukup power…

* Perfect RHEL Server

* Compile Kernel

* Perfect Solaris Server

Kernel is out

Sorry for the delay post.. The latest stable kernel V :  is out already on 12 October 2009

Get it here : Kernel.org ; Via FTP : Kernel 2.6*

More about Change Log: Kernel.org

commit 5eee394f24eca7d1f670ddc9d08a8d02c90e74ca
Author: Greg Kroah-Hartman <[email protected]>
Date:   Mon Oct 12 13:15:40 2009 -0700


commit 2d852892256a5a1bb6fd8399445b8cd12b94de0a
Author: Sascha Hlusiak <[email protected]>
Date:   Tue Sep 29 11:27:05 2009 +0000

    sit: fix off-by-one in ipip6_tunnel_get_prl

    [ Upstream commit 298bf12ddb25841804f26234a43b89da1b1c0e21 ]

    When requesting all prl entries (kprl.addr == INADDR_ANY) and there are
    more prl entries than there is space passed from userspace, the existing
    code would always copy cmax+1 entries, which is more than can be handled.

    This patch makes the kernel copy only exactly cmax entries.

Here is the statistic on this kernel that was awesome and great, team you are the best.

Source: Linux Online

Files added: 0

Files changed: 246

Files removed: 0

Lines added: 3248

Lines changed: 2297

Lines removed: 1750

* This week i need to install 2 OS on my Virtual Machine, RHEL 5.4 or Centos and Sun Solaris

1 2 3 8