Установка RDS

Материал из EniseyName.

(Различия между версиями)
Перейти к: навигация, поиск
Версия 15:54, 21 декабря 2012 (править)
Admin (Обсуждение | вклад)
(Настройка ROSA Enterprise Linux Server "Helium" 2012)
← К предыдущему изменению
Версия 16:13, 21 декабря 2012 (править) (отменить)
Admin (Обсуждение | вклад)

К следующему изменению →
Строка 98: Строка 98:
10. Обновляем систему 10. Обновляем систему
 +
 +
 +== ROSA Server Setup ==
 +
 +11. Запускаем установку ROSA Server Setup
 +
 +
 +
 +12. настройка DHCP в файле dhcpd.conf
 +
 +
 +ddns-update-style ad-hoc;
 +ldap-server "localhost";
 +ldap-port 389;
 +ldap-username "uid=LDAP Admin,ou=System Accounts,dc=ist,dc=kgau,dc=ru";
 +ldap-password "ltymvjhjpf";
 +ldap-base-dn "dc=ist,dc=kgau,dc=ru";
 +ldap-dhcp-server-cn "ist.kgau.ru";
 +ldap-method dynamic;
 +ldap-debug-file "/var/log/dhcp-ldap-startup.log";
 +
 +subnet 192.168.100.0 netmask 255.255.255.0 {
 + # default gateway
 + option routers 192.168.100.200;
 + option subnet-mask 255.255.255.0;
 +
 + option domain-name "srds";
 +
 + # Seting up an ip address is better here
 + option domain-name-servers ns.domain.org;
 + option nis-domain "domain.org";
 +
 + range 192.168.100.1 192.168.100.40;
 + default-lease-time 21600;
 + max-lease-time 43200;
 +
 + option netbios-name-servers 192.168.100.250;
 + option netbios-dd-server 192.168.100.250;
 + option netbios-node-type 8;
 +
 + # we want the nameserver to appear at a fixed address
 + #host ns {
 + # next-server fixed.mandrakesoft.com;
 + # hardware ethernet 12:34:56:78:AB:CD;
 + # fixed-address 192.168.0.10;
 + #}
 +}
 +
 +
 +== Подключение рабочих станций Windows XP ==
 +
 +13. Редактируем файл /etc/samba/smb.conf
 +
 +[global]
 +workgroup = srds
 +netbios name = srrds
 +server string = Server - SAMBA %v
 +null passwords = yes
 +name resolve order = bcast host
 +domain logons = yes
 +domain master = yes
 +
 +time server = yes
 +wins support = yes
 +
 +printing = cups
 +printcap name = cups
 +
 +# profiles #
 +logon path = \\%N\profiles\%U
 +#logon path = ""
 +logon script = logon.bat
 +
 +map acl inherit = yes
 +inherit acls = yes
 +inherit permissions = yes
 +nt acl support = yes
 +force unknown acl user = yes
 +
 +passdb backend = ldapsam:ldap://127.0.0.1/
 +ldap admin dn = uid=LDAP Admin,ou=System Accounts,dc=ist,dc=kgau,dc=ru
 +ldap suffix = dc=ist,dc=kgau,dc=ru
 +ldap group suffix = ou=Group
 +ldap user suffix = ou=People
 +ldap machine suffix = ou=Hosts
 +ldap idmap suffix = ou=Idmap
 +ldap passwd sync = no
 +
 +idmap backend = ldap:ldap://127.0.0.1/
 +idmap uid = 20000-30000
 +idmap gid = 20000-30000
 +
 +enable privileges = yes
 +add machine script = /usr/lib/mmc/add_machine_script '%u'
 +add share command = /usr/lib/mmc/add_change_share_script
 +delete share command = /usr/lib/mmc/delete_share_script
 +add printer command = /usr/lib/mmc/add_printer_script
 +deleteprinter command = /usr/lib/mmc/delete_printer_script
 +os level = 255
 +
 +[homes]
 +comment = Home directories
 +browseable = no
 +writeable = yes
 +create mask = 0700
 +directory mask = 0700
 +
 +[public]
 +comment = Public share
 +path = /home/samba/shares/public
 +browseable = yes
 +public = yes
 +writeable = yes
 +
 +[archives]
 +comment = Backup share
 +path = /home/archives
 +browseable = yes
 +public = no
 +writeable = no
 +
 +[printers]
 +comment = All printers
 +path = /var/spool/samba
 +public = yes
 +guest ok = yes
 +browseable = no
 +writeable = no
 +printable = yes
 +
 +[print$]
 +comment = Printer Driver Download Area
 +path = /var/lib/samba/printers
 +browseable = no
 +guest ok = yes
 +read only = yes
 +write list = +"Print Operators"
 +force group = "Print Operators"
 +create mask = 0775
 +directory mask = 0775
 +
 +[netlogon]
 +comment = Network Logon Service
 +path = /home/samba/netlogon
 +guest ok = yes
 +browseable = no
 +
 +# profiles #
 +[profiles]
 +path = /home/samba/profiles
 +writeable = yes
 +create mask = 0700
 +directory mask = 0700
 +browseable = no
 +
 +
 +13. Редактируем файд /etc/lmhosts
 +
 +127.0.0.1 localhost
 +
 +127.0.0.1 srrds
 +
 +192.168.100.250 srrds

Версия 16:13, 21 декабря 2012

Содержание

Установка ROSA Enterprise Linux Server "Helium" 2012

1. Скачать ROSA Enterprise Linux Server "Helium" 2012 можно с сайта компании «РОСА»:

http://mirror.rosalab.ru/rosa-server2012/iso/ROSA-Server-2012-i386-DVD.iso

2.Как и в RHEL6, с флешки грузится только образ для сетевой установки (netinst).

http://mirror.rosalab.ru/rosa-server2012/iso/ROSA-Server-2012-i386-netinst.iso

3. Для запись образа на Flash используем комнаду dd

dd if=ROSA-Server-2012-i386-netinst.iso of=/dev/sdb bs=1MB

4. Записанный DVD скопировал на внешний жеский диск на 192.168.100.252

5. Устанавливаем систему c flash (netinst)

Методы установки

Форум

Настройка ROSA Enterprise Linux Server "Helium" 2012

6. Не получается с помощью NetworkManager настроить сетевую карту. Поэтому редактируем файл /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

ONBOOT=yes

NETMASK=255.255.255.0

IPADDR=192.168.100.250

TYPE=Ethernet

PREFIX=24

GATEWAY=192.168.100.200

DEFROUTE=yes

IPV4_FAILURE_FATAL=yes

IPV6INIT=no

NAME="System eth0"

UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03

HWADDR=00:80:48:39:0C:09

DNS1=192.168.101.226

LAST_CONNECT=1355639825

Настройка сети в Red Hat Enterprise Linux 4.0

7. Редактируем файл /etc/yum.conf для доступа к репозиториям через прокси-сервер

[main]

cachedir=/var/cache/yum/$basearch/$releasever

keepcache=0

debuglevel=2

logfile=/var/log/yum.log

exactarch=1

obsoletes=1

gpgcheck=1

plugins=1

installonly_limit=3

proxy=http://192.168.100.200:3128/

proxy_username=55

proxy_password=wfhbwfFyfcnfcbz

8. Настраиваем hostname /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

192.168.100.250 ist.kgau.ru

Setting The Hostname

9. Редактируем файл /boot/grub/grub.conf для загрузки нескольких операционных систем

10. Обновляем систему


ROSA Server Setup

11. Запускаем установку ROSA Server Setup


12. настройка DHCP в файле dhcpd.conf


ddns-update-style ad-hoc; ldap-server "localhost"; ldap-port 389; ldap-username "uid=LDAP Admin,ou=System Accounts,dc=ist,dc=kgau,dc=ru"; ldap-password "ltymvjhjpf"; ldap-base-dn "dc=ist,dc=kgau,dc=ru"; ldap-dhcp-server-cn "ist.kgau.ru"; ldap-method dynamic; ldap-debug-file "/var/log/dhcp-ldap-startup.log";

subnet 192.168.100.0 netmask 255.255.255.0 { # default gateway option routers 192.168.100.200; option subnet-mask 255.255.255.0;

option domain-name "srds";

# Seting up an ip address is better here option domain-name-servers ns.domain.org; option nis-domain "domain.org";

range 192.168.100.1 192.168.100.40; default-lease-time 21600; max-lease-time 43200;

option netbios-name-servers 192.168.100.250; option netbios-dd-server 192.168.100.250; option netbios-node-type 8;

# we want the nameserver to appear at a fixed address #host ns { # next-server fixed.mandrakesoft.com; # hardware ethernet 12:34:56:78:AB:CD; # fixed-address 192.168.0.10; #} }


Подключение рабочих станций Windows XP

13. Редактируем файл /etc/samba/smb.conf

[global] workgroup = srds netbios name = srrds server string = Server - SAMBA %v null passwords = yes name resolve order = bcast host domain logons = yes domain master = yes

time server = yes wins support = yes

printing = cups printcap name = cups

  1. profiles #

logon path = \\%N\profiles\%U

  1. logon path = ""

logon script = logon.bat

map acl inherit = yes inherit acls = yes inherit permissions = yes nt acl support = yes force unknown acl user = yes

passdb backend = ldapsam:ldap://127.0.0.1/ ldap admin dn = uid=LDAP Admin,ou=System Accounts,dc=ist,dc=kgau,dc=ru ldap suffix = dc=ist,dc=kgau,dc=ru ldap group suffix = ou=Group ldap user suffix = ou=People ldap machine suffix = ou=Hosts ldap idmap suffix = ou=Idmap ldap passwd sync = no

idmap backend = ldap:ldap://127.0.0.1/ idmap uid = 20000-30000 idmap gid = 20000-30000

enable privileges = yes add machine script = /usr/lib/mmc/add_machine_script '%u' add share command = /usr/lib/mmc/add_change_share_script delete share command = /usr/lib/mmc/delete_share_script add printer command = /usr/lib/mmc/add_printer_script deleteprinter command = /usr/lib/mmc/delete_printer_script os level = 255

[homes] comment = Home directories browseable = no writeable = yes create mask = 0700 directory mask = 0700

[public] comment = Public share path = /home/samba/shares/public browseable = yes public = yes writeable = yes

[archives] comment = Backup share path = /home/archives browseable = yes public = no writeable = no

[printers] comment = All printers path = /var/spool/samba public = yes guest ok = yes browseable = no writeable = no printable = yes

[print$] comment = Printer Driver Download Area path = /var/lib/samba/printers browseable = no guest ok = yes read only = yes write list = +"Print Operators" force group = "Print Operators" create mask = 0775 directory mask = 0775

[netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = yes browseable = no

  1. profiles #

[profiles] path = /home/samba/profiles writeable = yes create mask = 0700 directory mask = 0700 browseable = no


13. Редактируем файд /etc/lmhosts

127.0.0.1 localhost

127.0.0.1 srrds

192.168.100.250 srrds

Личные инструменты