forked from AmIBeingObtuse/Youtubestacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFooocus Commands
38 lines (21 loc) · 1.12 KB
/
Fooocus Commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
These commands are for installing fooocus ai image generator from my youtube video - Fooocus Easy AI images Windows and Linux - https://youtu.be/His6Fkk94-8
Windows download links: https://github.com/lllyasviel/Fooocus?tab=readme-ov-file#download
Linux (I used ubuntu server - Also make sure your linux has the latest nvidia drivers installed and I also had nvidia toolkit).
First create a directory on your linux machine where you will install Fooocus to -
mkdir /Fooocus
Then install python 3.10 -
sudo apt update
sudo apt-get install python3.10
Then run the commands from the Fooocus github under native python linux -
git clone https://github.com/lllyasviel/Fooocus.git
cd Fooocus
pip3 install -r requirements_versions.txt
If you have UFW firewall then allow port 7865 -
sudo ufw allow 7865/tcp
you can then run Fooocus when inside the installed directory using -
nohup sudo python3 entry_with_update.py --listen &
You can confirm its running -
ps aux | grep entry_with_update.py
You can go to http://yourip:7865 (Mine was http://192.168.1.59:7865)
You can kill the process when finished -
sudo pkill -f entry_with_update.py