Install Awstats on FreeBSD

October 24, 2007

1. Download & Config awstats [me@titik.org /usr/local/www/]# wget http://prdownloads.sourceforge.net/awstats/awstats-6.7.tar.gz [me@titik.org /usr/local/www/]# tar zxvf awstats-6.7.tar.gz [me@titik.org /usr/local/www/]# mv awstats-6.7/ awstats/ [me@titik.org /usr/local/www/]# cd awstats/tools/ [me@titik.org /usr/local/www/awstats/tools]# ./awstats_configure.pl

Read the full article →

Upgrade wordpress via ssh

October 10, 2007

1.Login via SSH to your host 2.Create abd Go to a temporary directory: cd /tmp (example) me@titik.org [~/www]# mkdir tmp me@titik.org [~/www]# cd tmp/ 3.Grab the latest WP archive: wget http://wordpress.org/latest.tar.gz 4.Extract the archive contents latest.tar.gz me@titik.org [~/www/spa/tmp]# wget http://wordpress.org/latest.tar.gz –15:28:54– http://wordpress.org/latest.tar.gz => `latest.tar.gz’ Resolving wordpress.org… 72.233.56.139, 72.233.56.138 Connecting to wordpress.org|72.233.56.139|:80… connected. HTTP request sent, [...]

Read the full article →

Patch Panel

October 6, 2007

A patch panel or patch bay is a panel, typically rackmounted, that houses cable connections. One typically shorter patch cable will plug into the front side, while the back will hold the connection of a much longer and more permanent cable. The assembly of hardware is arranged so that a number of circuits, usually of [...]

Read the full article →

Creating SSH banner

September 7, 2007

Create File banner ex : /etc/ssh/banner vi /etc/ssh/banner ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ` ` Access to this system by unauthorized users is prohibited. ` ` Anyone caught violating this will be prosecuted to the full extent of the law. ` ` All your activity will be record now ` ` If you have not been authorized to use [...]

Read the full article →

editing CMS error 406 Not Acceptable

September 5, 2007

Error after upgrade cPanel : “Not Acceptable An appropriate representation of the requested resource /id/administrator/index2.php could not be found on this server.” Solution : At the root of your CMS , locate the file .htaccess and add a line “SecFilterEngine off” without the quotes. Reference : http://www.contractwebdevelopment.com/ http://www.raymond.cc/

Read the full article →

Upgrade cPanel 11

September 5, 2007

1. wget http://layer1.cpanel.net/perl588installer.tar.gz 2. tar -zxvf perl588installer.tar.gz 3. cd perl588installer 4. ./install …………….. perlmod–Install done Tested 107, 107 ok, 0 failed. 5. /scripts/realperlinstaller YAML::Syck ……………….. YAML::Syck is up to date (0.97). perlmod–Install done 6. /scripts/realperlinstaller File::Copy::Recursive ……………….. File::Copy::Recursive is up to date (0.35). perlmod–Install done 7. /usr/local/cpanel/bin/checkperlmodules ……………. perlmod–Install done Tested 96, 96 ok, 0 [...]

Read the full article →

Send an email with your GMail account and CDO Components

July 18, 2007

<% Set objCDOSYSMail = Server.CreateObject(“CDO.Message”) Set objCDOSYSCon = Server.CreateObject (“CDO.Configuration”) objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/smtpserver”) = “smtp.gmail.com” objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 465 objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/smtpusessl”) = true objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/smtpauthenticate”) = 1 objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/sendusername”) = “myemailaccount” objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/sendpassword”) = “mypassword” objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2 objCDOSYSCon.Fields(“http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout”) = 60 objCDOSYSCon.Fields.Update Set objCDOSYSMail.Configuration = objCDOSYSCon objCDOSYSMail.From = “myemailaccount” objCDOSYSMail.To = “myfriend” objCDOSYSMail.Subject = “This is my subject for my test message [...]

Read the full article →

Stickies : Linux – FreeBSD commands

July 14, 2007

Disk, filesystem Disk usage {linux}$ du -sh {freebsd}$ du -sh Count subdirectories in current directory: {linux}$ du –max-depth=1 {freebsd}$ du -d1 Typical approach to find biggest directories/files on disk: {linux}$ du –max-depth=1 -kx|sort -n {freebsd}$ du -d1 -kx|sort -n Find some kinds of files (regex is a mask for full path, no need for begin/end [...]

Read the full article →

Stickies Today : How to change IP address on FreeBSD

July 14, 2007

1) Use ifconfig command as follows: ifconfig interface inet IP Example(s): ifconfig lnc0 inet 202.54.1.22 Note lnc0 is Ethernet interface name can be Obtained using ifconfig -a command. 2) To setup up ip permanently open file /etc/rc.conf ; add/modify network entries: vi /etc/rc.conf And setup values as follows: hostname=”fbsdx.test.com” ifconfig_lnc0=”inet 192.168.0.6 netmask 255.255.255.0″ Note ifconfig_lnc0 [...]

Read the full article →

file asp “The system cannot find the file specified”

June 30, 2007

Problems * file asp “The system cannot find the file specified” * Error ekseskusi file asp Error : Install Urlscan Security , lupa config urlscan.ini Solusi : Edit urlscan.ini [AllowExtensions] ; ; Extensions listed here are commonly used on a typical IIS server. ; ; Note that these entries are effective if “UseAllowExtensions=1″ ; is [...]

Read the full article →