Compact3 (HostingInstallHowto)

Материал из ALT Linux Wiki
Версия от 19:48, 1 июля 2015; 37.190.59.145 (обсуждение)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
42px-Wikitext-ru.svg.png
Эту статью следует викифицировать.


Compact 3.0 Server Install HOWTO

  • burn given ISO image on CD-R, and boot from it.
  • press F3, select english
  • press F4, select native
  • from main menu select 'install' using arrow-keys or numpad.
  • press enter.
  • wait while installer is booting.
  • on a green screen choose your language.
  • on a license agreement click continue.
  • on the next screen, additional languages, just click next.
  • leave default keymap (US English).
  • wait until disk partitioning tool shows up.
  • create primary partition /boot, approx. 60-70mb.
  • create partition / as primary, approx. 2Gb.
  • create 2Gb swap as extended (choose filesystem — SWAPFS, and in advanced dialog choose type linux swap).
  • leave the rest of disk space untouched.
  • click next.
  • wait. wait. wait.
  • install bootloader on MBR (/dev/hda itself).
  • click next.
  • installer will setup base ALT Linux system automatically, this can take up to 30 minutes. so wait. wait. wait.
  • after basic install a green screen Enter new passsword for system administrator shows up.
  • enter password, press next.
  • add user u_admin with some password. press next. wait.
  • on packages installation screen, just press next again (openssh already installed).
  • configure interface: enter ip address, press apply.
  • press next, enter default route, primary and secondary everydns.
  • skip printers :)
  • select timezone, turn OFF synchronize with time server. click next.
  • on display properties: don’t touch anything, turn off start x11 on system booting. press next.
  • screen would blink until you’ll see green window with button yes. click it. press finish.

when you’ll see graphical logon screen, login as root. in xterm do:

  • chkconfig dm off
  • chkconfig xfs off
  • vim /etc/openssh/sshd_config, and change: PasswordAuthentication yes, PermitRootLogin yes
  • reboot. remove installation CD.
  • in boot menu, press F2 and choose english, select default boot record (ALT Linux), type in boot options:
  • 3 splash=verbose (or splash=native).
  • press enter.
  • login as root.
  • check network settings with ip addr sh; verify network connectivity, ping some host.
  • check that openssh is running with service sshd status
  • if possible, check from other host that root can log in over ssh.
  • give us u_admin and root passwords.

… а затем взять здесь правильный список пакетов и путем

rpm -qa --qf "%{NAME}\n" | sort -n > alt.current
apt-get remove `diff -Naur alt.clean alt.current | grep '^+' | grep -v '^+++' | cut -c 2- | grep -v kernel-image | xargs `
apt-get install man postfix util-vserver util-vserver-build kernel-image-vs26-smp