the correct time zone set
# ipkg install tzdata
# ipkg install tzdata-europe
# ln-s / usr / share / zoneinfo / Europe / Vienna / Etc / localtime
# unset TZ
locale specific default-moderate
samba stores files in utf8, so I would also like this format as a specific locale have. [Because of the Austrian character set is shown already in the ISO-8859-1, limited to setting a locale en_US ISO-8859-15 be built]
# ipkg install glibc-localedata-en-us
# ipkg install glibc-localedata -de-at + €
# ipkg install glibc-charmap-iso-8859-15
# ipkg install glibc-charmap-utf-8
# mkdir / usr / lib / locale
# localedef -i en_AU-f ISO-8859-15 en_AU
install additional software packages [crontab, time server, perl]
# ipkg install cron
# ipkg install ntp
is perl under slugos a chapter in itself and I will write a separate blog about it .
-
samba installation
adapt and configuration / etc / samba / smb.conf # ipkg install samba
# ipkg install cifs-doc - # ipkg install cifs
my modified settings to the default template [global]
workgroup = myWorkGroupName server string = myServerString security = user
hosts allow = myNetwork [192.168.0 127th], so my whole network 192.168.0 and localhost load printers = no printcap name = / dev / null
guest account = guest local master = no unix charset = ISO- 8859 1
... and then my share definitions [here one example] [p003876] comment =
p003876's home valid users = p003876 path = / Home/p003876 public = no - printable = no
caution: because security user, the user has both operating systems side [/ etc / passwd] and in the samba [/ usr / bin / smbpasswd] are created.
in / etc / init.d script control is the samba, which means stop lightgrey;}
“slugos from the scratch” – vorbereitung einer nlsu2 für samba und twonkymedia server [teil 1]
unslung war dennoch nicht meine wahl für meine erste slug, denn diese sollte zuminderst mehr als 2 festplatten verwalten können [zumal ein port bereits von einem memory stick, auf dem die root partition liegt, belegt ist]. Meine wahl fiel auf slugos/be -
disk2 port: usb-stick, 8gb, transcend jetflash v10 [r:10mb/s, w: 3MBytes / s] disk1 port: dlink hub dub-h7 / e - the installation procedure in detail:
is starting with #
upslug2 the firmware
slugos 4.8-beta release flashed . [Ssh is already part of the firmware]
after a successful reboot - partitioning the boot-devices [memory stick to port2]
/ dev/sda1 will be the recipients of the rootfs, / dev/sda2 is swap area, / dev/sda3 user data
disk initialization and rootfs-migration
# mkfs.ext3 / dev/sda1
# mkswap / dev/sda2
# Swapon / dev/sda2
# mkfs.ext3 / dev/sda3 #
turnup memstick-i / dev/hda1-t ext3
[the memstick option was chosen for the reason to avoid unnecessary logging accesses i / o cause waits by the slow memory stick. ! The / var and / tmp file system is located entirely in the RAM area]
save some memory. we have a serial terminal connected, as the slug has no serial interface. we can easily kill / sbin / getty. comment out of S: 2345: respawn: / sbin / getty ttyS0 115 200 in / etc / inittab # telinit q
writable = yes
[nachfolger von openslug], da hier bereits eine unterstützung von usb2.0 hubs im kernel [linux 2.6.21.7] gewährleistet ist. So ergibt sich folgendes hardware-layout für die portzuteilung der nlsu.
edit the / etc / fstab
adapt / etc / hosts and / etc / resolv.conf
installation udev [automatic mount of usb-devices behind the usb hub] < br/> # ipkg install udev
[usb hub is attached to port disk1, now I can manage up to seven behind usb devices. 3 available ext3 formatted hdisk be attached.] detrimental to the the automatic mount [device allocation and fs mount point] and their work around arbitrariness, I opt for the use of UUIDs.
# / lib / udev / vol_id-u DeviceName
- provides a unique uuid, which is taken into account in the / etc / fstab file. automatic mount products used by sd [bz] [1-9] in $ / prevent etc / udev / mount.blacklist. thus resulting in a rigid mapping of / dev/sdb1, / dev/sdc1 and / dev/sdd1 to the mount points / backup / multimedia and / data. therefore results in the new fstab
-
0 comments:
Post a Comment