Archive for the ‘Linux’ Category

Unifi: Update DNS on TRG212M router

Posted on the August 5th, 2014 under Blog,Blogger,Computer,Data Transmissions,Internet,Life,Linux,Linux Software,Live Blogging,Malaysia,Money,My Life,Unifi by

 

 

 

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

Untitled

 

 

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

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

  • Primary: 8.8.8.8
  • Secondary: 8.8.4.4

6. Apply the setting

 

 

Uneeetitled

Share

How Linux is Built

Posted on the July 17th, 2012 under Linux by

Share

How to Create ZFS File Systems

Posted on the February 1st, 2012 under Linux,UNIX by

 

 

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

Share

Veritas Cluster – Commands

Posted on the June 23rd, 2011 under Linux,UNIX by

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 :  
Share

How to increase /tmp filesystem

Posted on the December 22nd, 2010 under Linux,Open Source,UNIX by

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

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

Share

Fedora 12

Posted on the November 1st, 2009 under Distro,Linux by

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>

Share

Install WordPress on Linux Machine

Posted on the October 24th, 2009 under Blogger,Linux,Wordpress by

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

[root@server1 ~]# 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
[root@server1 ~]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[root@server1 ~]#

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

1. Install http*, mysql* php*

[root@server1 ~]# yum -y install httpd* mysql* php*

2. Create the new database called “wordpress”

[root@server1 ~]# mysqladmin -u root -p create wordpress

3. Download latest WordPress package

[root@server1 tmp]# wget http://wordpress.org/latest.zip
–2009-10-24 17:27:23–  http://wordpress.org/latest.zip
Resolving wordpress.org… 72.233.56.138, 72.233.56.139
Connecting to wordpress.org|72.233.56.138|: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.

[root@server1 tmp]# unzip latest.zip

[root@server1tmp]# ls
latest.zip  wordpress
[root@server1 tmp]# cd wordpress

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

[root@server1 wordpress]# cp -a * /var/www/html

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

[root@server1 wordpress]# cd /var/www/html
[root@server1 html]# mv wp-config-sample.php wp-config.php

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

[root@server1 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.

Share

No update bkn no surprise

Posted on the October 24th, 2009 under Life,Linux by

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

Share

RHEL 5.4 on VMWare Workstation

Posted on the October 18th, 2009 under Linux,Redhat by

This is the simple step to install RHEL 5.4, i just simply install the OS without any configuration yet. I will put some tutorial how to make the perfect RHEL server later.

Red Hat Enterprise Linux 5-2009-10-17-10-00-05 Red Hat Enterprise Linux 5-2009-10-17-10-00-24 Red Hat Enterprise Linux 5-2009-10-17-10-00-34 Red Hat Enterprise Linux 5-2009-10-17-10-01-07 Red Hat Enterprise Linux 5-2009-10-17-10-01-33 Red Hat Enterprise Linux 5-2009-10-17-10-02-02

*please use button read more for more images

Share

Kernel 2.6.31.4 is out

Posted on the October 14th, 2009 under Kernel,Linux by

Sorry for the delay post.. The latest stable kernel V : 2.6.31.4  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 <gregkh@suse.de>
Date:   Mon Oct 12 13:15:40 2009 -0700

    Linux 2.6.31.4

commit 2d852892256a5a1bb6fd8399445b8cd12b94de0a
Author: Sascha Hlusiak <contact@saschahlusiak.de>
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

Share