installing_lucy_on_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
installing_lucy_on_linux [2018/03/12 10:21] – lucy | installing_lucy_on_linux [2022/06/22 12:37] (current) – lucysecurity | ||
---|---|---|---|
Line 23: | Line 23: | ||
The shell script will check if your system has already docker installed. If not, it will guide you through the installation process and install all necessary components automatically. | The shell script will check if your system has already docker installed. If not, it will guide you through the installation process and install all necessary components automatically. | ||
- | |||
- | ===== Can LUCY be installed on older Linux Kernel Version (< 3.10)? ===== | ||
- | |||
- | The older versions of the linux setup script (< 2.8) have been tested on Debian 7 (Wheezy), Debian 8 (Jessie), Ubuntu 12.04 and Ubuntu 14.04. As an additional requirement, | ||
Line 34: | Line 30: | ||
* **Make sure you use an updated list of repositories**: | * **Make sure you use an updated list of repositories**: | ||
* **Make sure you have the latest PEM files**: Run " | * **Make sure you have the latest PEM files**: Run " | ||
- | * **Make sure you have enough disk space in your temp drive**: Free some space by using " | + | * **Make sure you have enough disk space in your temp drive**: Free some space by using " |
Line 49: | Line 45: | ||
* openssl | * openssl | ||
* ca-certificates | * ca-certificates | ||
+ | * net-tools | ||
===== What are the hardware/ | ===== What are the hardware/ | ||
- | * TMP: You will need at least 1 GB Space in the tmp directory. Please | + | * TMP: You will need at least 2 GB Space in the tmp directory. Please |
* Other hardware requirements can be found [[hardware|here]] | * Other hardware requirements can be found [[hardware|here]] | ||
Line 59: | Line 56: | ||
===== Installation tutorial ===== | ===== Installation tutorial ===== | ||
- | 1) First of all, download the file that you are going to execute e.g. " | + | **Important notice:** |
+ | If you use a Red Hat Linux, before running the LUCY installation script, please deploy Docker manually.\\ | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | 1) First of all, download the file that you are going to execute e.g. " | ||
2) Secondly, open the Terminal from Menu " | 2) Secondly, open the Terminal from Menu " | ||
3) Now type cd to the directory where you downloaded the file.\\ | 3) Now type cd to the directory where you downloaded the file.\\ | ||
4) Then type chmod +x name_of_file.sh to make your file executable (example " | 4) Then type chmod +x name_of_file.sh to make your file executable (example " | ||
- | 5) Now type ./ | + | 5) Now type ./ |
- | 6) You will be asked if you want to install LUCY (Install LUCY (y/n)?) Please type " | + | 6) You will be asked if you want to install LUCY (Install LUCY (y/n)?) Please type " |
7) As soon as the installation is finished, the [[setup_script_tutorial|automatic setup script]] should start. | 7) As soon as the installation is finished, the [[setup_script_tutorial|automatic setup script]] should start. | ||
Line 92: | Line 94: | ||
===== Start the installation script manually after a successful installation ===== | ===== Start the installation script manually after a successful installation ===== | ||
- | Execute the command | + | Execute the command |
+ | **python / | ||
+ | |||
+ | or in LUCY > 2.8: \\ | ||
+ | **docker exec -it lucy /bin/bash** \\ | ||
+ | **python / | ||
Line 100: | Line 108: | ||
===== Uninstall LUCY ===== | ===== Uninstall LUCY ===== | ||
- | In 3.2 we will provide an uninstaller. For now if you want to remove LUCY you first need to get a list of all packages installed using $awk '/ | ||
+ | If you want to remove LUCY you first need to get a list of all packages installed using the command (which displays installed packages in historical order, and then purges the last packages): | ||
+ | < | ||
+ | awk '/ | ||
+ | </ | ||
+ | That list will enable you to remove the according packages. This method works for legacy installation method only. | ||
+ | For Docker-based installation you simply need to stop the container and remove it: | ||
+ | |||
+ | < | ||
+ | docker stop lucy | ||
+ | docker ps -a | ||
+ | docker container rm < | ||
+ | </ | ||
====== Frequently asked questions (FAQ) ====== | ====== Frequently asked questions (FAQ) ====== | ||
===== Which components are installed with the installer script? What modifications are made to Linux OS by the installer? ===== | ===== Which components are installed with the installer script? What modifications are made to Linux OS by the installer? ===== | ||
When Lucy is installed as a docker image, it gets downloaded from https:// | When Lucy is installed as a docker image, it gets downloaded from https:// | ||
- | When installing Lucy in a " | + | When installing Lucy in a " |
+ | |||
+ | In case if you use Red Hat, please look at the important notice in the Installation tutorial section. | ||
+ | ===== What if I ran the install.sh on Red Hat without manually installing Docker? ===== | ||
+ | Our installation script actually does not deploy Docker itself. | ||
+ | It pulls Docker Installation script from https:// | ||
+ | For some reason, Docker installation script adds a repo which is not operational. | ||
+ | To remove the repo, simply run the command below: \\ | ||
+ | // | ||
===== The installer checks if docker is installed and installs it from the official docker website. Are there any downsides of having docker engine pre-installed? | ===== The installer checks if docker is installed and installs it from the official docker website. Are there any downsides of having docker engine pre-installed? | ||
Line 117: | Line 144: | ||
===== Who patches the Docker Runtime and host Linux system when security vulnerabilities become known? ===== | ===== Who patches the Docker Runtime and host Linux system when security vulnerabilities become known? ===== | ||
When using a Docker-based installation, | When using a Docker-based installation, | ||
- | When using a " | + | When using a " |
Line 124: | Line 151: | ||
- | ===== Is the container | + | ===== Is the docker-image |
- | Lucy' | + | Lucy' |
Line 134: | Line 161: | ||
===== How do you back up Lucy? ===== | ===== How do you back up Lucy? ===== | ||
- | Speaking of Docker container installation, | + | Speaking of Docker container installation, |
**docker commit lucy lucy-backup** | **docker commit lucy lucy-backup** | ||
After that you: | After that you: |
installing_lucy_on_linux.txt · Last modified: 2022/06/22 12:37 by lucysecurity