User Tools

Site Tools


installing_lucy_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
installing_lucy_on_linux [2018/10/10 02:17] lucyinstalling_lucy_on_linux [2019/03/01 11:16] lucy
Line 34: Line 34:
   * **Make sure you use an updated list of repositories**: Get the latest list by typing "apt-get update" (apt-get update downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages).    * **Make sure you use an updated list of repositories**: Get the latest list by typing "apt-get update" (apt-get update downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages). 
   * **Make sure you have the latest PEM files**: Run "apt-get install ca-certificates". This package includes PEM files of CA certificates to allow SSL-based applications to check for the authenticity of SSL connection.   * **Make sure you have the latest PEM files**: Run "apt-get install ca-certificates". This package includes PEM files of CA certificates to allow SSL-based applications to check for the authenticity of SSL connection.
-  * **Make sure you have enough disk space in your temp drive**: Free some space by using "umount /tmp" in case there is not enough space. In general the LUCY installation requires at least 30 GB HD. Other hardware requirements are described [[hardware|here]].+  * **Make sure you have enough disk space in your temp drive**: Free some space by using "umount /tmp" in case there is not enough space. In generalthe LUCY installation requires at least 30 GB HD. Other hardware requirements are described [[hardware|here]].
  
  
Line 53: Line 53:
 ===== What are the hardware/Disk requirements? ===== ===== What are the hardware/Disk requirements? =====
  
-  * TMP: You will need at least 1 GB Space in the tmp directory. Please unmounts your tmp in case you need to free some space there (example: "umount /tmp")+  * TMP: You will need at least 1 GB Space in the tmp directory. Please unmount your tmp in case you need to free some space there (example: "umount /tmp")
   * Other hardware requirements can be found [[hardware|here]]   * Other hardware requirements can be found [[hardware|here]]
  
Line 59: Line 59:
 ===== Installation tutorial ===== ===== Installation tutorial =====
  
-1) First of all, download the file that you are going to execute e.g. "install.sh" from our download location (usually under http://phishing-server.com) and save it in your directory. If your using a terminal you first need to enumerate the current download link by pressing F12 in your browser when visiting our download section and then use **wget** to download the file (example: "wget http://download.phishing-server.com/dl/lucy-latest/install.sh"\\+1) First of all, download the file that you are going to execute e.g. "install.sh" from our download location (usually under http://phishing-server.com) and save it in your directory. If you are using a terminal you first need to enumerate the current download link by pressing F12 in your browser when visiting our download section and then use **wget** to download the file (example: "wget http://download.phishing-server.com/dl/lucy-latest/install.sh"\\
 2) Secondly, open the Terminal from Menu "Accessories \ Terminal".\\ 2) Secondly, open the Terminal from Menu "Accessories \ Terminal".\\
 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 "**chmod +x install.sh**").\\ 4) Then type chmod +x name_of_file.sh to make your file executable (example "**chmod +x install.sh**").\\
 5) Now type ./name_of_file.sh to execute the file (Example "**./install.sh**"). If you are able to install LUCY without docker (this is the preferred method), please use the **"./install.sh legacy"** command.\\ 5) Now type ./name_of_file.sh to execute the file (Example "**./install.sh**"). If you are able to install LUCY without docker (this is the preferred method), please use the **"./install.sh legacy"** command.\\
-6) You will be asked if you want to install LUCY (Install LUCY (y/n)?) Please type "**y**" and press enter. During the installation LUCY will connect to our centralized custom repository to download the necessary packages.\\+6) You will be asked if you want to install LUCY (Install LUCY (y/n)?) Please type "**y**" and press enter. During the installationLUCY will connect to our centralized custom repository to download the necessary packages.\\
 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 106: Line 106:
  
 ===== 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 '/^Selecting/ {gsub(/\./,""); print $5}' /var/log/apt/term.log (which displays installed packages in historical order, and then purges the last packages). That list will enable you to remove the according packages.+In 3.2 we will provide an uninstaller. For nowif you want to remove LUCY you first need to get a list of all packages installed using $awk '/^Selecting/ {gsub(/\./,""); print $5}' /var/log/apt/term.log (which displays installed packages in historical order, and then purges the last packages). That list will enable you to remove the according packages.
  
  
Line 140: Line 140:
  
 ===== How do you back up Lucy? ===== ===== How do you back up Lucy? =====
-Speaking of Docker container installation, the backup is seamless and is a peace of cake. First of all you "commit" the container, making a static image of it with all files, changes, etc: +Speaking of Docker container installation, the backup is seamless and is a piece of cake. First of all you "commit" the container, making a static image of it with all files, changes, etc: 
 **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