From the category archives:

How To

Install Awstats on FreeBSD

by Perk1z on 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

[click to continue...]

Popularity: 44% [?]

{ 0 comments }

Upgrade wordpress via ssh

by Perk1z on 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, awaiting response… 200 OK
Length: unspecified [application/x-gzip]

[ <=> ] 870,766 11.39K/s

15:30:28 (9.17 KB/s) - `latest.tar.gz’ saved [870766]

[click to continue...]

Popularity: 39% [?]

{ 0 comments }

Creating SSH banner

by Perk1z on 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 this system, please disconnect now. `
` `
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Edit /etc/ssh/sshd_config

and insert :
Banner /etc/ssh/banner

quit and save

and then restart sshd
/etc/init.d/sshd restart

Done

Info : makjank

Popularity: 25% [?]

{ 0 comments }

Upgrade cPanel 11

by Perk1z on September 5, 2007

Cpanel

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 failed.
Reference :

http://www.cpanel.net/company/news/cpanel11.htm

http://www.cpanel.net/products/cPanelandWHM/linux/cpanel11/releasenotes.pdf

Popularity: 12% [?]

{ 0 comments }

Send an email with your GMail account and CDO Components

by Perk1z on 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 smtp gmail”
objCDOSYSMail.HTMLBody = “This is the body ”
objCDOSYSMail.Send
Set objCDOSYSMail = Nothing
Set objCDOSYSCon = Nothing
%>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<title>Email</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
</head>
<body>
Email has sent!
</body>
</html>

Popularity: 11% [?]

{ 0 comments }

Install FAlbum Plugin for Wordpress

by Perk1z on July 21, 2006

FAlbum - Adalah plugin Wordpress yang berfungsi untuk menampilkan diwebsite anda foto-foto yang telah diupload di Flickr

Catatan: Diasumsikan anda menggunakan wordpress, account Flickr anda sudah aktif dan fotonya sudah ada (diupload).
1. Download plugin FAlbum, dan extract di folder plugin wordpress anda. Biasanya ada di folder /public_html/wp-content/plugins/.

2. Setelah itu login ke wp admin anda dan aktifkan plugin FAlbum.

3. Lalu lakukan aktivasi plugin yang anda instal dengan account Flickr anda, dengan memilih menu Options ->:FAlbum dan ikuti petunjuk aktivasi yang ada

4. Write Page yang baru dan beri title ” gallery”.

5. Pilih Menu Options lalu pilih submenu Permalinks. Setelah itu Pilih Opsi Untuk permalinks Structure “Date anda name based” dan update permalinks structure anda.

6. Pada menu FAlbum Options, “Use Friendly URLs” pilih “false” dan isi URL Root-nya dengan “/wp-content/plugins/falbum/wp/album.php”.
Setelah itu update options.

7. Edit file .htaccess anda yang biasanya ada di folder public_html dan isikan dengan

# FAlbum
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^gallery?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$ /wp-content/plugins/falbum/wp/album.php?$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
</IfModule>

# WordPress Permalinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>

Selamat mencoba ….

Popularity: 7% [?]

{ 1 comment }