Selalu lupa…. 1. Install ntp root@webmail:~# aptitude install ntp 2. Get date from mst.sirim.my ntpdate mst.sirim.my 3. Set script root@webmail:~# pico /skrip/takwin ################ cut here ################## #!/bin/bash ntpdate mst.sirim.my ################ cut here ################## 4. Set Cron root@webmail:~# crontab -u root -e */50 * * * * /skrip/takwin >/dev/null 2>&1 5. Run takwin root@webmail:~# /skrip/takwin 28 [...]
Archive for the ‘Debian’ Category
Date in ubuntu
Posted: October 28, 2011 in DebianTags: aptitude, install, mst, my, ntp, pico, sirim, skrip, takwin, ubuntu
I want to install Debian with basic GUI using GNOME. Without open office and others things. Genome Core Issued this command. apt-get update apt-get install xserver-xorg-core gdm gnome-core KDE Core issued this command apt-get update apt-get install xserver-xorg-core kdm kde-core Start the server using this command Gnome : /etc/init.d/gdm start KDE /etc/init.d/kdm start *** [...]
My Zimbra wont start … Check my zimbra server status i get this error: zimbra@webmail:tail /var/log/zimbra.log zmmtaconfig: Skipping All MTA Authentication Target URLs update. zmmtaconfig: Skipping getAllMtaAuthURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed) It’s happen when your server certificate expired…. (i know when i google [...]
Zentyal – Server Administrator Zentyal is Web Gui Server / firewall sush as pfsense , ClearOS and many more. The different about Zentyal (knows as e-box) is we can manual istall along with ubuntu 10.04 server editions. That what i did…Install it without GUI.. If somebody out there need install zentyal with gui you can [...]
Debian/Kfreebsd Source list. ############################################# deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp2.fr.debian.org/debian/ squeeze main contrib non-free deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free #############################################
This is simple code to grep file … This code using by other to grep squid configurations and other like apache.conf. # cat /etc/squid/squid.conf | sed ‘/ *#/d; /^ *$/d’ (thanks to kotnik for small sed trick) to safe file use this # cat /etc/squid/squid.conf | sed ‘/ *#/d; /^ *$/d’ > /etc/squid/squid.conf-new to view or search [...]
1. Install apache2-mpm-itk aptitude install apache2-mpm-itk 2. After Create user adduser WebAdmin **force user to use apache group usermod -g www-data WebAdmin 3. Add this line on vhost <IfModule mpm_itk_module> AssignUserId WebAdmin www-data </IfModule> 4. Chown folder to user chown WebAdmin:www-data /var/www/web/* -R 5. Reload apache service apache2 reload
Exporting Mysql database results in garbage characters ’
Posted: April 5, 2011 in archlinux, Debian, Joomla, Slackwaremysql -u username -p –default-character-set=utf8 “database” < backup.sql
THANKS TO BRO HARIS !!! Untuk high performance network rules dia :- 1) Pakai cat6 dan pastikan hubungan server dan switch menggunakan 1GB/s (Gigabit switch). 2) pakai OS 64bit 3) Perlu buat kernel tunning terutama TCP tunning, files limit dan process limit http://people.redhat.com/alikins/system_tuning.html http://www.performancewiki.com/linux-tuning.html Yang ni yang paling saya suka walaupun untuk Oracle http://www.puschitz.com/TuningLinuxForOracle.shtml
Secure your apache and php by hide information of it. for debian / ubuntu root@webserv# pico /etc/apache2/conf.d/security ServerTokens Prod ServerSignature Off after that for php5 root@webserv#/etc/php5/apache2/php.ini find expose_php and closed it (default is on) expose_php off root@webserv# /etc/init.d/apache2 restart For freebsd webserv# pico /usr/local/etc/apache22/httpd.conf ServerTokens Prod ServerSignature Off after that for php5 webserv# pico [...]

