Documente Academic
Documente Profesional
Documente Cultură
De la HostWiki
Configurare server
[editează]
Partitionare
/ 1GB
/tmp 2Gb
/usr 10Gb
/var 10Gb
/home restul hdd-ului
swap 2Gb
[editează]
Configurare Cpanel
Instalare aplicatii cu yum install app
o mc
o screen
Rulare screen
Instalare cpanel
o cd /home
o wget http://layer1.cpanel.net/latest
o sh latest
o ctrl + a + d (se iese din screen)
Obtinere licenta -> Stefan (optional)
Wizard
o
Configurare Cpanel
o accesare WHM prin https://ip:2087/ user:root pass: (parola_de_root...)
o Configurare Basic
o Server Contact E-Mail Address: servers@hostway.ro
o Default cPanel Theme x
o Default Home Directory /home
o Main Shared Virtual Host IP: ip host
o Hostname : -> verificare in lista de ip-uri si alegere un ipliber
o Edit DNS Zone pe serverul de la whois hostway.ro
o Adaug pt hostway nsx in A ip (2 ns-uri libere -verificare in lista de ip-uri)
o Domain Time To Live 14400
o Nameserver Time To Live 86400
o CGI Script Alias y
o Apache Access Log Style combined
Change root password
Time zone Bucharest/Eu
Tweak Settings
o number 50
o Allow Creation of Parked/Addon Domains that resolve to other servers
o Allow Creation of Parked/Addon Domains that are not registered
o Prevent users from parking/adding on common internet domains. (ie
hotmail.com, aol.com)
o blackhole
o Email users when they have reached 80% of their bandwidth
o Include a list of Pop before SMTP senders in the X-PopBeforeSMTP
header when relaying mail.
o BoxTrapper Spam Trap disable
o Horde Webmail
o Mailman - debifat
o SpamAssassin Spam Filter
o SpamAssassin Spam Box delivery for messages marked as spam (user
configurable)
o SquirrelMail Webmail
o Add the mail. prefix for mailman urls (ie
http://mail.domain.com/mailman)
o MySQL 4.1
o Mail Box Usage Warnings
o Disk Space Usage Warnings
o awstats bifat amandoua debifeaza restul (awstats reverse si awstats stats
bifat, analog stats si webalizer stats debifat)
o Allow users to update Awstats from cPanel
o Delete each domain's access logs after stats run
o The load average above the number of cpus at which logs file processing
should be suspended (default 0):100
o Do not include password in the raw log download link in cPanel (via ftp).
o When viewing bandwidth usage in WHM, always display in Megabytes
first.
o Allow Sharing Nameserver Ips
o Display Errors in cPanel instead of logging them to
/usr/local/cpanel/logs/error_log
o Allow cPanel users to reset their password via email
Update Config
o Manual Updates Only (peste tot)
Hostname ( de verificat daca s-a inregistrat corect)
Tweak Security
o php open_basedir Protection
o Enable php open_basedir Protection.
o mod_userdir Protection
o Enable mod_userdir Protection.
Change System Mail Preferences
o root's, nobody, cpanel mail servers@hostway.ro
Contact Manager
o Alert Priority Asessment -> all 3's
Service Manager
o debifat entropy, melange
o bifat monitor exim, ftp, http, imap, mysql, pop
Addon Modules pro, spamdconf, clamavconnector, modsecurity bifate
Install cPAddon Scripts toate bifate;;;
Apache Update
o bifat Gzip Module (experimental)
o php4 ultima vers
o curl amandoua, gd, imap, openssl, postgre optional, freetype, zip
[editează]
Configurari aditionale
in EXIM Configuration EDITOR trebuie debifata optiunea Use callouts to verify the
existence of email senders
[editează]
Conectare ssh
Apache
Scp
o mkdir -p /kit pe serverul nou instalat
o de copiat fisierul new_server_kit din 193.223.101.160 dir /kit pe serverul
nou creat in acelasi dir /kit prin scp
eaccelerator
make;
make install
zend_extension="/usr/local/eaccelerator/modules/eaccelerator.so"
eaccelerator.shm_size="128"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
gzip | gzip
[editează]
[editează]
[editează]
Configurare SNMP
[editează]
Configurare consola
[editează]