Checking system default VM setting using sysctl
Some of the VM settings for the kernel can be changed using sysctl. Here is a listing of the default settings for a system on 2.6.27
root@dell:~# sysctl -a |grep vm
vm.overcommit_memory = 0
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 10
vm.dirty_ratio = 40
vm.dirty_writeback_centisecs = 499
vm.dirty_expire_centisecs = 2999
vm.nr_pdflush_threads = 2
vm.swappiness = 60
vm.nr_hugepages = 0
vm.hugetlb_shm_group = 0
vm.hugepages_treat_as_movable = 0
vm.nr_overcommit_hugepages = 0
vm.lowmem_reserve_ratio = 256 32 32
vm.drop_caches = 0
vm.min_free_kbytes = 2033
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65536
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 100
vm.legacy_va_layout = 0
vm.stat_interval = 1
vm.mmap_min_addr = 0
vm.vdso_enabled = 2
vm.highmem_is_dirtyable = 0
Installing C++ preprocessor in DirectAdmin
If you encounter this error message, this would imply that you do not have g++ installed:
checking whether we are using the GNU C++ compiler… no
checking whether g++ accepts -g… no
checking dependency style of g++… none
checking how to run the C++ preprocessor… /lib/cpp
*** The make has failed, do you want to try to make again? (y,n):
The gcc-c++ rpm and all it’s dependancies are required to resolve the issue.
Some dependancies include:
libstdc++-devel
libstdc++
If you have up2date, simply run:
or
Source include: http://directadmin.com/
If you have an RSA PRIVATE KEY then you would have a password encrypted key.
This will not work with DirectAdmin since it would require someone to type in a password each time apache restarts.
You do not have to start over, you can convert this password protected key into a normal key by typing:
openssl rsa -in /path/to/your/key -out /the/new/key
where you’d replace the bold values with appropriate values.
This will ask you for the password you specified when you created the original key.
It will then create a non-password-protected key that you can use for DA.
Source: http://directadmin.com/