IntroductionOracle Solaris is a well known enterprise grade UNIX OS, originally made by Sun Microsystems. It has a rather large install-base. Not many people know this, but you can freely download and use Solaris 10 and Solaris 11 for personal use, the caveat being that you will have to register an Oracle account (also free). But like other non-Linux unices/unix-like OSes, Solaris can be confusing for people who have no *nix experience, or whose exposure to the *nix world has been primarily Linux, so there can be a slightly steep initial learning curve. Which is compounded when you attempt to install Solaris as a VM guest - it doesn't behave like Linux. There is a lot of disparate information about installing Solaris into a KVM environment, and there are countless threads where people are having trouble and asking for help, and not getting many answers. Perhaps you're one of those people. You've setup Proxmox and you're trying to install Solaris 11, but it's so usefully telling you that Longmode isn't supported. You search the internet for the error and find vague threads from 2006. Or you're trying OpenIndiana and you're stuck in a kernel panic reboot loop. You can make out brief snippets of log like 'segmentation overrun' but again, your searching for help yields little. This page aims to help you with creating KVM guests in Proxmox using Solaris based OSes, by detailing the particular settings that worked for me, the author. Note: The below notes are what worked for me, based on a lot of testing and collating tips, hints and clues from the aforementioned discussion threads. If I haven't mentioned it below, that means it's probably set to default! YMMV! Solaris 10
Hardware
Options
Post-installIf you want to disable the GUI startup: /usr/dt/bin/dtconfig -d And, to enable it again: /usr/dt/bin/dtconfig -e Alternatively: svcadm disable cde-login To allow root logins over ssh, edit /etc/ssh/sshd_config, updating the line PermitRootLogins no to PermitRootLogins yes before issuing svcadm restart svc:/network/ssh:default Solaris 11
HardwareSee: Solaris 10 OptionsSee: Solaris 10 Post-installTo allow root logins over ssh:
OpenIndiana
HardwareSee: Solaris 10 OptionsSee: Solaris 10 Post-installSee: Solaris 11 Networking is a bit of a mess, it seems to come up as DHCP which can ruin your day if you want things to be static. Try svcadm disable network/physical:nwam followed by setting everything up as per the OmniOS wiki instructions (see below), followed by svcadm enable network/physical:default. More advanced instructions are outside the scope of this article. OmniOS
HardwareSee: Solaris 10 OptionsSee: Solaris 10 Post-installSee: Solaris 11 After installation, before you reboot, you probably need to manually configure your network connection. Consult the OmniOS wiki for further details. If you do reboot, chances are your login attempts will fail. Try using root for the username, and hit Enter for a blank password. If all else fails, you can try Single User Mode. To do this, at the GRUB menu, hit (e), select the Kernel line and hit (e), and add -s to the end of it. Hit Enter, then (b) to boot. At the eventual login prompt, try root for the username, and hit Enter for a blank password. Common Notes
EnvironmentThis is the environment used in which the above settings were tested as OK: pveversion -v proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-23-pve) pve-manager: 3.1-3 (running version: 3.1-3/dc0e9b0e) pve-kernel-2.6.32-23-pve: 2.6.32-109 lvm2: 2.02.98-pve4 clvm: 2.02.98-pve4 corosync-pve: 1.4.5-1 openais-pve: 1.1.4-3 libqb0: 0.11.1-2 redhat-cluster-pve: 3.2.0-2 resource-agents-pve: 3.9.2-4 fence-agents-pve: 4.0.0-2 pve-cluster: 3.0-7 qemu-server: 3.1-4 pve-firmware: 1.0-23 libpve-common-perl: 3.0-6 libpve-access-control: 3.0-6 libpve-storage-perl: 3.0-13 pve-libspice-server1: 0.12.4-2 vncterm: 1.1-4 vzctl: 4.0-1pve3 vzprocps: 2.0.11-2 vzquota: 3.1-2 pve-qemu-kvm: 1.4-17 ksm-control-daemon: 1.1-1 glusterfs-client: 3.4.0-2 Hardware: Asus M5A78L-M/USB3 Mobo, AMD Phenom II X4 955 Black Edition Quad-Core Processor, 16G memory. |
|
来自: 浸心阁 > 《web_good》