mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-23 03:06:55 -04:00
Update setup.sh
This commit is contained in:
parent
c3f05de602
commit
8bbad5c5d0
1 changed files with 5 additions and 6 deletions
|
@ -8,11 +8,10 @@ clear
|
||||||
if [ $(id -u) -eq 0 ]; then
|
if [ $(id -u) -eq 0 ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability."
|
echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability."
|
||||||
echo " Create a new non-privileged user 'archivebox' if necessary. Instructions for Ubuntu/Debian:"
|
echo " Create a new non-privileged user 'archivebox' if necessary."
|
||||||
|
echo " adduser archivebox && usermod -a archivebox -G sudo && su archivebox"
|
||||||
echo " https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-20-04-quickstart"
|
echo " https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-20-04-quickstart"
|
||||||
echo " adduser archivebox"
|
echo " https://www.vultr.com/docs/create-a-sudo-user-on-freebsd"
|
||||||
echo " usermod -a archivebox -G sudo"
|
|
||||||
echo " su archivebox"
|
|
||||||
echo " Then re-run this script as the non-root user."
|
echo " Then re-run this script as the non-root user."
|
||||||
echo ""
|
echo ""
|
||||||
exit 2
|
exit 2
|
||||||
|
@ -154,7 +153,7 @@ fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "[+] Installing ArchiveBox and its dependencies using pip..."
|
echo "[+] Installing ArchiveBox and its dependencies using pip..."
|
||||||
python3 -m pip install --upgrade archivebox
|
python3 -m pip install --upgrade --ignore-installed archivebox
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "[+] Initializing ArchiveBox data folder at ~/archivebox..."
|
echo "[+] Initializing ArchiveBox data folder at ~/archivebox..."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue