Debian 8 – MaarchRM
par nadmin · 6 mars 2018
nano /etc/network/interfaces
nano /etc/resolv.conf
ping google.fr
shutdown -h now
passwd
apt-get install apache2
a2enmod rewrite
a2enmod env
service apache2 restart
apt-get install wget
apt-get update && apt-get upgrade && apt-get dist-upgrade -y
nano /etc/apt/sources.list
apt-get update && apt-get upgrade && apt-get dist-upgrade -y
echo "deb http://packages.dotdeb.org jessie all" > /etc/apt/sources.list.d/dotdeb.list
wget https://www.dotdeb.org/dotdeb.gpg && apt-key add dotdeb.gpg
apt-get update
apt-get --purge remove php5*
apt-get install php7.0
apt-get install php7.0-mcrypt
apt-get install php7.0-pdo
apt-get install php7.0-pdo-pgsql
apt-get install php7.0-xsl
apt-get install p7zip-full
apt-get install default-jre
apt-get install git
useradd -m -g www-data maarch
export APACHE_RUN_USER=maarch
apache2ctl configtest
service apache2 configtest
service apache2 status
apt-get install postgresql-9.4
cd /var/www
git clone https://labs.maarch.org/maarch/maarchRM.git laabs
mkdir -p /var/www/laabs/web/public/dependency
cd /var/www/laabs/web/public/dependency
ln -s /usr/bin/7z 7z
mkdir -p /var/www/laabs/data/maarchRM/repository/archives_1
mkdir -p /var/www/laabs/data/maarchRM/repository/archives_2
cd /var/www
chown -R maarch:www-data laabs/
chmod -R 775 laabs/
psql
su postgres
/etc/init.d/postgresql restart
psql
su postsgres
su postgres
cd /var/www/laabs/data/maarchRM/batch/pgsql
./schema.sh -u=maarch -h=5432 -d="maarchRM" -h=127.0.0.1
./data_fr.sh -u=maarch -h=5432 -d="maarchRM" -h=127.0.0.1
cd /var/www/laabs/data/maarchRM/conf/
cp /var/www/laabs/data/maarchRM/conf/configuration.ini.default /var/www/laabs/data/maarchRM/conf/configuration.ini
cp /var/www/laabs/data/maarchRM/conf/confvars.ini.default /var/www/laabs/data/maarchRM/conf/confvars.ini
cp /var/www/laabs/data/maarchRM/conf/vhost.conf.default /var/www/laabs/data/maarchRM/conf/vhost.conf
nano /etc/apache2/sites-available/000-default.conf
nano /var/www/laabs/data/maarchRM/conf/vhost.conf
service apache2 restart
systemctl status apache2.service
nano /etc/apache2/ano /etc/apache2/sites-available/000-default.conf
nano /etc/apache2/sites-available/000-default.conf
journalctl -xn
nano /var/www/laabs/data/maarchRM/conf/vhost.conf
nano /etc/apache2/sites-available/000-default.conf
service apache2 restart
service apache2 status
nano confvars.ini
nano /etc/hosts
ifconfig
sync; echo 3 > /proc/sys/vm/drop_caches
history
Voir également :
https://docs.maarch.org/gitbook/html/maarchRM/3.0/
https://docs.maarch.org/gitbook/html/maarchRM/3.0/conf/requirements.html
https://docs.maarch.org/gitbook/html/maarchRM/2.4/conf/setup.html
Commentaires récents