Step-by-Step CMS Install on Debian 8

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by Adam Edington)
#965 (In Topic #244)
kmw

used turnkeylinux.org/lamp and cms tutorials

Download and install:  http://turnkeylinux.org/lamp  which i will refer to as "tkllamp"

When the install is done you should see a screen that gives you several applications based on the same IP address.

(Note) tkllamp is a server appliance and does not have a gui (x) interface to work with but does provide browser based access to:  Shell-In-A-B0x   Webmin and   Adminer

Browser to: <your ip>
click on Shell In A Box (icon) and login with the password you set as root in the installation process.

Goto  Webhosting link to Ubuntu/Debian: http://compo.sr/docs/tut-webhosting.htm#title__5

see but do not do all of them: apt-get install apache2 libapache2-mod-php5 php5 php5-common php5-cli php5-apcu php5-curl php5-enchant php5-ffmpeg php5-gd php5-imap php5-mysql php5-mysqlnd php5-pspell openssl mysql-server mysql-client postfix nano wget lynx hunspell git openssh-server nano

install the following packages: 

apt-get install php5-cli php5-apcu php5-curl php5-enchant php5-gd php5-imap hunspell git

from the above command, when it's done, you should get something like:
Counting objects: 1493, done.
Compressing objects: 100% (941/941), done.
Writing objects: 100% (1493/1493), done.
Total 1493 (delta 73), reused 1411 (delta 59)

Some lines in the default PHP ini (/etc/php5/apache2/php.ini) file need changing:
copy and paste or type onto the command line:
nano /etc/php5/apache2/php.ini 

scroll down the file and make the following 5 changes as follows:


[DATA HANDLING]
post_max_size = 16M → post_max_size = 500M

[PATHS/DIRECTORIES]
;extension_dir = "ext"
 → extension_dir = "/usr/lib/php5/20131226" (cd /usr/lib/php5 to find the numbered folder to use here)

[FILE UPLOADS]
upload_max_filesize = 2M
 → upload_max_filesize = 500M

[DATE]
;date.timezone = → date.timezone = "UTC" (to avoid errors on PHP startup)

[OPCACHE]
;opcache.enable=0 → ;opcache.enable=1

save and exit
ctrl X and type yes then hit return key

next restart apache2:
systemctl restart apache2.service

Now refer to the advance install tutorial page:
http://compo.sr/docs/tut-adv-install.htm#title__2

As root user change directory to /var/www
cd /var/www

Download the composr archive from the website
wget <url-to-composr-zip-file>
(this was a bit tricky because i was not able to find a zip file when I clicked on the download link I got:
http://compo.sr/site/dload.php?id=184  yes i got a file named: dload.php?id=184

Rename/Move dload.php?id=184 --> cms.tar.gz/
mv dload.php?id=184 cms.tar.gz

untared the file using:
tar -xvzf cms.tar.gz

make fixperms.sh executable
chmod +x fixperms.sh

Fix all the necessary file permissions:
./fixperms.sh

Goto: <ip address>/install.php and follow instructions.

Last edit: by kmw

Post

Posted
Rating:
#971
Thanks for sharing that :) .

Code

;opcache.enable=0 → ;opcache.enable=1

I think there is a rogue ";" there, commenting the line out.
0 guests and 0 members have recently viewed this.