Archive

Posts Tagged ‘Solaris’

Sun Containers Cheat Sheet

Categories: Solaris Tags: ,

How To Enable and Run DNS Server in Solaris 10


hello guys,,

at this time, i would like to share tutorial how to Enable and Run DNS Server in Solaris 10..

Actually server-server are bundled in solaris 10,

you just need to enable it and make simle configuration..

okey here we go..

First Check Your DNS Server status

# svcs -l /network/dns/server

oke lets continue next step..

You need a few things to configure a DNS server. Using the Solaris 10 service, the first thing to do is to define the /etc/named.conf configuration file.

Here is my named.conf file (at least a part of, as you will see 😉

options {
        directory "/var/named";
        notify yes;
};

zone "." in {
        type hint;
        file "db.cache";
};

zone "0.0.127.IN-ADDR.ARPA" in {
        type master;
        file "db.127.0.0";
        notify no;
}; Read more...
Categories: Solaris Tags: , , ,

How To Automount Partition in Solaris 10

February 24, 2011 Leave a comment

hy guys, i want to tell you about automount in solaris..

i know this is very simple,,

but i hope this post can help someone to set automount in solaris 10..

you can edit file vfstab in /etc/vsftab/

there are

| devide to mount   |   device to fsck   |  mount point   |    FS Type  |  Fsck Pass   |   mount at boot  | mount point | Read more…

Categories: Solaris Tags: , ,

Membuat FTP Server di Solaris 10

February 15, 2011 Leave a comment

halo para solaris user, yaaah mungkin artikel ini cupu kali ya buat mereka solaris user,,

tapi mungkin akan berguna buat para pemula pemakai solaris,,

oke begini nih cara membuat server ftp menggunakan solaris:

jadi sebenernya ftp itu sudah ada di solaris 10, jadi kita tinggal mengaktifkanya saja..

Mengetahui status FTP server kita

Code:

inetadm | grep ftp Read more…

Categories: Solaris Tags: , , ,

Membuat DHCP Server Di Solaris 10

February 1, 2011 Leave a comment
Categories: Solaris Tags: , ,

Mengaktifkan & Menonaktifkan Network Interface di Solaris 10

January 16, 2011 Leave a comment

Sung ajah nih cara ngaktifin network interface di solaris..

kan bisanya kalo diketikin ifconfig -a kan gak keliatan tuh interface mana yg gak aktif,,

jadi ketikin perintah dladm show-link biar keliatan naman interfacenya,,

setelah itu cara ngaktifinnya gini:

ifconfig nama interface plumb

misal: Read more…

Membuat Partisi Di Solaris 10


Hem,,, mungkin tutorial ini dikit membantu buat temen-temen yang masih awam seperti saya kalo mau ngoperasiin solaris..

kalo mau buat partisi di solaris gimana…? gimana cara ngemountnya?

kalo di linux bisa kita pake cfdisk, trus tinggal pilih-pilih menu dannnnn …. taraaaaaaaaa,,, beres dah,,,

nah kalo di solaris gimanaaa yaaaa,,,,

ternyata berbeda sodara-sodara,,,caranya dikit riweuhhh,,, tapi kalo dah ngerti siiiehh enak kok,,, heheh

begini langkah-langkahnya:

cek doloooo ” iostat -En ”

c1t1d0 Soft Errors: 20 Hard Errors: 0 Transport Errors: 0
Vendor: ATA Product: SEAGATE ST32500N Revision: 3AZQ Serial No:
Size: 250.06GB <250055999488 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 20 Predictive Failure Analysis: 0
c0t0d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
Vendor: TEAC Product: DV-28E-V Revision: 1.AC Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 4 Hard Errors: 0 Transport Errors: 0
Vendor: ATA Product: SEAGATE ST32500N Revision: 3AZQ Serial No:
Size: 250.06GB <250055999488 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 4 Predictive Failure Analysis: 0

  1. format
  2. ketikin “p” tanpa tanda kutip
    muncul kan list nya: kalo punya ane kek gini hasilnya:
    PARTITION MENU:
    0 – change `0′ partition
    1 – change `1′ partition
    2 – change `2′ partition
    3 – change `3′ partition
    4 – change `4′ partition
    5 – change `5′ partition
    6 – change `6′ partition
    7 – change `7′ partition
    9 – change `9′ partition
    select – select a predefined table
    modify – modify a predefined partition table
    name – name the current table
    print – display the current table
    label – write partition map and label to the disk
    !<cmd> – execute <cmd>, then return
    quit Read more…
Categories: Solaris Tags: , , ,

Membuat Zone Di Solaris 10 a.k.a Solaris Container 10

November 30, 2010 1 comment

ni adalah langkah-langkah membuat zone yang simpel, tetapi terpisah dari globalnya,,bukan zone sebagai sparse root,,

jadi berdiri sendiri,, okey,, sung saja yak begini step2nya..:

  1. mkdir -p /zones/tazone
  2. chmod -R 700 /zones/tazone
  3. zonecfg -z tazone
  4. create -b Read more…
Categories: Solaris Tags: , ,

Mysql Error Installed in solaris 10

November 30, 2010 Leave a comment

bila kawan2 pas mau rubah password root mysql pake perintah /usr/local/mysql/bin/mysqladmin -u root password “pasword baru” trus keluar “/usr/local/mysql/bin/mysqladmin: connect to server at ‘localhost’ failed error: ‘Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)’ Check that mysqld is running and that the socket: ‘/tmp/mysql.sock’ exists! “

nah ternyata solusinya begini,, Read more…

Categories: Solaris Tags: , , , , ,

Instal Web Server di Solaris 10 (Apache 2, PHP 5 & MySQL 5) intel

November 27, 2010 1 comment

sung ajah,,

unduh dolooo paket2nya di sunfreeware

nah ni dy instal dolo bagian apachenya:

apache-2.0.59-sol10-x86-local.gz Dependencies: expat, libiconv, gdbm, zlib, db-4.2.52.NC, openssl-1.0.0b, dan libgcc atau gcc.

instalnya pkgadd -d namapaket

dah ke instal semua dah gitu instal php, donlot dolo dimari php-5.2.1-sol10-x86-local.gz

instal juga pkgadd -d php-5.2.1-sol10-x86-local.gz

instal dolooo dah sekalian ama mysqlnya, dimari mysql-5.0.67-sol10-x86-local.gz..

instal juga pkgadd -d mysql-5.0.67-sol10-x86-local.gz

oke mari mulai konfigurasi webservernya:

  1. Pertama di copy dolo httpd-std.conf menjadi httpd.conf yang ada di /usr/local/apache2/conf/httpd.conf
    groupadd apache
    useradd apache
  2. Trus tambahin list berikut buat sinkron ama phpnya
    AddType application/x-httpd-php .php
    LoadModule php5_module modules/libphp5.so
    index.php index.php
    jangan lupa setingan group diganti apache Read more…
Categories: Solaris Tags: , , , , , ,