{"id":3245,"date":"2014-06-24T01:27:02","date_gmt":"2014-06-23T17:27:02","guid":{"rendered":"http:\/\/rmohan.com\/?p=3245"},"modified":"2014-06-24T01:35:26","modified_gmt":"2014-06-23T17:35:26","slug":"install-vfabric-web-server-tcserver","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3245","title":{"rendered":"Install vfabric-web-server &#038; TcServer"},"content":{"rendered":"<p>mkdir tcserver<br \/>\ncd tcserver\/<br \/>\nwget -q -O &#8211; http:\/\/repo.vmware.com\/pub\/rhel6\/vfabric\/5.2\/vfabric-5.2-suite-installer | sh<\/p>\n<p>yum search vfabric<\/p>\n<p>[root@cluster1 vfabric-web-server]# yum search vfabric<br \/>\nLoaded plugins: fastestmirror, refresh-packagekit, security<br \/>\nLoading mirror speeds from cached hostfile<br \/>\n* base: centos.ipserverone.com<br \/>\n* extras: centos.ipserverone.com<br \/>\n* updates: centos.ipserverone.com<br \/>\n========================================================= N\/S Matched: vfabric =========================================================<br \/>\nvfabric-5.2-repo.noarch : vFabric 5.2 repository configuration<br \/>\nvfabric-administration-server.noarch : VMware vFabric Administration Server<br \/>\nvfabric-agent.x86_64 : VMware vFabric Agent<br \/>\nvfabric-gemfire.noarch : VMware vFabric GemFire<br \/>\nvfabric-hyperic-agent.noarch : VMware vFabric Hyperic Agent<br \/>\nvfabric-hyperic-server.x86_64 : VMware vFabric Hyperic Server<br \/>\nvfabric-insight-agent.noarch : com.springsource.insight.dist.vfabric:agent-rpm<br \/>\nvfabric-insight-dashboard.noarch : com.springsource.insight.dist.vfabric:dashboard-rpm<br \/>\nvfabric-sqlfire.noarch : VMware vFabric SQLFire<br \/>\nvfabric-tc-server-standard.noarch : VMware vFabric tc Server Standard<br \/>\nvfabric-web-server.x86_64 : VMware vFabric Web Server<br \/>\nvfabric-web-server-debuginfo.x86_64 : VMware vFabric Web Server Debugging Symbols<br \/>\nvfabric-web-server-devel.x86_64 : VMware vFabric Web Server Libraries and Headers<br \/>\nvfabric-rabbitmq-java-client-bin.noarch : The RabbitMQ Java Client Library<br \/>\nvfabric-rabbitmq-server.x86_64 : The RabbitMQ server<\/p>\n<p>Name and summary matches only, use &#8220;search all&#8221; for everything.<\/p>\n<p>yum install vfabric-tc-server-standard.noarch\u00a0\u00a0 vfabric-web-server.x86_64\u00a0 vfabric-web-server-debuginfo.x86_64 vfabric-web-server-devel.x86_64<\/p>\n<p>cd \/opt\/vmware\/<\/p>\n<p>[root@cluster1 vmware]# ls<br \/>\nvfabric-tc-server-standard\u00a0 vfabric-web-server<br \/>\n[root@cluster1 vmware]# ls -la<br \/>\ntotal 16<br \/>\ndrwxr-xr-x. 4 root root\u00a0\u00a0\u00a0 4096 Jun 23 15:59 .<br \/>\ndrwxr-xr-x. 4 root root\u00a0\u00a0\u00a0 4096 Jun 23 15:59 ..<br \/>\ndrwxr-xr-x. 8 root vfabric 4096 Jun 23 19:44 vfabric-tc-server-standard<br \/>\ndrwxr-xr-x. 4 root root\u00a0\u00a0\u00a0 4096 Jun 23 15:59 vfabric-web-server<br \/>\nLets create a tcserver instance<\/p>\n<p>cd vfabric-tc-server-standard\/<br \/>\n.\/tcruntime-instance.sh create -i \/usr\/tcserver\/ &#8211;version 7.0.50.C.RELEASE &#8211;java-home \/usr\/java\/jdk1.7.0_17\/ &#8211;interactive\u00a0 app1<br \/>\n.\/tcruntime-instance.sh create -i \/usr\/tcserver\/ &#8211;version 7.0.50.C.RELEASE &#8211;java-home \/usr\/java\/jdk1.7.0_17\/ &#8211;interactive\u00a0 app2<\/p>\n<p>Lets create a webserver instance<br \/>\nmkdir \/usr\/webserver<\/p>\n<p>[root@cluster1 vfabric-web-server]# .\/newserver\u00a0 &#8211;rootdir=\/opt\/vmware\/vfabric-web-server &#8211;server=rmohan.com &#8211;serverdir=\/usr\/webserver\/rmohan &#8211;mpm=worker\u00a0\u00a0\u00a0 &#8211;httpdver=2.2.23.2-64<br \/>\nnewserver.pl script &#8211; deploy a new httpd server instance<br \/>\nCopyright (c) 2012 VMware, Inc.\u00a0 All rights reserved.<br \/>\nEnable SSL and create a default key [y\/n]? y<br \/>\nServer hostname (e.g. www.example.com) [rmohan.com]?<br \/>\nAdministrator email [webmaster@rmohan.com]?<br \/>\nPort for http:\/\/ traffic\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [80]?<br \/>\nPort for https:\/\/ traffic\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [443]?<br \/>\nCreated vfhttpd system group<\/p>\n<p>Created vfhttpd system user account<br \/>\nCreating new server instance \/usr\/webserver\/rmohan<br \/>\nfrom the \/opt\/vmware\/vfabric-web-server\/httpd-2.2.23.2-64\/_instance<br \/>\ntemplate instance tree<\/p>\n<p>Size of SSL RSA key, in bits [2048]?<br \/>\nGenerating RSA private key, 2048 bit long modulus<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;+++<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.+++<br \/>\ne is 65537 (0x10001)<\/p>\n<p>Created \/usr\/webserver\/rmohan\/ssl\/rmohan.com.key<\/p>\n<p>Choose a passphrase to encrypt the .pem backup copy of this key<br \/>\nwriting RSA key<br \/>\nEnter PEM pass phrase:<br \/>\nVerifying &#8211; Enter PEM pass phrase:<\/p>\n<p>Fill in information for this certificate.<br \/>\n(The Common Name (CN) below MUST match ServerName!):<\/p>\n<p>You are about to be asked to enter information that will be incorporated<br \/>\ninto your certificate request.<br \/>\nWhat you are about to enter is what is called a Distinguished Name or a DN.<br \/>\nThere are quite a few fields but you can leave some blank<br \/>\nFor some fields there will be a default value,<br \/>\nIf you enter &#8216;.&#8217;, the field will be left blank.<br \/>\n&#8212;&#8211;<br \/>\nCountry Name (2 letter code) [AU]:SG<br \/>\nState or Province Name (full name) [Some-State]:SG<br \/>\nLocality Name (eg, city) []:SG<br \/>\nOrganization Name (eg, company) [Internet Widgits Pty Ltd]:rmohan.com<br \/>\nOrganizational Unit Name (eg, section) []:IT<br \/>\nCommon (Server) Name (eg, www.example.com) []:rmohan.com<br \/>\nEmail Address []:postmaster@rmohan.com<\/p>\n<p>Please enter the following &#8216;extra&#8217; attributes<br \/>\nto be sent with your certificate request<br \/>\nA challenge password []:<br \/>\nAn optional company name []:<br \/>\nSignature ok<br \/>\nsubject=\/C=SG\/ST=SG\/L=SG\/O=rmohan.com\/OU=IT\/CN=rmohan.com\/emailAddress=postmaster@rmohan.com<br \/>\nGetting Private key<\/p>\n<p>SSL files generated as \/usr\/webserver\/rmohan\/ssl\/rmohan.com.*<br \/>\n.key &#8211; unencryped private key (perm 0600 for security).<br \/>\n.pem &#8211; des3 encrypted private key &#8211; back up this file!<br \/>\n.csr &#8211; certificate signing request &#8211; submit this to the CA.<br \/>\n.crt &#8211; self-signed certificate, replace with cert signed by the CA.<br \/>\nBe certain to record the passphrase to decrypt the .pem file.<br \/>\nNever transmit the .key file or cause it to be readable by others!<\/p>\n<p>New server instance created in<br \/>\n\/usr\/webserver\/rmohan<\/p>\n<p>Modify \/usr\/webserver\/rmohan\/conf\/httpd.conf<br \/>\nand \/usr\/webserver\/rmohan\/bin\/httpdctl<br \/>\nto make additional adjustments.<\/p>\n<p>[root@cluster1 vfabric-web-server]#<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/Image-11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3247\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/06\/Image-11.jpg\" alt=\"Image 1\" width=\"1321\" height=\"687\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/Image-11.jpg 1321w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/Image-11-300x156.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/Image-11-1024x532.jpg 1024w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/06\/Image-11-900x468.jpg 900w\" sizes=\"(max-width: 1321px) 100vw, 1321px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>mkdir tcserver cd tcserver\/ wget -q -O &#8211; http:\/\/repo.vmware.com\/pub\/rhel6\/vfabric\/5.2\/vfabric-5.2-suite-installer | sh<\/p>\n<p>yum search vfabric<\/p>\n<p>[root@cluster1 vfabric-web-server]# yum search vfabric Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.ipserverone.com * extras: centos.ipserverone.com * updates: centos.ipserverone.com ========================================================= N\/S Matched: vfabric ========================================================= vfabric-5.2-repo.noarch : vFabric 5.2 repository configuration vfabric-administration-server.noarch : VMware vFabric Administration [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,21,63],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3245"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3245"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3245\/revisions"}],"predecessor-version":[{"id":3248,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3245\/revisions\/3248"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}