SlideShare a Scribd company logo
1 of 48
Instalasi joomla di OpenSolaris zones dengan konsep three tier Ryan Fabella [email_address] IT Architect Sun Microsystems Indonesia
Agenda ,[object Object]
Tipe – tipe ,[object Object]
Introduksi OpenSolaris Container ,[object Object]
Fitur
Perintah – perintah
Status
Tipe root ,[object Object]
Zones
Apakah itu virtualisasi ?  Dalam ilmu komputer, virtualisasi (Inggris: virtualization) adalah istilah umum  yang mengacu kepada abstraksi dari sumber daya komputer.  Definisi lainnya adalah "sebuah teknik untuk menyembunyikan  karakteristik fisik dari sumber daya komputer dari bagaimana cara sistem  lain, aplikasi atau pengguna berinteraksi dengan sumber daya tersebut.  Hal ini termasuk membuat sebuah sumber daya tunggal  (seperti server, sebuah sistem operasi, sebuah aplikasi, atau  peralatan penyimpanan terlihat berfungsi sebagai beberapa sumber daya logikal;  atau dapat juga termasuk definisi untuk membuat beberapa sumber daya fisik  (seperti beberapa peralatan penyimpanan atau server) terlihat  sebagai satu sumber daya logikal."[1] Istilah virtualisasi sudah digunakan secara luas sejak 1960-an,  dan telah diaplikasikan kepada beberapa aspek komputer—dari  keseluruhan sistem komputer sampai sebuah kemampuan atau komponen individu.  Secara umum semua teknologi virtualisasi mengacu kepada "menyembunyikan detil  teknis" melalui enkapsulasi. Sumber wiki
Tipe - tipe virtualisasi ? Full virtualisasi VM membuat abstraksi total di bawah Guest OS Guest OS = OS yang terinstall di hardware fisik Resource dan performance menjadi turun  Contoh Microsoft Virtual Server and Vmware ESX Server Para virtualisasi VM sebagai hypervisor, software / hardware yang menjembatani  Langsung ke hardware fisik (para-API) Guest OS perlu modifikasi supaya bisa berkomunikasi dengan hypervisor Contoh Xen, Qemu, OpenVZ/Virtuozzo, Linux-VServer, FreeBSD Jails,  FreeVPS, iCore Virtual Accounts and AIX Workload Partitions.
kondisi umum 1 LAN DB + App Tier 1 Client Tier 2
kondisi umum 2 LAN DB Tier 1 App Tier 2 Client Tier 3 Proxy + internet  gateway
Fakta ,[object Object]
Listrik habis lebih banyak
Butuh tempat 2 – 3  tower server
Apa itu OpenSolaris zone ? OpenSolaris Zone adalah lingkungan virtualisasi diatas opensolaris
Apa itu OpenSolaris container ? OpenSolaris container adalah satu atau lebih zone dalam  suatu aturan pembagian resource.
Fitur Zone Isolasi Antar zone layaknya server lain Kesalahan di zone tidak menyebabkan zone lain terganggu Hacker menembus zone satu tidak menyebabkan zone dua  terkena imbas Granularity CPU Memory 8000 + zone
Perintah di Zone zonecfg /etc/zones Membuat zone Mengkonfigurasikan zone zoneadm Administrasi Install, halt, boot, reboot,dll zlogin Login ke zone
Status Zone
Tipe root zone filesystem  Sparse-root / usr,/sbin,/lib,/platform di mount readonly Whole-root Semua dicopy dari global zone
Instalasi Joomla
Membuat zone 1 Membuat zfs filesystem #zfs create -o mountpoint=/zones rpool/zones Membuat konfigurasi dari zone #cat > /var/tmp/webserv-z.cfg create set zonepath=/zones/webserv-z set autoboot=false add net set address=172.16.31.199/24 set physical=e1000g set defrouter=172.16.31.1 end verify commit exit global
Membuat konfigurasi zone 1  #zonecfg -z webserv-z -f /var/tmp/webserv-z.cfg Instalasi zone 1 *Apabila terdapat proxy eksekusi perintah ini #export http_proxy=http://username:password@ip-proxy:port/  #zoneadm -z webserv-z install A ZFS file system has been created for this zone. Authority: Using http://pkg.opensolaris.org/release/. Image: Preparing at /zones/webserv-z/root ... Cache: Using /var/pkg/download. Installing: (output follows) Refreshing Catalog 1/1 opensolaris.org Creating Plan /  DOWNLOAD  PKGS  FILES  XFER (MB) SUNWPython  6/52  213/7862  1.71/72.41  Completed  52/52  7862/7862  72.41/72.41  PHASE  ACTIONS Install Phase  3637/12939  global
Membuat konfigurasi internal di zone 1 #zoneadm -z webserv-z mount #cat > /zones/webserv-z/root/etc/sysidcfg system_locale=C timezone=Asia/Jakarta terminal=xterms security_policy=NONE timeserver=localhost name_service=DNS { domain_name=priv name_server=172.16.31.199 } nfs4_domain=dynamic security_policy=none Ctrl-d #zoneadm -z webserv-z unmount global
Boot zone 1 #zoneadm -z webserv-z boot Cek dengan zlogin ke zone 1 #zlogin -C webserv-z [Connected to zone 'webserv-z' console] Loading smf(5) service descriptions: 27/68 ... 68/68 Reading ZFS config: done. Mounting ZFS filesystems: (5/5) Creating new rsa public/private host key pair Creating new dsa public/private host key pair Configuring network interface addresses: bge0:1. webserv-z console login: root Password:  global
Membuat Zone 2 Create konfigurasi db-z #Cat > /var/tmp /db-z.cfg  create set zonepath=/zones/db-z set autoboot=true add net set address=172.16.31.198/24 set physical=bge0 set defrouter=172.16.31.1 end verify commit exit Ctrl-d Inisialisasi zone db-z #zonecfg -z db-z -f /var/tmp / db-z.cfg  global
Cloning zone webserv-z #zoneadm -z db-z clone webserv-z sys-unconfig started Wed May 13 09:31:49 2009 rm: cannot remove `/zones/db-z/root/etc/vfstab.sys-u': No such file or  directory grep: /zones/db-z/root/etc/dumpadm.conf: No such file or directory sys-unconfig completed Wed May 13 09:31:50 2009 Boot zone db-z # zoneadm -z db-z boot   #zlogin -C db-z  [Connected to zone 'db-z' console] You did not enter a selection. What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT100 3) PC Console 4) Sun Command Tool 5) Sun Workstation 6) X Terminal Emulator (xterms) 7) Other Type the number of your choice and press Return: 2 global
Enter the host name which identifies this system on the network.  The name must be unique within your domain; creating a duplicate host name will cause problems on the network after you install Solaris. A host name must have at least one character; it can contain letters, digits, and minus signs (-). Host name for bge0:1 db-z  > Press F2 to go to the next screen. Tekan F2 db-z
> Confirm the following information.  If it is correct, press F2; to change any information, press F4. Host name: db-z Tekan F2 Specify Yes if the system will use the Kerberos security mechanism. Specify No if this system will use standard UNIX security. Configure Kerberos Security [ ] Yes [X] No Tekan F2 db-z
> Confirm the following information.  If it is correct, press F2; to change any information, press F4. Configure Kerberos Security: No Tekan F2 On this screen you must provide name service information.  Select the name service that will be used by this system, or None if your system will either not use a name service at all, or if it will use a name service not listed here. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Name service [ ] NIS+ [ ] NIS [ ] DNS [ ] LDAP [X] None Tekan F2 db-z
> Confirm the following information.  If it is correct, press F2; to change any information, press F4. Name service: None Tekan F2 NFS version 4 uses a domain name that is automatically derived from the system's naming services. The derived domain name is sufficient for most configurations. In a few cases, mounts that cross domain boundaries might cause files to appear to be owned by "nobody" due to the lack of a common domain name. The current NFSv4 default domain is: "" NFSv4 Domain Configuration [X] Use the NFSv4 domain derived by the system [ ] Specify a different NFSv4 domain Tekan F2 db-z
> Confirm the following information.  If it is correct, press F2; to change any information, press F4. NFSv4 Domain Name:  << Value to be derived dynamically >> Tekan F2 > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Countries and Regions [ ] Bahrain  [ ] Bangladesh [ ] Bhutan  [ ] Brunei  [ ] Cambodia  [ ] China  [ ] Cyprus  [ ] East Timor [ ] Georgia  [ ] Hong Kong  [ ] India  [X] Indonesia [ ] Iran  db-z
> To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Time zones [X] Java & Sumatra [ ] west & central Borneo [ ] east & south Borneo, Celebes, Bali, Nusa Tengarra, west Timor [ ] Irian Jaya & the Moluccas Tekan F2 > Confirm the following information.  If it is correct, press F2; to change any information, press F4. Time zone: Java & Sumatra (Asia/Jakarta) Tekan F2 db-z
Install Apache 2.2, PHP 5.2 dan MySQL di webserv-z Apabila dibelakang proxy maka perlu diset proxy Contoh proxy server dengan ip 192.168.1.1 dengan port 3128  #export http_proxy= http://192.168.1.1:3128/ #pkg install SUNWphp524 SUNWphp524doc SUNWphp524man  SUNWphp524-mysql SUNWapch22 SUNWapch22m-php52 SUNWmemcached SUNWmysql5-base Setup apache #svccfg import /var/svc/manifest/network/http-apache22.xml #svcadm enable network/http:apache22 webserv-z
Testing Apache dan PHP #cd /var/apache2/2.2/htdocs; #cat>test.php <?php  phpinfo(); ?> Ctrl-d Buka browser di global zone webserv-z
global
Instalasi source joomla di webserv-z Menambahkan unzip ke webserv # pkg install SUNWunzip Kemudian #cd /var/apache2/2.2/htdocs; #mkdir joomla; #chmod 755 joomla; #cd joomla; #w get  http://joomlacode.org/gf/download/frsrelease/9910/37908/Joomla_1.5.10-Stable-Full_Package.zip #unzip Joomla_1.5.10-Stable-Full_Package.zip webserv-z
Install MySQL 5 di db-z # pkg install SUNWmysql5 SUNWmysql5-base Menyalakan mysql 5.0 # svccfg import /var/svc/manifest/application/database/mysql.xml # svcadm enable mysql:version_50 # svcs -a|grep mysql offline*  9:56:44 svc:/application/database/mysql:version_50 # svcs -a|grep mysql online  9:56:46 svc:/application/database/mysql:version_50 db-z
Tambahkan path mysql ke profile # vim ~/.profile  Ubah PATH menjadi PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/mysql/bin Eksekusi ~/.profile untuk mendapatkan PATH yang baru # . ~/.profile  root@db-z:~# svccfg import /var/svc/manifest/application/database/mysql.xml  Melihat arsitektur komputer  # isainfo amd64 i386 Menjalankan mysql dengan mengaktifkan properti 64 bit # svccfg -s mysql:version_50 setprop mysql/enable_64bit=true # svcadm refresh mysql:version_50 db-z
Mencoba login ke mysql # mysql -u root -p Enter password:  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) # mysqladmin -u root password 'admin' # mysql -u root -p Enter password:  Welcome to the MySQL monitor.  Commands end with ; or . Your MySQL connection id is 3 Server version: 5.0.67 Source distribution Type 'help;' or '' for help. Type '' to clear the buffer. mysql> show databases; +--------------------+ | Database  | +--------------------+ | information_schema |  | mysql  |  | test  |  +--------------------+ 3 rows in set (0.00 sec) db-z
Mencoba login ke mysql dari webserv-z # /usr/mysql/bin/mysql -h 172.16.31.198 -p Enter password:  ERROR 1130 (00000): Host '172.16.31.199' is not allowed to connect to this MySQL server Kembali ke db-z untuk melakukan setup privilege # mysql -p Enter password:  Welcome to the MySQL monitor.  Commands end with ; or . Your MySQL connection id is 5 Server version: 5.0.67 Source distribution Type 'help;' or '' for help. Type '' to clear the buffer. mysql> use mysql; Database changed Db-z /webserv-z
mysql> select host,user from user; +-----------+------+ | host  | user | +-----------+------+ | 127.0.0.1 | root |  | db-z  |  |  | db-z  | root |  | localhost |  |  | localhost | root |  +-----------+------+ 5 rows in set (0.36 sec) mysql> UPDATE mysql.user SET Password=PASSWORD('admin') WHERE User='root'; mysql> DELETE FROM mysql.user WHERE User=''; mysql> DELETE FROM mysql.user WHERE User='root' AND Host!='localhost'; mysql> update user set host='%' where user='root' and host='localhost'; mysql> FLUSH PRIVILEGES; db-z
Hasilnya mysql> select host,user from user; +------+------+ | host | user | +------+------+ | %  | root |  +------+------+ 1 row in set (0.00 sec) db-z
 
 
 

More Related Content

What's hot

Fedora Atomic Workshop handout for Fudcon Pune 2015
Fedora Atomic Workshop handout for Fudcon Pune  2015Fedora Atomic Workshop handout for Fudcon Pune  2015
Fedora Atomic Workshop handout for Fudcon Pune 2015rranjithrajaram
 
First steps after free pbx installation
First steps after free pbx installationFirst steps after free pbx installation
First steps after free pbx installationvincent david
 
OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)The Linux Foundation
 
RunX: deploy real-time OSes as containers at the edge
RunX: deploy real-time OSes as containers at the edgeRunX: deploy real-time OSes as containers at the edge
RunX: deploy real-time OSes as containers at the edgeStefano Stabellini
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsThe Linux Foundation
 
Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3Mohamed Al-Natour
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_trainingvideos
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linuxVicent Selfa
 
Cisco asa firewall command line technical guide
Cisco asa firewall command line technical guideCisco asa firewall command line technical guide
Cisco asa firewall command line technical guideMDEMARCOCCIE
 
Step for installing linux server
Step for installing linux serverStep for installing linux server
Step for installing linux serversyed mehdi raza
 
ELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedStefano Stabellini
 
Palo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration LabPalo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration LabMykhaylo Skrypka
 
Oracle database 12c client quick installation guide 4
Oracle database 12c client quick installation guide 4Oracle database 12c client quick installation guide 4
Oracle database 12c client quick installation guide 4bupbechanhgmail
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwaregeekswing
 
3. configuring a compute node for nfv
3. configuring a compute node for nfv3. configuring a compute node for nfv
3. configuring a compute node for nfvvideos
 

What's hot (20)

Fedora Atomic Workshop handout for Fudcon Pune 2015
Fedora Atomic Workshop handout for Fudcon Pune  2015Fedora Atomic Workshop handout for Fudcon Pune  2015
Fedora Atomic Workshop handout for Fudcon Pune 2015
 
Linux
Linux Linux
Linux
 
First steps after free pbx installation
First steps after free pbx installationFirst steps after free pbx installation
First steps after free pbx installation
 
RunX ELCE 2020
RunX ELCE 2020RunX ELCE 2020
RunX ELCE 2020
 
OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)OSSNA18: Xen Beginners Training (exercise script)
OSSNA18: Xen Beginners Training (exercise script)
 
RunX: deploy real-time OSes as containers at the edge
RunX: deploy real-time OSes as containers at the edgeRunX: deploy real-time OSes as containers at the edge
RunX: deploy real-time OSes as containers at the edge
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
 
Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Aix install via nim
Aix install via nimAix install via nim
Aix install via nim
 
Cisco asa firewall command line technical guide
Cisco asa firewall command line technical guideCisco asa firewall command line technical guide
Cisco asa firewall command line technical guide
 
Step for installing linux server
Step for installing linux serverStep for installing linux server
Step for installing linux server
 
ELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for EmbeddedELC21: VM-to-VM Communication Mechanisms for Embedded
ELC21: VM-to-VM Communication Mechanisms for Embedded
 
Palo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration LabPalo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration Lab
 
Oracle database 12c client quick installation guide 4
Oracle database 12c client quick installation guide 4Oracle database 12c client quick installation guide 4
Oracle database 12c client quick installation guide 4
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
 
Xen Project for ARM Servers
Xen Project for ARM ServersXen Project for ARM Servers
Xen Project for ARM Servers
 
3. configuring a compute node for nfv
3. configuring a compute node for nfv3. configuring a compute node for nfv
3. configuring a compute node for nfv
 

Viewers also liked (20)

Aastra Corporate Presentatie 23 Aug Nl
Aastra Corporate Presentatie 23 Aug NlAastra Corporate Presentatie 23 Aug Nl
Aastra Corporate Presentatie 23 Aug Nl
 
Apple TV
Apple TVApple TV
Apple TV
 
Video In Email Presentation
Video In Email PresentationVideo In Email Presentation
Video In Email Presentation
 
Why I'm in the game
Why I'm in the gameWhy I'm in the game
Why I'm in the game
 
My design work
My design workMy design work
My design work
 
Email Video The Winning Combination
Email Video The Winning CombinationEmail Video The Winning Combination
Email Video The Winning Combination
 
Hands!
Hands!Hands!
Hands!
 
Hands!
Hands!Hands!
Hands!
 
Mi proyecto de vida
Mi proyecto de vidaMi proyecto de vida
Mi proyecto de vida
 
20120804
2012080420120804
20120804
 
ใบงาน K2
ใบงาน K2ใบงาน K2
ใบงาน K2
 
образовательная программа 2011
образовательная программа  2011образовательная программа  2011
образовательная программа 2011
 
Conheça a bela_cidade_de_teresópolis
Conheça a bela_cidade_de_teresópolisConheça a bela_cidade_de_teresópolis
Conheça a bela_cidade_de_teresópolis
 
Reciclaje de vidrio
Reciclaje de vidrioReciclaje de vidrio
Reciclaje de vidrio
 
Formato plano 4 grade week 7 iii period
Formato plano 4 grade week 7 iii periodFormato plano 4 grade week 7 iii period
Formato plano 4 grade week 7 iii period
 
Teoria atomica85
Teoria atomica85Teoria atomica85
Teoria atomica85
 
Primeira aula de tic
Primeira aula de ticPrimeira aula de tic
Primeira aula de tic
 
CONFERENCIA DE MÓNICA IBARRONDO EN EUSKO IKASKUNTZA
CONFERENCIA DE MÓNICA IBARRONDO EN EUSKO IKASKUNTZACONFERENCIA DE MÓNICA IBARRONDO EN EUSKO IKASKUNTZA
CONFERENCIA DE MÓNICA IBARRONDO EN EUSKO IKASKUNTZA
 
Mondaine
MondaineMondaine
Mondaine
 
Relações ecológicas
Relações ecológicasRelações ecológicas
Relações ecológicas
 

Similar to OSUG Pekan OpenSource Trunojoyo

Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas SchmidtJuniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas SchmidtNam Nguyen
 
Free radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleFree radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleChanaka Lasantha
 
5595567 Windows Interview Question Answers
5595567 Windows Interview Question Answers5595567 Windows Interview Question Answers
5595567 Windows Interview Question AnswersMonique Carr
 
VDCF Overview
VDCF OverviewVDCF Overview
VDCF OverviewJomaSoft
 
5.installing oracle grid_11g_r2_on_red_hat_enterp
5.installing oracle grid_11g_r2_on_red_hat_enterp5.installing oracle grid_11g_r2_on_red_hat_enterp
5.installing oracle grid_11g_r2_on_red_hat_enterpnvluan
 
Practical Tips for Novell Cluster Services
Practical Tips for Novell Cluster ServicesPractical Tips for Novell Cluster Services
Practical Tips for Novell Cluster ServicesNovell
 
TrinityCore server install guide
TrinityCore server install guideTrinityCore server install guide
TrinityCore server install guideSeungmin Shin
 
Nat mikrotik
Nat mikrotikNat mikrotik
Nat mikrotiklouisraj
 
Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Kaan Aslandağ
 
Introduction to JumpStart
Introduction to JumpStartIntroduction to JumpStart
Introduction to JumpStartScott McDermott
 
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1Raheel Syed
 
Release notes 3_d_v61
Release notes 3_d_v61Release notes 3_d_v61
Release notes 3_d_v61sundar sivam
 
Install nagios
Install nagiosInstall nagios
Install nagioshassandb
 
Install nagios
Install nagiosInstall nagios
Install nagioshassandb
 
Install nagios
Install nagiosInstall nagios
Install nagioshassandb
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawnGábor Nyers
 

Similar to OSUG Pekan OpenSource Trunojoyo (20)

Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas SchmidtJuniper SRX Quickstart 12.1R3 by Thomas Schmidt
Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
 
Vmware inter
Vmware interVmware inter
Vmware inter
 
Free radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmapleFree radius billing server with practical vpn exmaple
Free radius billing server with practical vpn exmaple
 
5595567 Windows Interview Question Answers
5595567 Windows Interview Question Answers5595567 Windows Interview Question Answers
5595567 Windows Interview Question Answers
 
VDCF Overview
VDCF OverviewVDCF Overview
VDCF Overview
 
5.installing oracle grid_11g_r2_on_red_hat_enterp
5.installing oracle grid_11g_r2_on_red_hat_enterp5.installing oracle grid_11g_r2_on_red_hat_enterp
5.installing oracle grid_11g_r2_on_red_hat_enterp
 
Practical Tips for Novell Cluster Services
Practical Tips for Novell Cluster ServicesPractical Tips for Novell Cluster Services
Practical Tips for Novell Cluster Services
 
Sun raysetup
Sun raysetupSun raysetup
Sun raysetup
 
TrinityCore server install guide
TrinityCore server install guideTrinityCore server install guide
TrinityCore server install guide
 
Nat mikrotik
Nat mikrotikNat mikrotik
Nat mikrotik
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8
 
Introduction to JumpStart
Introduction to JumpStartIntroduction to JumpStart
Introduction to JumpStart
 
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
Upgrade 10204-to-10205 on-2-node_rac_linux_x86_64_detail-steps_v0.1
 
Release notes 3_d_v61
Release notes 3_d_v61Release notes 3_d_v61
Release notes 3_d_v61
 
Install nagios
Install nagiosInstall nagios
Install nagios
 
Install nagios
Install nagiosInstall nagios
Install nagios
 
Install nagios
Install nagiosInstall nagios
Install nagios
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawn
 
Linux
LinuxLinux
Linux
 

Recently uploaded

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

OSUG Pekan OpenSource Trunojoyo

  • 1. Instalasi joomla di OpenSolaris zones dengan konsep three tier Ryan Fabella [email_address] IT Architect Sun Microsystems Indonesia
  • 2.
  • 3.
  • 4.
  • 8.
  • 10. Apakah itu virtualisasi ? Dalam ilmu komputer, virtualisasi (Inggris: virtualization) adalah istilah umum yang mengacu kepada abstraksi dari sumber daya komputer. Definisi lainnya adalah &quot;sebuah teknik untuk menyembunyikan karakteristik fisik dari sumber daya komputer dari bagaimana cara sistem lain, aplikasi atau pengguna berinteraksi dengan sumber daya tersebut. Hal ini termasuk membuat sebuah sumber daya tunggal (seperti server, sebuah sistem operasi, sebuah aplikasi, atau peralatan penyimpanan terlihat berfungsi sebagai beberapa sumber daya logikal; atau dapat juga termasuk definisi untuk membuat beberapa sumber daya fisik (seperti beberapa peralatan penyimpanan atau server) terlihat sebagai satu sumber daya logikal.&quot;[1] Istilah virtualisasi sudah digunakan secara luas sejak 1960-an, dan telah diaplikasikan kepada beberapa aspek komputer—dari keseluruhan sistem komputer sampai sebuah kemampuan atau komponen individu. Secara umum semua teknologi virtualisasi mengacu kepada &quot;menyembunyikan detil teknis&quot; melalui enkapsulasi. Sumber wiki
  • 11. Tipe - tipe virtualisasi ? Full virtualisasi VM membuat abstraksi total di bawah Guest OS Guest OS = OS yang terinstall di hardware fisik Resource dan performance menjadi turun Contoh Microsoft Virtual Server and Vmware ESX Server Para virtualisasi VM sebagai hypervisor, software / hardware yang menjembatani Langsung ke hardware fisik (para-API) Guest OS perlu modifikasi supaya bisa berkomunikasi dengan hypervisor Contoh Xen, Qemu, OpenVZ/Virtuozzo, Linux-VServer, FreeBSD Jails, FreeVPS, iCore Virtual Accounts and AIX Workload Partitions.
  • 12. kondisi umum 1 LAN DB + App Tier 1 Client Tier 2
  • 13. kondisi umum 2 LAN DB Tier 1 App Tier 2 Client Tier 3 Proxy + internet gateway
  • 14.
  • 16. Butuh tempat 2 – 3 tower server
  • 17. Apa itu OpenSolaris zone ? OpenSolaris Zone adalah lingkungan virtualisasi diatas opensolaris
  • 18. Apa itu OpenSolaris container ? OpenSolaris container adalah satu atau lebih zone dalam suatu aturan pembagian resource.
  • 19. Fitur Zone Isolasi Antar zone layaknya server lain Kesalahan di zone tidak menyebabkan zone lain terganggu Hacker menembus zone satu tidak menyebabkan zone dua terkena imbas Granularity CPU Memory 8000 + zone
  • 20. Perintah di Zone zonecfg /etc/zones Membuat zone Mengkonfigurasikan zone zoneadm Administrasi Install, halt, boot, reboot,dll zlogin Login ke zone
  • 22. Tipe root zone filesystem Sparse-root / usr,/sbin,/lib,/platform di mount readonly Whole-root Semua dicopy dari global zone
  • 24. Membuat zone 1 Membuat zfs filesystem #zfs create -o mountpoint=/zones rpool/zones Membuat konfigurasi dari zone #cat > /var/tmp/webserv-z.cfg create set zonepath=/zones/webserv-z set autoboot=false add net set address=172.16.31.199/24 set physical=e1000g set defrouter=172.16.31.1 end verify commit exit global
  • 25. Membuat konfigurasi zone 1 #zonecfg -z webserv-z -f /var/tmp/webserv-z.cfg Instalasi zone 1 *Apabila terdapat proxy eksekusi perintah ini #export http_proxy=http://username:password@ip-proxy:port/ #zoneadm -z webserv-z install A ZFS file system has been created for this zone. Authority: Using http://pkg.opensolaris.org/release/. Image: Preparing at /zones/webserv-z/root ... Cache: Using /var/pkg/download. Installing: (output follows) Refreshing Catalog 1/1 opensolaris.org Creating Plan / DOWNLOAD PKGS FILES XFER (MB) SUNWPython 6/52 213/7862 1.71/72.41 Completed 52/52 7862/7862 72.41/72.41 PHASE ACTIONS Install Phase 3637/12939 global
  • 26. Membuat konfigurasi internal di zone 1 #zoneadm -z webserv-z mount #cat > /zones/webserv-z/root/etc/sysidcfg system_locale=C timezone=Asia/Jakarta terminal=xterms security_policy=NONE timeserver=localhost name_service=DNS { domain_name=priv name_server=172.16.31.199 } nfs4_domain=dynamic security_policy=none Ctrl-d #zoneadm -z webserv-z unmount global
  • 27. Boot zone 1 #zoneadm -z webserv-z boot Cek dengan zlogin ke zone 1 #zlogin -C webserv-z [Connected to zone 'webserv-z' console] Loading smf(5) service descriptions: 27/68 ... 68/68 Reading ZFS config: done. Mounting ZFS filesystems: (5/5) Creating new rsa public/private host key pair Creating new dsa public/private host key pair Configuring network interface addresses: bge0:1. webserv-z console login: root Password: global
  • 28. Membuat Zone 2 Create konfigurasi db-z #Cat > /var/tmp /db-z.cfg create set zonepath=/zones/db-z set autoboot=true add net set address=172.16.31.198/24 set physical=bge0 set defrouter=172.16.31.1 end verify commit exit Ctrl-d Inisialisasi zone db-z #zonecfg -z db-z -f /var/tmp / db-z.cfg global
  • 29. Cloning zone webserv-z #zoneadm -z db-z clone webserv-z sys-unconfig started Wed May 13 09:31:49 2009 rm: cannot remove `/zones/db-z/root/etc/vfstab.sys-u': No such file or directory grep: /zones/db-z/root/etc/dumpadm.conf: No such file or directory sys-unconfig completed Wed May 13 09:31:50 2009 Boot zone db-z # zoneadm -z db-z boot #zlogin -C db-z [Connected to zone 'db-z' console] You did not enter a selection. What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT100 3) PC Console 4) Sun Command Tool 5) Sun Workstation 6) X Terminal Emulator (xterms) 7) Other Type the number of your choice and press Return: 2 global
  • 30. Enter the host name which identifies this system on the network. The name must be unique within your domain; creating a duplicate host name will cause problems on the network after you install Solaris. A host name must have at least one character; it can contain letters, digits, and minus signs (-). Host name for bge0:1 db-z > Press F2 to go to the next screen. Tekan F2 db-z
  • 31. > Confirm the following information. If it is correct, press F2; to change any information, press F4. Host name: db-z Tekan F2 Specify Yes if the system will use the Kerberos security mechanism. Specify No if this system will use standard UNIX security. Configure Kerberos Security [ ] Yes [X] No Tekan F2 db-z
  • 32. > Confirm the following information. If it is correct, press F2; to change any information, press F4. Configure Kerberos Security: No Tekan F2 On this screen you must provide name service information. Select the name service that will be used by this system, or None if your system will either not use a name service at all, or if it will use a name service not listed here. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Name service [ ] NIS+ [ ] NIS [ ] DNS [ ] LDAP [X] None Tekan F2 db-z
  • 33. > Confirm the following information. If it is correct, press F2; to change any information, press F4. Name service: None Tekan F2 NFS version 4 uses a domain name that is automatically derived from the system's naming services. The derived domain name is sufficient for most configurations. In a few cases, mounts that cross domain boundaries might cause files to appear to be owned by &quot;nobody&quot; due to the lack of a common domain name. The current NFSv4 default domain is: &quot;&quot; NFSv4 Domain Configuration [X] Use the NFSv4 domain derived by the system [ ] Specify a different NFSv4 domain Tekan F2 db-z
  • 34. > Confirm the following information. If it is correct, press F2; to change any information, press F4. NFSv4 Domain Name: << Value to be derived dynamically >> Tekan F2 > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Countries and Regions [ ] Bahrain [ ] Bangladesh [ ] Bhutan [ ] Brunei [ ] Cambodia [ ] China [ ] Cyprus [ ] East Timor [ ] Georgia [ ] Hong Kong [ ] India [X] Indonesia [ ] Iran db-z
  • 35. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Time zones [X] Java & Sumatra [ ] west & central Borneo [ ] east & south Borneo, Celebes, Bali, Nusa Tengarra, west Timor [ ] Irian Jaya & the Moluccas Tekan F2 > Confirm the following information. If it is correct, press F2; to change any information, press F4. Time zone: Java & Sumatra (Asia/Jakarta) Tekan F2 db-z
  • 36. Install Apache 2.2, PHP 5.2 dan MySQL di webserv-z Apabila dibelakang proxy maka perlu diset proxy Contoh proxy server dengan ip 192.168.1.1 dengan port 3128 #export http_proxy= http://192.168.1.1:3128/ #pkg install SUNWphp524 SUNWphp524doc SUNWphp524man SUNWphp524-mysql SUNWapch22 SUNWapch22m-php52 SUNWmemcached SUNWmysql5-base Setup apache #svccfg import /var/svc/manifest/network/http-apache22.xml #svcadm enable network/http:apache22 webserv-z
  • 37. Testing Apache dan PHP #cd /var/apache2/2.2/htdocs; #cat>test.php <?php phpinfo(); ?> Ctrl-d Buka browser di global zone webserv-z
  • 39. Instalasi source joomla di webserv-z Menambahkan unzip ke webserv # pkg install SUNWunzip Kemudian #cd /var/apache2/2.2/htdocs; #mkdir joomla; #chmod 755 joomla; #cd joomla; #w get http://joomlacode.org/gf/download/frsrelease/9910/37908/Joomla_1.5.10-Stable-Full_Package.zip #unzip Joomla_1.5.10-Stable-Full_Package.zip webserv-z
  • 40. Install MySQL 5 di db-z # pkg install SUNWmysql5 SUNWmysql5-base Menyalakan mysql 5.0 # svccfg import /var/svc/manifest/application/database/mysql.xml # svcadm enable mysql:version_50 # svcs -a|grep mysql offline* 9:56:44 svc:/application/database/mysql:version_50 # svcs -a|grep mysql online 9:56:46 svc:/application/database/mysql:version_50 db-z
  • 41. Tambahkan path mysql ke profile # vim ~/.profile Ubah PATH menjadi PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/mysql/bin Eksekusi ~/.profile untuk mendapatkan PATH yang baru # . ~/.profile root@db-z:~# svccfg import /var/svc/manifest/application/database/mysql.xml Melihat arsitektur komputer # isainfo amd64 i386 Menjalankan mysql dengan mengaktifkan properti 64 bit # svccfg -s mysql:version_50 setprop mysql/enable_64bit=true # svcadm refresh mysql:version_50 db-z
  • 42. Mencoba login ke mysql # mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) # mysqladmin -u root password 'admin' # mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or . Your MySQL connection id is 3 Server version: 5.0.67 Source distribution Type 'help;' or '' for help. Type '' to clear the buffer. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | test | +--------------------+ 3 rows in set (0.00 sec) db-z
  • 43. Mencoba login ke mysql dari webserv-z # /usr/mysql/bin/mysql -h 172.16.31.198 -p Enter password: ERROR 1130 (00000): Host '172.16.31.199' is not allowed to connect to this MySQL server Kembali ke db-z untuk melakukan setup privilege # mysql -p Enter password: Welcome to the MySQL monitor. Commands end with ; or . Your MySQL connection id is 5 Server version: 5.0.67 Source distribution Type 'help;' or '' for help. Type '' to clear the buffer. mysql> use mysql; Database changed Db-z /webserv-z
  • 44. mysql> select host,user from user; +-----------+------+ | host | user | +-----------+------+ | 127.0.0.1 | root | | db-z | | | db-z | root | | localhost | | | localhost | root | +-----------+------+ 5 rows in set (0.36 sec) mysql> UPDATE mysql.user SET Password=PASSWORD('admin') WHERE User='root'; mysql> DELETE FROM mysql.user WHERE User=''; mysql> DELETE FROM mysql.user WHERE User='root' AND Host!='localhost'; mysql> update user set host='%' where user='root' and host='localhost'; mysql> FLUSH PRIVILEGES; db-z
  • 45. Hasilnya mysql> select host,user from user; +------+------+ | host | user | +------+------+ | % | root | +------+------+ 1 row in set (0.00 sec) db-z
  • 46.  
  • 47.  
  • 48.  
  • 49.  
  • 50.  
  • 51.  
  • 52.  
  • 53.  
  • 54. Masuk ke webserv-z Didalam direktori joomla hapus direktori installation rm -fr /var/apache2/2.2/htdocs/joomla/installation/ Akhirnya........
  • 55.  
  • 56. Referensi Solaris Containers http://docs.sun.com/app/docs/doc/817-1592/zones.intro-1?l=en&a=view Joomla http://www.joomla.org/ blogs.sun.com http://blogs.sun.com/blogfinger/entry/how_to_add_a_solaris
  • 57. Matur Nuwun [email_address] http://zer0d4y.blogspot.com/ “ open” artwork and icons by chandan: http://blogs.sun.com/chandan