Further customization

1 Adapt hostname

To set a new hostname, edit /etc/hostname accordingly
(hostname only without domain!)

To activate: Logoff, logon

2 Adapt hosts file

If hosts is maintained in the network, maintain also on the cube to be able to use the names in scripts, etc…
File: /etc/host
Example:

127.0.0.1       localhost
10.0.0.101      vmlinuxdev.local.net vmlinuxdev
10.0.0.102      vmlinuxsap.local.net vmlinuxsap sap
10.0.0.1        router.local.net        router
10.0.0.2        private.local.net privat
10.0.0.3        office.local.net office
10.0.0.4        server.local.net server
10.0.0.5        nas.local.net   nas media

3 Adapt resolv.conf

Adapt resolv.conf as needed;
If using DHCP: Note that probably it gets overwritten again once the network comes up again and gets new DHCP data.

File: /etc/resolv.conf
Example:

search local.net
nameserver 10.0.0.1
nameserver 127.0.0.1

4 Adapt /etc/profile

One could add some additional aliases to the profile, which makes life often a bit easier.
File: /etc/profile
Example of add-on:

# some additional aliases
alias psg='ps -ef | grep'
alias bdf='df'
alias l='ls'
alias msgs='tail -n 50 -f /var/log/messages'

To activate: Logoff, logon

5 Helpful links

Some optional, but helpful links:

ln -s /usr/local/etc/dvdplayer/hdd/volumes/HDD1/ /link_disk_fat32
ln -s /usr/local/etc/dvdplayer/hdd/volumes/HDD2/ link_disk_ntfs
ln -s /usr/local/etc/hdd/dvdvr/DVD_RTAV /link_disk_record
ln -s /usr/local/etc/hdd/livepause/DVD_RTAV /link_disk_liverecord
ln -s /usr/lib/smb.conf /etc/smb.conf
page_revision: 2, last_edited: 1217516971|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License