Deleting the wiki page 'Install Guide Ubuntu Bionic' cannot be undone. Continue?
This guide will assume you are using Ubuntu 18.04 Bionic with a clean install
apt update; apt dist-upgrade apt install -y nginx nginx-common python-certbot-nginx git php7.2 memcached php-fpm php-memcached php-memcache php-mysql php-cli sphinxsearch libmcrypt-dev mcrypt php-apcu python-certbot-nginx php-mbstring php-gd fcgiwrap php-gettext php-curl php-zip php-dev php-xmlrpc php-imagick dbconfig-common dbconfig-mysql javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore php php-bz2 php-phpseclib php-tcpdf php php-bz2 composer sendmail rsync php7.2-mysql libboost-all-dev libev-dev mysql-server sendmail-bin libmysql-dev libmysqlclient-dev-compat libmysqlclient18 libmysql++*
systemctl restart php7.2-fpm
mkdir -p /var/www/tmp
git clone https://git.oppaiti.me/Oppaitime/Gazelle.git /var/www/tmp
rsync -a /var/www/tmp/ /var/www/oppaiti.me
rm -rf /var/www/tmp
mysql_secure_installation
mysql -u root
use mysql
update user set plugin=” where User=‘root’;
flush privileges;
exit
mysql -uroot -p < /var/www/gazelle.sql
double check settings in nginx
memcached -d -m 64 -s /run/memcached.sock -a 0777 -t16 -C -u root
systemctl restart nginx
If everything is filled in for the /var/www/classes/config.php the site should be visible There is a template /var/www/classes/config.template
Installing ocelot
Go to what ever your working directory is
git clone https://github.com/WhatCD/Ocelot.git
ln -s /usr/lib/x86_64-linux-gnu/ /usr/local/lib64
wget https://tangentsoft.com/mysqlpp/releases/mysql++-3.2.4.tar.gz tar -zxvf mysql++-3.2.4.tar.gz cd mysql++-3.2.4 ./configure make && make install
cd .. I also had to install http://ftp.us.debian.org/debian/pool/main/a/automake-1.15/automake_1.15-6_all.deb
./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
make
make install
screen -dms ocelot
screen -r ocelot
ocelot
exit screen by ctrl + a d
Having some trouble, files to cheat from:
ffb8a5fdad/examples.of.what.worked.for.me/etc/php/7.2/fpm/php.ini
213c8a719f/examples.of.what.worked.for.me/etc/nginx/sites-available/default
Deleting the wiki page 'Install Guide Ubuntu Bionic' cannot be undone. Continue?