Monday, June 11, 2012

vsftpd server

    
Install Vsftpd to configure FTP server to transfer files.
Install Vsftpd
[root@www ~]# yum -y install vsftpd
[root@www ~]# vi /etc/vsftpd/vsftpd.conf
# line 12: no anonymous
anonymous_enable=NO
# line 80,81: uncomment ( allow ascii mode )
ascii_upload_enable=YES
ascii_download_enable=YES
# line 95, 96: uncomment ( enable chroot )
chroot_local_user=YES
chroot_list_enable=YES
# line 98: uncomment ( specify chroot list )
chroot_list_file=/etc/vsftpd/chroot_list
# line 104: uncomment
ls_recurse_enable=YES
# add at the last line
# specify root directory ( if don't specify, users' home directory become FTP home directory)
local_root=public_html
# use localtime
use_localtime=YES
[root@www ~]#useradd -c "ftpuser only" -s /sbin/nologin -d /var/ftp/pub 
[root@www ~]#passwd kiran (set pasword for kiran)
[root@www ~]# vi /etc/vsftpd/chroot_list
# add users you allow to move over their home directory
kiran
[root@www ~]# /etc/rc.d/init.d/vsftpd start
Starting vsftpd for vsftpd: [  OK  ]
[root@www ~]# chkconfig vsftpd on

Saturday, June 2, 2012

Plone installation

Content Management Software : Plone

Before installing Plone on Linux, BSD or other Unix-like operating systems, you should make sure that you have the following packages installed:
cc
g++
GNU make
GNU tar
bzip2
gzip
libssl
readline


#Download flone from this page : http://plone.org/products

#cd to download directory.

[root@localhost ~]# cd /opt/
[root@localhost opt]# tar xzf Plone-4.1.4-UnifiedInstaller.tgz
[root@localhost opt]# cd Plone-4.1.4-UnifiedInstaller

The install.sh script install and build the python ,Zope, Plone

[root@localhost Plone-4.1.4-UnifiedInstaller]# ./install.sh zeo
ZEO Cluster Install selected

Detailed installation log being written to /opt/Plone-4.1.4-UnifiedInstaller/install.log

Root install method chosen. Will install for use by system user plone

Installing Plone 4.1.4 at /usr/local/Plone

Adding user account 'plone' to system ...
Compiling and installing jpeg local libraries ...
Skipping zlib build
Compiling and installing readline local libraries ...
Installing Python 2.6.7. This takes a while...
Patching for thread size
Installing distribute...
Python build looks OK.
Unpacking buildout cache to /usr/local/Plone/buildout-cache
Compiling .py files in egg cache
Copying Plone-docs
Generating random password ...
Your platform's xml2/xslt are missing or out-of-date. We'll need to build them.
Copying buildout skeleton
Fixing up bin/buildout
Building lxml with static libxml2/libxslt; this takes a while...
Building Zope/Plone; this takes a while...
Setting instance ownership to plone
Setting buildout cache ownership to plone

#####################################################################
######################  Installation Complete  ######################

Plone successfully installed at /usr/local/Plone
See /usr/local/Plone/zeocluster/README.html
for startup instructions

Use the account information below to log into the Zope Management Interface
The account has full 'Manager' privileges.

  Username: admin
  Password: MIiQnJr0

This account is created when the object database is initialized. If you change
the password later (which you should!), you'll need to use the new password.

- If you need help, ask the mailing lists or #plone on irc.freenode.net.
- The live support channel also exists at http://plone.org/chat
- You can read/post to the lists via http://plone.org/forums

- Submit feedback and report errors at http://dev.plone.org/plone
(For install problems, specify component "Installer (Unified)")

[root@localhost Plone-4.1.4-UnifiedInstaller]#service httpd restart

cd /usr/local/plone/zeo/bin/

./bin/plonectl start

Now i can access http://192.168.1.124:8080/Plonetest/

now click plone login and give the credintials.

Username: admin
Password: MIiQnJr0

The Plone is ready to modify according to your content management.