Step-by-Step CMS Install on Debian 8

Post

Posted
Rating:
Item has a rating of 5 (Liked by Adam Edington)
#915 (In Topic #194)
kmw
Avatar
Standard member
kmw is in the usergroup ‘Fan in action’

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

Online now: No Back to the top

Post

Posted
Rating:
#923
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Thanks for sharing that :).

Code

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

I think there is a rogue ";" there, commenting the line out.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,827 members
  • Our newest member is LowfareMart
Birthdays:
Back to Top