Commit 0901a1a0 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Install] fix debian & openStack adding ubuntu file for tests

parent 93e1c3ab
......@@ -21,20 +21,6 @@ sudo apt upgrade
sudo apt install tmux htop
########################################################################
tmux
########################################################################
# Open Stack only: attach volumes
# attach the volume created (OS interface or API)
sudo fdisk -l
sudo fdisk /dev/vdb (n,p,t,83,w)
sudo mkfs.ext4 /dev/vdb1
sudo blkid
# copy UUID in fstab (same parameters)
sudo vim /etc/fstab
########################################################################
sudo sed -i "s/stretch/buster/g" /etc/apt/sources.list
sudo apt update
sudo apt dist-upgrade
......@@ -44,22 +30,21 @@ sudo apt dist-upgrade
sudo apt update
sudo apt install liblzma-dev libpcre3-dev libblas-dev liblapack-dev pkg-config libgsl-dev libbz2-dev postgresql postgresql-server-dev-11 nginx libigraph0-dev libgfortran-8-dev
sudo apt install git
git config --global user.email "contact@gargantext.org"
git config --global user.name "Gargantua"
#git config --global user.email "contact@gargantext.org"
#git config --global user.name "Gargantua"
########################################################################
echo "Which user?"
read USER
USER="gargantua"
sudo adduser --disabled-password --gecos "" $USER
cd /home
sudo mv -if /home/$USER /srv/
sudo ln -s /srv/$USER
########################################################################
#cd /home
#sudo mv -if /home/$USER /srv/
#sudo ln -s /srv/$USER
curl -sSL https://get.haskellstack.org/ | sh
......
#!/bin/bash
########################################################################
# Open Stack only: attach volumes
# attach the volume created (OS interface or API)
sudo fdisk -l
sudo fdisk /dev/vdb (n,p,t,83,w)
sudo mkfs.ext4 /dev/vdb1
sudo blkid
# copy UUID in fstab (same parameters)
sudo vim /etc/fstab
########################################################################
sudo sed -i "s/stretch/buster/g" /etc/apt/sources.list
sudo apt update
sudo apt dist-upgrade
# sudo reboot #recommended
########################################################################
This diff is collapsed.
......@@ -21,14 +21,12 @@ module Gargantext.Prelude.Crypto.Pass.Machine
import Data.List (nub)
-- import System.Environment (getArgs)
-- import System.IO (hSetEcho)
import Data.Text (Text)
import Control.Monad.State
import Crypto.Random (cprgGenerate)
import Crypto.Random.AESCtr
import Data.Binary (decode)
import Prelude
import qualified Data.ByteString.Lazy as B
import Gargantext.Prelude (cs)
import Data.ByteString as S (ByteString, unpack)
import Data.ByteString.Char8 as C8 (pack)
import Data.Char (chr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment