image

Customize LAMP Stack Configuration

[<Back>] [<Edit>]

LAMP Stack for a Media Server aka PhiloCast

Environment: uBuntu Server 64bit all update installed.

Install Steps.
----------------------Apt-Get----
sudo apt-get update
sudo apt-get upgrade

sudo apt-get -y install  build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev ffmpeg2theora  php-pear php5-gd ffmpeg php5-ffmpeg lynx yum cpulimit gawk lsb-release usbmount mdadm perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl subversion libapache2-svn oggz-tools imagemagick bmon php5-mcrypt mcrypt php5-ldap


pear install Mail
pear install Net_SOCKET
pear install Net_SMTP

-----------------------------------------

----------------------Restore SQL----
mysql -uroot -p<pass> < restore_file.sql
-----------------------------------------

----------------------Config-Files----
#modify php.ini for upload size.
/etc/php5/apache2/php.ini (POST_MAX & UPLOAD MAX)
-----------------------------------------

----------------------CPU_Limit.sh---
http://ubuntuforums.org/showthread.php?t=992706
-------------------------------------------

----------------------clean_magicdir.sh---
#!/bin/sh 
find /var/www/magicdir/* -amin +60 -exec rm -rf {} ;
-------------------------------------------

---------------------- webmin module---
wget <file>.deb
dpkg -i <file>.deb
-------------------------------------------

---------------------- disable ipv6 ---
/etc/sysctl.conf
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
-------------------------------------------






By: Ted Simbajon





 
Instagram Stats
pinoy
my Kung Fu