I recently performed a clean DA install on a new server to change an old machine and I found some interesting things that have perplexed me, if anyone can explain it, I'd appreciate it.
OS installed version: 'CentOS 6.5 Final' (32bits)
DA installed version: '1.46.3'
Custombuild version: '2.0'
As the installation is made
CentOS 6.5 minimum installation made with the help of a 'kickstart' script (written by me) that replaces my data center installed by default.
Partitions:
The rest of disk space is reserved for future expansion (LVM).
Kickstart disable 'selinux' and 'firewall' on install, options '--nobase' and '--exclude-docs' in package section, exclude from '@core' all wireless firmware and some packages not needed on a web server, disable IPv6 including '--disable-ipv6=1' on the kernel stanza of 'grub.conf', deleted '/var/tmp' and 'usr/tmp' and recreate it as links to '/tmp', modified 'tmpfs' to 'noexec,nosuid' and some more adjusts to hardening a bit the installation...
And after test for 'pre-install commands', I download using 'wget' the 'setup.sh' script and execute it.
And now the DirectAdmin related questions
The following questions are just curious
Thanks in advance for all that read this post and can answer any of the questions.
Ramón
OS installed version: 'CentOS 6.5 Final' (32bits)
DA installed version: '1.46.3'
Custombuild version: '2.0'
As the installation is made
CentOS 6.5 minimum installation made with the help of a 'kickstart' script (written by me) that replaces my data center installed by default.
Partitions:
Code:
Filesystem Mounted on Type Size Options
/dev/mapper/vg-root / ext4 10G defaults
/dev/sda1 /boot ext4 100M defaults
/dev/mapper/vg-home /home ext4 100G defaults,nosuid,usrquota,grpquota
/dev/mapper/vg-tmp /tmp ext4 2G defaults,noexec,nosuid
/dev/mapper/vg-usr /usr ext4 10G defaults
/dev/mapper/vg-var /var ext4 20G defaults
/dev/sda2 swap swap 2G defaults
Kickstart disable 'selinux' and 'firewall' on install, options '--nobase' and '--exclude-docs' in package section, exclude from '@core' all wireless firmware and some packages not needed on a web server, disable IPv6 including '--disable-ipv6=1' on the kernel stanza of 'grub.conf', deleted '/var/tmp' and 'usr/tmp' and recreate it as links to '/tmp', modified 'tmpfs' to 'noexec,nosuid' and some more adjusts to hardening a bit the installation...
And after test for 'pre-install commands', I download using 'wget' the 'setup.sh' script and execute it.
And now the DirectAdmin related questions
1. | Why is added 'usrquota,groupquota' to the '/' (root) partition in '/etc/fstab' if there is a operational '/home' partition ? When DA has complained that quotas did not exist I have had to manually fix the problem but I could not disable quotas on '/' partition. |
2. | Why is installed 'xinetd' if it is for nothing that I can see? Do not run any services not activated any services that controls by default ? |
3. | Why is installed 'proftpd' if 'CustomBuild' by default install 'Pure-ftpd' ? |
4. | Why 'named' (bind) is disabled as a service and why in the '/etc/init.d' directory there are two related 'named' files. ('named' and 'named-back') ? |
5. | Why is it necessary to create a 'startips' service when it is only used during the restart of the machine.? Perhaps it would be better to add an entry in cron using '@reboot' option. |
6. | Why the installation script does not use "./build create_options' from 'CustomBuild' to allow us to select the options you wish to enable or disable before launching the default installation ? |
7. | Why is it necessary to install "ncftp" if there are many packages in the distro itself that can perform the same function? |
8. | Is there any way to uninstall 'mailman' if not used? |
9. | Why has so little changed installation script over the years (more than I like to remember) since I bought the license? |
10. | Why the installation is still so poorly documented? To make a minimally successful installation remains necessary read many forum threads, the little explanatory instructions on the web and many pages of the knowledge base site. |
11. | Why has not been modernized a little the documentation of 'site-helper' website, at least to change the images to the ones of 'Enhaced' skin, which is selected by default? |
Ramón
Last edited: