{"id":458,"date":"2011-01-11T14:12:28","date_gmt":"2011-01-11T13:12:28","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=458"},"modified":"2013-02-01T12:53:26","modified_gmt":"2013-02-01T11:53:26","slug":"solaris-10-installation-with-vmware-server","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=458","title":{"rendered":"Solaris 10 Installation with VMWare Server"},"content":{"rendered":"<div class='toc toc'>\n<h2>Contents<\/h2>\n<ul class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Create_the_virtual_machine\">Create the virtual machine<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Solaris_Installation\">Solaris Installation<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#After_installation\">After installation<\/a>\n\t\t<ul class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Add_a_user\">Add a user<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Mount_cdrom\">Mount cdrom<\/a>\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<li>\n\t\t<a href=\"#Installing_Software\">Installing Software<\/a>\n\t\t<ul class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Install_ssh\">Install ssh<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Installing_bash\">Installing bash<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Installing_the_Blastwave_repository\">Installing the Blastwave repository<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Installing_man\">Installing man<\/a>\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<li>\n\t\t<a href=\"#Hardening\">Hardening<\/a>\n\t\t<ul class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Disabling_Services\">Disabling Services<\/a>\n\t\t\t<\/li>\n<\/ul>\n<\/ul>\n<\/ul>\n<\/div>\n<div class='toc-end'>&nbsp;<\/div>\n<span id=\"Create_the_virtual_machine\"><h2>Create the virtual machine<\/h2><\/span>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0000-4\/\" rel=\"attachment wp-att-486\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-486\" title=\"Step 0\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00003-300x264.png\" alt=\"\" width=\"300\" height=\"264\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00003-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00003.png 441w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0001-3\/\" rel=\"attachment wp-att-489\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-489\" title=\"Step 1\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00012-300x264.png\" alt=\"\" width=\"300\" height=\"264\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00012-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00012.png 441w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0000-4\/\" rel=\"attachment wp-att-486\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-486\" title=\"Step 0\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00003-300x264.png\" alt=\"\" width=\"108\" height=\"95\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00003-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00003.png 441w\" sizes=\"auto, (max-width: 108px) 100vw, 108px\" \/><\/a><\/p>\n<div>\n<p>Step 0<\/p>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0001-3\/\" rel=\"attachment wp-att-489\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-489\" title=\"Step 1\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00012-300x264.png\" alt=\"\" width=\"108\" height=\"95\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00012-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00012.png 441w\" sizes=\"auto, (max-width: 108px) 100vw, 108px\" \/><\/a><\/p>\n<div>\n<p>Step 1<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0002-3\/\" rel=\"attachment wp-att-490\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-490\" title=\"Step 2\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00022-300x264.png\" alt=\"\" width=\"108\" height=\"95\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00022-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00022.png 441w\" sizes=\"auto, (max-width: 108px) 100vw, 108px\" \/><\/a><\/p>\n<div>\n<p>Step 2<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0003-2\/\" rel=\"attachment wp-att-493\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-493\" title=\"Step 3\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00031-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00031-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00031.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 3<\/strong><\/p>\n<\/div>\n<\/div>\n<div>\n<div>\n<div><a href=\"https:\/\/thebc.ch\/blog\/?attachment_id=496\" rel=\"attachment wp-att-496\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-496\" title=\"Step 4\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00043-300x264.png\" alt=\"\" width=\"180\" height=\"158\" \/><\/a><\/div>\n<p><strong>Step 4<\/strong><\/p>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0005-2\/\" rel=\"attachment wp-att-497\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-497\" title=\"Step 5\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00051-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00051-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00051.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 5<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0006-2\/\" rel=\"attachment wp-att-498\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-498\" title=\"Step 6\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00061-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00061-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00061.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 6<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0007-2\/\" rel=\"attachment wp-att-499\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-499\" title=\"Step 7\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00071-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00071-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00071.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 7<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0008-2\/\" rel=\"attachment wp-att-500\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-500\" title=\"Step 8\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00081-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00081-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00081.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 8<\/strong>: Don&#8217;t know if Buslogic would work with Solaris10<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0009-2\/\" rel=\"attachment wp-att-501\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-501\" title=\"Step 9\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00091-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00091-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00091.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 9<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0010-2\/\" rel=\"attachment wp-att-502\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-502\" title=\"Step 10\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00101-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00101-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00101.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 10<\/strong>: I have selected SCSI because I plan to attach a lot of physical hard disks<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0011-2\/\" rel=\"attachment wp-att-503\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-503\" title=\"Step 11\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00111-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00111-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00111.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 11<\/strong>: 2GB is enough for &#8220;Core with limited networking support&#8221;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_create_vmware-0012-2\/\" rel=\"attachment wp-att-504\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-504\" title=\"Step 12\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00121-300x264.png\" alt=\"\" width=\"180\" height=\"158\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00121-300x264.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_create_vmware-00121.png 441w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<div>\n<p><strong>Step 12<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<span id=\"Solaris_Installation\"><h2>Solaris Installation<\/h2><\/span>\n<p>Here you will find some screenshots about important installation steps. You should know by yourself how to partition the disk or setup a basic solaris installation. Basically I&#8217;ve selected most of the defaults.<\/p>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_install_solaris-0000-2\/\" rel=\"attachment wp-att-505\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-505\" title=\"Solaris_10_Installation_with_VMWare_Server_install_solaris-0000\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00001-300x166.png\" alt=\"\" width=\"300\" height=\"166\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00001-300x166.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00001.png 720w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<div>\n<p>Select the normal installation (no serial console)<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_install_solaris-0001-2\/\" rel=\"attachment wp-att-506\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-506\" title=\"Solaris_10_Installation_with_VMWare_Server_install_solaris-0001\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00011-300x166.png\" alt=\"\" width=\"300\" height=\"166\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00011-300x166.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00011.png 720w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<div>\n<p>Also here we select the &#8220;Console-Way&#8221; (not the GUI-Java-Webstart thing)<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<p><a href=\"https:\/\/thebc.ch\/blog\/458\/solaris-10-installation-with-vmware-server\/solaris_10_installation_with_vmware_server_install_solaris-0002-2\/\" rel=\"attachment wp-att-507\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-507\" title=\"Solaris_10_Installation_with_VMWare_Server_install_solaris-0002\" src=\"http:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00021-300x166.png\" alt=\"\" width=\"300\" height=\"166\" srcset=\"https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00021-300x166.png 300w, https:\/\/thebc.ch\/upload\/2011\/01\/Solaris_10_Installation_with_VMWare_Server_install_solaris-00021.png 720w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<div>\n<p>Here we are selecting the &#8220;Reduced Networking Core System Support&#8221;. With that option you don&#8217;t have ping or telnet installed.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><a id=\"After_installation\" name=\"After_installation\"><\/a><\/p>\n<span id=\"After_installation\"><h2>After installation<\/h2><\/span>\n<p><a id=\"Add_a_user\" name=\"Add_a_user\"><\/a><\/p>\n<span id=\"Add_a_user\"><h3>Add a user<\/h3><\/span>\n<p>Als erstes muss das Homeverzeichniss von root angepasst werden. Es soll nicht im \/ sondern unter \/root liegen:<\/p>\n<pre>mkdir \/root\r\nchown root:root root\r\nchmod 700 root\r\npassmgmt -m -h \/root root\r\npasswd root<\/pre>\n<p>Nun wird der User sysop erfasst:<\/p>\n<pre>groupadd -g 200 sysop\r\nuseradd -u 200 -g 200 -d \/export\/sysop -s \/bin\/sh -c Sys-Operator sysop\r\nmkdir -p \/export\/sysop\r\nchown sysop:sysop \/export\/sysop\r\nchmod 700 \/export\/sysop\r\npasswd sysop<\/pre>\n<p><a id=\"Mount_cdrom\" name=\"Mount_cdrom\"><\/a><\/p>\n<span id=\"Mount_cdrom\"><h3>Mount cdrom<\/h3><\/span>\n<p>Find the cdrom in \/dev\/dsk<\/p>\n<pre>mkdir \/mnt\/cdrom\r\nmount \u00e2\u20ac\u201cF hsfs \/dev\/dsk\/c1t0d0s2 \/mnt\/cdrom<\/pre>\n<p>If you deployed your vmware with SCSI-Disks your CD-ROM probably would be:<\/p>\n<pre>mount \u00e2\u20ac\u201cF hsfs \/dev\/dsk\/c0t0d0s2 \/mnt\/cdrom<\/pre>\n<p><a id=\"Installing_Software\" name=\"Installing_Software\"><\/a><\/p>\n<span id=\"Installing_Software\"><h2>Installing Software<\/h2><\/span>\n<p><a id=\"Install_ssh\" name=\"Install_ssh\"><\/a><\/p>\n<span id=\"Install_ssh\"><h3>Install ssh<\/h3><\/span>\n<pre>pkgadd -d .\/ SUNWgssc SUNWgss\r\npkgadd -d \/root\/Product SUNWzlib\r\npkgadd -d \/root\/Product SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu<\/pre>\n<pre>svcadm enable ssh\r\nsvcadm restart ssh<\/pre>\n<p>For some reason the ssh-host-keys weren&#8217;t created.<\/p>\n<pre>\/lib\/svc\/method\/sshd -c\r\n\/usr\/sbin\/svcadm clear network\/ssh<\/pre>\n<p><a id=\"Installing_bash\" name=\"Installing_bash\"><\/a><\/p>\n<span id=\"Installing_bash\"><h3>Installing bash<\/h3><\/span>\n<pre>pkgadd -d .\/ SUNWbash<\/pre>\n<p>bash als default shell fur root und sysop einrichten:<\/p>\n<pre>passmgmt -m -s \/bin\/bash root\r\npassmgmt -m -s \/bin\/bash sysop<\/pre>\n<p>Damit im bash die Umlaute richtig angezeigt werden muss die Datei ~\/.inputrc mit folgendem inhalt angelegt werden:<\/p>\n<p>Fur root:<\/p>\n<pre>echo set meta-flag on &gt; \/root\/.inputrc\r\necho set convert-meta off &gt;&gt; \/root\/.inputrc\r\necho set output-meta on &gt;&gt; \/root\/.inputrc<\/pre>\n<p>Fur sysop:<\/p>\n<pre>echo set meta-flag on &gt; \/export\/sysop\/.inputrc\r\necho set convert-meta off &gt;&gt; \/export\/sysop\/.inputrc\r\necho set output-meta on &gt;&gt; \/export\/sysop\/.inputrc<\/pre>\n<p>Um den &#8220;sch\u00c3\u00b6nen&#8221; Prompt zu erhalten und PATH anzupassen:<\/p>\n<p>Fuer root:<\/p>\n<pre>vi \/root\/.profile\r\n--- \/root\/.profile ---\r\nPS1=\"[\\u@\\h \\W]# \"\r\nPATH=\/usr\/sbin:\/usr\/bin:\/usr\/dt\/bin:\/usr\/openwin\/bin:\/bin:\/usr\/ucb:\/opt\/sfw\/bin:\/usr\/ccs\/bin\r\nexport PATH\r\n--- \/root\/.profile ---<\/pre>\n<p>Fuer sysop:<\/p>\n<pre>vi \/export\/sysop\/.profile\r\n--- \/export\/sysop\/.profile ---\r\nPS1=\"[\\u@\\h \\W]\\$ \"\r\n--- \/export\/sysop\/.profile ---<\/pre>\n<p><a id=\"Installing_the_Blastwave_repository\" name=\"Installing_the_Blastwave_repository\"><\/a><\/p>\n<span id=\"Installing_the_Blastwave_repository\"><h3>Installing the Blastwave repository<\/h3><\/span>\n<p>Install Wget<\/p>\n<pre>pkgadd -d .\/ SUNWgcmn\r\npkgadd -d .\/ SUNWwgetr SUNWwgetu<\/pre>\n<p>Add \/usr\/sfw\/bin to your $PATH<\/p>\n<p>Install pkg-get<\/p>\n<pre>cd ~\r\nwget <a title=\"http:\/\/www.blastwave.org\/pkg_get.pkg\" href=\"http:\/\/www.blastwave.org\/pkg_get.pkg\" rel=\"nofollow\">http:\/\/www.blastwave.org\/pkg_get.pkg<\/a>\r\npkgadd -d pkg_get.pkg all<\/pre>\n<p>Add \/opt\/csw\/bin to your $PATH<\/p>\n<pre>vi \/opt\/csw\/etc\/pkg-get.conf<\/pre>\n<p>And update the mirror to:<\/p>\n<pre>url=<a title=\"http:\/\/mirror.switch.ch\/ftp\/mirror\/csw\/stable\" href=\"http:\/\/mirror.switch.ch\/ftp\/mirror\/csw\/stable\" rel=\"nofollow\">http:\/\/mirror.switch.ch\/ftp\/mirror\/csw\/stable<\/a><\/pre>\n<p>Install the certificate and the necessary tools to check package signature<\/p>\n<pre>cd ~\r\npkg-get -i gnupg\r\nwget --output-document=pgp.key <a title=\"http:\/\/www.blastwave.org\/mirrors.html\" href=\"http:\/\/www.blastwave.org\/mirrors.html\" rel=\"nofollow\">http:\/\/www.blastwave.org\/mirrors.html<\/a>\r\ngpg --import pgp.key\r\nrm pgp.key<\/pre>\n<p>Install some Software with:<\/p>\n<pre>pkg-get install lsof<\/pre>\n<pre>[root@moloch ~]# pkginfo | grep CSW\r\nsystem      CSWcommon                    common - common files and dirs for CSW packages\r\nsystem      CSWisaexec                   isaexec - sneaky wrapper around Sun isaexec\r\napplication CSWlsof                      lsof - list open files\r\nsystem      CSWpkgget                    pkg_get - CSW version of automated package download tool\r\n[root@moloch ~]#<\/pre>\n<p><a id=\"Installing_man\" name=\"Installing_man\"><\/a><\/p>\n<span id=\"Installing_man\"><h3>Installing man<\/h3><\/span>\n<pre>cd cd \/mnt\/cdrom\/Solaris_10\/Product\/\r\npkgadd -d .\/ SUNWlibC SUNWdoc SUNWman<\/pre>\n<p>Modify MANPATH in .profile if you have blastwave-packages installed<\/p>\n<pre>vi ~\/.profile\r\n--- .profile ---\r\nMANPATH=$MANPATH:\/opt\/csw\/man\r\nexport MANPATH\r\n--- .profile ---<\/pre>\n<p>Update your environment<\/p>\n<pre>source ~\/.profile<\/pre>\n<p><a id=\"Hardening\" name=\"Hardening\"><\/a><\/p>\n<span id=\"Hardening\"><h2>Hardening<\/h2><\/span>\n<p><a id=\"Disabling_Services\" name=\"Disabling_Services\"><\/a><\/p>\n<span id=\"Disabling_Services\"><h3>Disabling Services<\/h3><\/span>\n<pre>cd \/etc\/inet<\/pre>\n<p>(Edit inetd.conf and comment out the services which are not needed, such as rpc.cmsd, rpc.ttdbserverd, etc. Afterwards the inetd daemon needs to be restarted)<\/p>\n<pre>vi inetd.conf\r\ninetconv -i \/etc\/inet\/inetd.conf<\/pre>\n<p>The third type of services to disable can be seen using the SMF (Service Management Facility) program svcs.<\/p>\n<pre>\/usr\/bin\/svcs -a<\/pre>\n<p>To see which services are actually running (online)<\/p>\n<pre>\/usr\/bin\/svcs -a | \/usr\/bin\/grep online | grep network<\/pre>\n<p>Among these services, the ones which can be immediately disabled using the svcadm utility are:<\/p>\n<pre>svcadm disable svc:\/network\/rpc\/bind:default\r\nsvcadm disable svc:\/network\/inetd:default\r\nsvcadm disable svc:\/network\/rpc-100235_1\/rpc_ticotsord:default<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Create the virtual machine Step 0 Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8: Don&#8217;t know if Buslogic would work with Solaris10 Step 9 Step 10: I have selected SCSI because I &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=458\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=458"}],"version-history":[{"count":63,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/458\/revisions"}],"predecessor-version":[{"id":2668,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/458\/revisions\/2668"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}