Selamat datang di blog dengan postingan jarang alias musiman.. saat ini saya disibukan dengan aktivitas mengelola beberapa website seperti iklan baris, hosting, dll. Jadi harap Maklum yo kalo jarang banget di update ini blog.... BTW thanks udah sudi mampir :D

Saturday, October 16, 2010

Install Proftpd di centos

Pertama

yum remove vsftpd

Lalu

yum install gcc-c++ (buat ./configure)

Download dan Install proftpd dari ftp://ftp1.ca.proftpd.org/pub/proftpd/devel/

cd /usr/local/src/
wget http://www.mirrorservice.org/sites/ftp.proftpd.org/historic/source/proftpd-1.3.1.tar.gz
tar xvfz proftpd-1.3.1.tar.gz
cd proftpd-1.3.1/
./configure --sysconfdir=/etc
make
make install
cd ..
rm -fr proftpd-1.3.1*
 
Bikin symlink di /usr/sbin

ln -s /usr/local/sbin/proftpd /usr/sbin/proftpd


Script init.d


wget http://ymgen.com/proftpd.init -O /etc/init.d/proftpd


 


chmod 755 /etc/init.d/proftpd


Konfigurasi

Ubah tambahkan konfigurasi berikut ke file konfigurasi proftpd di /etc/proftpd.conf;

Group                           nobody

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
 

chkconfig --levels 235 proftpd on

/etc/init.d/proftpd start

Install nginx di centos

Masuk langsung ke http://wiki.nginx.org/Install ambil source lalu download ke server…

./configure
make
sudo make install


Setelah beres bikin init.d buat nginx nya



sudo kill `cat /usr/local/nginx/logs/nginx.pid`


sudo nano /etc/init.d/nginx


 



#!/bin/sh
#
# nginx - this script starts and stops the nginx daemin
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /usr/local/nginx/conf/nginx.conf
# pidfile: /usr/local/nginx/logs/nginx.pid

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 0

nginx="/usr/local/nginx/sbin/nginx"
prog=$(basename $nginx)

NGINX_CONF_FILE="/usr/local/nginx/conf/nginx.conf"

lockfile=/var/lock/subsys/nginx

start() {
[ -x $nginx ] || exit 5
[ -f $NGINX_CONF_FILE ] || exit 6
echo -n $"Starting $prog: "
daemon $nginx -c $NGINX_CONF_FILE
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}

stop() {
echo -n $"Stopping $prog: "
killproc $prog -QUIT
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}

restart() {
configtest || return $?
stop
start
}

reload() {
configtest || return $?
echo -n $"Reloading $prog: "
killproc $nginx -HUP
RETVAL=$?
echo
}

force_reload() {
restart
}

configtest() {
$nginx -t -c $NGINX_CONF_FILE
}

rh_status() {
status $prog
}

rh_status_q() {
rh_status >/dev/null 2>&1
}

case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart|configtest)
$1
;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status)
rh_status
;;
condrestart|try-restart)
rh_status_q || exit 0
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}"
exit 2
esac




Terus :


sudo chmod +x /etc/init.d/nginx




dan :


sudo /sbin/chkconfig nginx on


 



Cek



sudo /sbin/chkconfig --list nginx
nginx 0:off 1:off 2:on 3:on 4:on 5:on 6:off


 



Beres.. :D

Thursday, October 14, 2010

Some Core Files for VirtueMart are missing, but they are required for installing and running VirtueMart.

Some Core Files for VirtueMart are missing, but they are required for installing and running VirtueMart. If you see this message it’s recommended to attempt the Manual Installation of VirtueMart!

Click here to return to Joomla!

Coba dengan cara dibawah ini…

Deleted the files in:
/yoursite/administrator/components/com_virtuemart   and�
/yoursite/components/com_virtuemart
run Install/uninstall from Joomla(to remove virtuemart from components listing- you will get an error here:)- it’s OK)
Installed the pakage again
Got to the point where it says “The first step of the installation was successful”
NOW DON’T CLICK on install sample data or go directly to shop YET.
Chmod the directories:(use joomlaXplorer or FTP)
/yoursite/administrator/components/com_virtuemart   and�
/yoursite/components/com_virtuemart   to 777
Now click on ” go directly to shop” or ” install sample data”
(don’t forget to chmod them back to 755 after install)

Instalasi kudu diulang hehehe