Hi, shape5' team. My english now very well, but I think, that people will understood me.
Use shape5' ones about 2 days, but understand, why the site is beginning to freeze after 2, 3 hours after install.
My test machine:
Ubuntu server 14.04.3 and all last updates for apache, php, mysql.
The shape, that I'd download and install, is going with Charlestown template. I had download it from Charlestown page as shape one (with joomla environment).
Create directory for.
site=charlestown
mkdir /home/ftp/$site
useradd $site -g web-developers -p 111 -d /home/ftp/$site -s /usr/sbin/nologin
chown $site:web-developers /home/ftp/$site
mkdir /home/ftp/$site/$site
chown -R $site:web-developers /home/ftp/$site
mkdir /var/www/$site
chown -R $site:web-developers /var/www/$site
passwd $site
there's I add pass. ok.
vim /etc/fstab
...
/home/ftp/charlestown/charlestown /var/www/charlestown none bind 0 0
..
mount -a
ok
chmod -w /home/ftp/$site
lftp
[email protected]test ok
copy shape' root into
[email protected]/charlestown/
ok
add temp permissions for installer
chown -R $site:web-developers /home/ftp/$site
chmod -R 777 /var/www/$site
Add mysql db as charlestowndb alias and user charlestown, as alias, in charlestowndb. ok. grant all permissions for charlestown user in charlestowndb.
run installer as go to
http://192.168.9.26/charlestown/ with safari.
set admin user alias and pass. set mysql user alias (charlestown) and pass, mysql db alias (charlestowndb) and pass and going next. The shape had installed and all're ok.
I go to control panel of that joomla, set time to europe/moscow, set time to live for session in cp and go site. All're working.
be close permissions
find /var/www/$site -type d -print0 | xargs -0 chmod 0755
find /var/www/$site -type f -print0 | xargs -0 chmod 0644
check site again. ok. I can going there.
After (about 3 hours) a go that site again. The home page was beginning about a minute or two. Than I go to server and check logs. tail /var/log/apache2/error.log was nothing saying me.
tail /var/log/apache2/access.log
192.168.9.2 - - [04/Feb/2017:14:31:01 +0300] "GET /charlestown/templates/charlestown/images/loading-bar-black.gif HTTP/1.1" 304 180 "http://192.168.9.26/charlestown/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12"
::1 - - [04/Feb/2017:14:31:09 +0300] "OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.20 mod_scgi/1.13 OpenSSL/1.0.1f (internal dummy connection)"
What must I watch else? can somebody saying? the home page of shape is loading about 1 or 2 minutes. very long time.
And yes! If I delete db and siteroot. After it, be make all again (install etc), so I watch, that site is working fine. After 3 hours I will watch problem again.