Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed SLES setup instructions

  • Loading branch information...
commit 6cd1ba93c38e34a5cf0b8deba58d7bd60f0d36ce 1 parent a09872b
@thinkerbot authored
Showing with 0 additions and 88 deletions.
  1. +0 −87 HowTo/Setup/SLES
  2. +0 −1  linebook.gemspec
View
87 HowTo/Setup/SLES
@@ -1,87 +0,0 @@
-= SLES
-
-<em>Note these instructions are for building a dev box only. In particular
-they allow the linecook user to sudo without a password and disable the
-firewall, which may not be in you best production interests.</em>
-
-Build a SLES11 base box using the following:
-
- - name: sles
- - Linux/Linux 2.6
- - 256 MB memory
- - 8 GB dynamically resizing drive
-
-Add the netinst.iso to the cd/dvd device under Settings > Storage. Now start
-the server and install (use default settings unless specified):
-
- - Server Base Scenario: Virtual Machine (middle option)
- - Installation (1.2 GB):
- Base System
- Novell AppArmor
- Minimal System
- c/c++ Compiler and Tools
- - root password: linecook
- - network settings:
- hostname: sles
- domain: pinnacol.com
- [ ] change hostname via DHCP
- [x] write hostname to /etc/hosts
- (Change > Network Interfaces > Hostname/DNS)
- Name Server 1: 10.2.24.11
- Name Server 2: 65.125.146.66
- (Change > Firewall > Disable Firewall Automatic Starting)
- - configure novell customer stuff later
- - user/password: linecook
-
-When the server has rebooted and is ready at the login screen, remove the
-install iso, take a snapshot and setup port forwarding.
-
- (Devices > CD/DVD Devices > Remove disk from virtual drive)
- VBoxManage snapshot sles take RAW
- VBoxManage controlvm sles poweroff
- # wait to fully power off
- VBoxManage modifyvm sles --natpf1 'sles-ssh,tcp,,2223,,22'
- VBoxManage -q snapshot sles restore RAW
- VBoxManage startvm sles
-
-Transfer your ssh key to the vm. Help to generate ssh keys can be found on
-GitHub (http://help.github.com/key-setup-redirect):
-
- scp -P 2223 -o UserKnownHostsFile=/dev/null ~/.ssh/id_rsa.pub linecook@localhost:id_rsa.pub
-
-Login as root and setup su for the linecook user:
-
- vm: vi /etc/pam.d/su
-
- # insert:
- # auth sufficient pam_wheel.so trust
-
- vm: vi /etc/pam.d/su-l
-
- # insert:
- # auth sufficient pam_wheel.so trust
-
- vm: p=$(id -gn linecook)
- vm: g=$(id -Gn linecook | sed "s/$p //" | sed "s/ /,/g")
- vm: groupadd linecook
- vm: usermod -g linecook -G "wheel,$g" linecook
-
-Setup SSH for the linecook user:
-
- vm: su -l linecook
- vm: mkdir .ssh
- vm: mv id_rsa.pub .ssh/authorized_keys
- vm: chmod 0700 .ssh
- vm: chmod 0600 .ssh/authorized_keys
- vm: exit
- vm: exit
-
-Now take the standard snapshots:
-
- VBoxManage snapshot sles take BASE
- VBoxManage snapshot sles take CURRENT
- VBoxManage controlvm sles poweroff
-
-To cleanup the port forwarding (run later, if ever):
-
- VBoxManage modifyvm sles --natpf1 delete 'sles-ssh'
View
1  linebook.gemspec
@@ -30,7 +30,6 @@ Gem::Specification.new do |s|
HowTo/Switch\ Users
HowTo/Setup/Debian
HowTo/Setup/openSUSE
- HowTo/Setup/SLES
HowTo/Setup/Ubuntu
}
Please sign in to comment.
Something went wrong with that request. Please try again.