developer.seed 7.02 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#Αδεια χρήσης GPL3
#Ρυθμίσεις Γραμμής Εντολών
d-i debian-installer/locale string el_GR.UTF-8
d-i debian-installer/keymap select en
d-i console-keymaps-at/keymap select en
d-i localechooser/supported-locales multiselect el_GR, en_US
d-i languagechooser/language-name-fb select Greek
#d-i console-setup/ask_detect boolean false
d-i countrychooser/country-name select Greece
d-i console-setup/layoutcode string gr_GR
d-i netcfg/get_hostname string OSDeveloperWorkstation
##d-i netcfg/get_domain string unassigned-domain

#Ρυθμίσεις Δικτύου
d-i netcfg/choose_interface select auto
#d-i netcfg/wireless_wep string

#d-i base-installer/kernel/override-image string linux-desktop
#d-i clock-setup/utc-auto boolean true


#Partitioning-Options, Partition-Editor (Ρυθμίσεις Διαμερισμάτων Δίσκου)
d-i partman-auto/method string regular
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true

d-i clock-setup/utc boolean true
d-i time/zone string Europe/Athens
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.ntua.gr

# User-Accounts (Ρυθμίσεις Χρηστών)
d-i passwd/root-login boolean false
#d-i passwd/root-password password ostdeveloper
#d-i passwd/root-password-again password ostdeveloper
#encrypted root password, uncomment
#d-i passwd/root-password-crypted password [MD5 hash]
# Alternatively, to skip creation of a normal user account.
#d-i passwd/make-user boolean false
# To create a normal user account.
d-i passwd/user-fullname string Open Source Developer
d-i passwd/username string ostdeveloper
# Normal user's password, either in clear text
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure
#encrypted user password,uncomment
d-i passwd/user-password-crypted password $6$r.diKFuYGn3/dzH$3lLOcr5rc.4YqO8IFMBo6WK/OhXGqQkTw2DE8spmpVfkyRFzg1qFCSUHDKaemMhSt8xHNmIC7EfHMZmC9HRBj1		

# APT-Options, Ρυθμίσεις APT
# You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/backports boolean true
d-i apt-setup/multiverse boolean true
d-i apt-setup/proposed  boolean true
d-i apt-setup/universe  boolean true
# Enable deb-src lines
d-i apt-setup/universe/source boolean true
# Uncomment this if you don't want to use a network mirror.
#d-i apt-setup/use_mirror boolean false
# Select which update services to use; define the mirrors to be used.
# Values shown below are the normal defaults.
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org
d-i apt-setup/security-updates boolean true
 
#d-i apt-setup/local0/source boolean false
#d-i apt-setup/local1/source boolean false
#d-i apt-setup/local2/source boolean false

# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
#d-i debian-installer/allow_unauthenticated boolean true
# Uncomment this to add multiarch configuration for i386
#d-i apt-setup/multiarch string i386


#Mirror Settings, Ρυθμίσεις Εξυπηρετητών Mirror διαδορετικών Εκδόσεων Λογισμικού για το σύστημα
# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp
d-i mirror/country string GR
d-i mirror/http/hostname string ftp.gr.debian.org
d-i mirror/http/directory string /debian
d-i mirror/suite string jessie
#d-i mirror/http/proxy string


#Install-Tasks, Ρυθμίσεις Εργασιών Εγκατάστασης
tasksel tasksel/first multiselect standard, gnome-desktop
#tasksel tasksel/first multiselect standard, desktop,gnome-desktop, laptop, ubuntu-desktop
d-i pkgsel/install-language-support boolean true
d-i pkgsel/language-pack-patterns string el_GR
d-i pkgsel/include string openssh-client openssh-server build-essential vim less default-jdk putty isomaster git rsync curl xterm x11-utils apache2 mysql-server mysql-client virtualbox php5 filezilla
d-i pkgsel/upgrade select safe-upgrade

#Boot-Installer, Ρυθμίσεις Εγκατάστασης Λογισμικού Εκκίνησης Λειτουργικού
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note

#Post-Installation Commands, Ρυθμίσεις σεναρίων προς εκτέλεση μετά την εγκατάσταση
#d-i preseed/late_command string in-target wget -P /tmp/ http://$server/skript.sh; in-target chmod +x /tmp/s
d-i preseed/late_command string \
  wget -O /target/tmp/sublime_text_3_build_3124_x64.tar.bz2 http://ostdev.minedu.gov.gr/~pgeorg/customDistros/developerEdition/sublime_text_3_build_3124_x64.tar.bz2 ; \
  wget -O /target/tmp/netbeans-8.1-linux.sh http://ostdev.minedu.gov.gr/~pgeorg/customDistros/developerEdition/netbeans-8.1-linux.sh ; \
  wget -O /target/tmp/developer-studio-eclipse-jee-luna-linux-gtk-x86_64-3.8.0.zip http://ostdev.minedu.gov.gr/~pgeorg/customDistros/developerEdition/developer-studio-eclipse-jee-luna-linux-gtk-x86_64-3.8.0.zip ; \
  wget -O /target/tmp/essentialfiles.tar.gz http://ostdev.minedu.gov.gr/~pgeorg/customDistros/developerEdition/essentialfiles.tar.gz ; \
  in-target tar xvf /tmp/essentialfiles.tar.gz -C /tmp/ ; \
  in-target mv /tmp/sources.list /etc/apt ; \
  in-target tar xjvf /tmp/sublime_text_3_build_3124_x64.tar.bz2 -C /tmp/ ; \
  in-target unzip /tmp/developer-studio-eclipse-jee-luna-linux-gtk-x86_64-3.8.0.zip -d /tmp/ ; \
  in-target mv /tmp/runme.sh /home/ostdeveloper/runme.sh ; \
  in-target chown ostdeveloper:ostdeveloper /home/ostdeveloper/runme.sh ; \
  in-target chmod +x /home/ostdeveloper/runme.sh ; \
  in-target mv /tmp/netbeans-8.1-linux.sh /home/ostdeveloper/netbeans-8.1-linux.sh ; \
  in-target chown ostdeveloper:ostdeveloper /home/ostdeveloper/netbeans-8.1-linux.sh ; \
  in-target chmod +x /home/ostdeveloper/netbeans-8.1-linux.sh ; \
  in-target cp /tmp/RunME.desktop /home/ostdeveloper/RunME.desktop ; \
  in-target cp /tmp/SubLime.desktop /home/ostdeveloper/SubLime.desktop ; \
  in-target cp /tmp/runmeBeforeNetBeans.desktop /home/ostdeveloper/runmeBeforeNetBeans.desktop ; \
  in-target cp /tmp/WSO2developerStudio.desktop /home/ostdeveloper/WSO2developerStudio.desktop  ; \
  in-target chown ostdeveloper:ostdeveloper /home/ostdeveloper/RunME.desktop ; \
  in-target chown ostdeveloper:ostdeveloper /home/ostdeveloper/SubLime.desktop ; \
  in-target chown ostdeveloper:ostdeveloper /home/ostdeveloper/runmeBeforeNetBeans.desktop ; \
  in-target chown ostdeveloper:ostdeveloper /home/ostdeveloper/WSO2developerStudio.desktop ; \
  in-target chmod +x /home/ostdeveloper/*.desktop ; \
  in-target chmod +x /tmp/postinstall.sh ; \
  in-target /bin/sh /tmp/postinstall.sh ; \
  in-target touch /root/postinstallationactions.done