Gallery 3 @SME Server 8.0 (beta)

After fresh install SME Server 8.0 (beta) you update your server by typed this command :

# yum update

when it finish you may reboot your system n update it by do this comman

#signal-event post-upgrade; signal-event reboot

it may take less a minute depend on your server, ok let’s get it down to install your gallery 3, but now prepare your server by doing this step

  1. Create your database by doing this command : # mysqladmin -uroot create photo .  By type that command means, you just created database with named photo
  2. Ok, next step is, create mysql privilege for “photo” database that already you created by type this command : #mysql photo -uroot -e”GRANT ALL ON photo.* TO photo@localhost IDENTIFIED BY ‘YOUR PASSWORD'”
  3. Now make a Ibays by named photo
  4. Create var directory in Ibays photo folder : # mkdir /home/e-smith/files/ibays/photo/html/var. This folder function are restore a files.
  5. Now change the permission : # chmod 755 /home/e-smith/files/ibays/photo/html/var.
  6. modified it by this command : #db accounts setprop photo PHPBaseDir /home/e-smith/files/ibays/photo:/tmp:/usr/bin and this command : #signal-event ibay-modify photo
  7. now download and install the packages by type this command : # yum install SDL
    mkdir ffmpeg
    cd ffmpeg
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/ffmpeg-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libavcodec52-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libavdevice52-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libavfilter1-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libavformat52-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libavutil50-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libdc1394_22-2.0.2-11.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libfaac0-1.28-6.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libgsm1-1.0.13-2.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libmp3lame0-3.98.4-22.el5.i386.rpm
    wget http://dl.atrpms.net/el4-i386/atrpms/stable/libogg0-1.2.0-10.el4.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libopencore-amrnb0-0.1.2-2.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libopencore-amrwb0-0.1.2-2.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libpostproc51-0.6.1-42_git20110322.el5.i386.rpm
    wget http://mirror.centos.org/centos/5/os/i386/CentOS/libraw1394-1.3.0-1.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/librtmp0-2.3-1.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libswscale0-0.6.1-42_git20110322.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/testing/libtheoradec1-1.1.1-13.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/testing/libtheoraenc1-1.1.1-13.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libva-0.32.0.2_1-0.32.0-4_sds2.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libvorbis0-1.2.3-6.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libvorbisenc2-1.2.3-6.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libx264_114-0.114-15_20110308.2245.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libxvidcore4-1.2.2-14.el5.i386.rpm
    wget http://dl.atrpms.net/el5-i386/atrpms/stable/libxavs1-0.1.51-2.el5.i386.rpm
    yum localinstall *
  8. Now download the gallery files by click this link or you can download it use wget command
  9. Extract it by : # tar xfvz “package name” then move to Ibays/photo/html “not a folder”
  10. Set all file to user www : chown -R www:www /home/e-smith/files/ibays/photo/html/*
  11. Then : follow this command
  12. # db configuration setprop php MemoryLimit 128M
    # db configuration setprop php PostMaxSize 112M
    # db configuration setprop php UploadMaxFilesize 96M
    # expand-template /etc/php.ini
    # sv t httpd-e-smith
  13. Now open the browser and point the browser to http:<ip>/photo
  14. Follow the instruction by full fill the field

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s