doc for freebsd13.1 and flaresolverr3.1.2 #748
Replies: 5 comments 9 replies
-
|
Could you review and update this page in the Wiki? |
Beta Was this translation helpful? Give feedback.
-
|
updated to follow the change in 3.1.2 |
Beta Was this translation helpful? Give feedback.
-
|
@ilike2burnthing Would you be able to review the information that I posted here: #95 (comment) and update the Wiki accordingly? I ran into a few issues when following the the guide and hope that the additional info helps anyone else that might find it helpful. Thanks. :) |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @furonair, is the key information here getting all the versions lined up in a 'working' state, or is it around setting up the permissions / users 'just right'? I did the latter but still got issues, which I suspect may be related to versions (see #1434). If versions are the sticking point, I'll try to create a 'matrix' of python / FlareSolverr / FreeBSD where it works vs. fails. |
Beta Was this translation helpful? Give feedback.
-
|
Right... Those instructions aren't working for me unfortunately.
…On Mon, 27 Jan 2025 at 02:44, ilike2burnthing ***@***.***> wrote:
The only link in the comment you're replying to.
To skip a few steps here -
https://github.com/FlareSolverr/FlareSolverr#from-source-code-freebsdtruenas-core
—
Reply to this email directly, view it on GitHub
<#748 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA7NE636V4DUAKWLSJ55JL2MWMRHAVCNFSM6AAAAABVQDQNUGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJWGM4TMNY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here are the instructions in order to get FlareSolverr configured and running at boot in a FreeBSD system or in a FreeBSD jail (which is my case).
I'll not enter in details about creation of jails.
But this should work to on the FreeBSD host OS.
1. Check if you need to set your date/time
2. Update and upgrade your packages
Before anything else, make sure that your packages are updated and upgraded:
3. Get FlareSolverr
Here you have the option to use Git or download the sources directly. It doesn't matter what you choose, the final product will be the same.
The advantage of the Git way is that it is easier to keep FlareSolverr updated.
So, follow 3.1 or 3.2, as you wish.
3.1 Using Git
Install the git-tiny package:
Then go to /usr/local/share folder and clone the repository:
3.2 Using Zip
Go to the FlareSolverr Github page, click on Code, then right-click on "Download ZIP" and then choose "Copy link address":
Then execute the fetch command to download the zip file, by pasting the copied address in the command line, and then run the unzip command to extract it:
4. Installing the necessary packages and load necessary kernel module
Once you have the FlareSolverr source code downloaded through Git or Zip in /usr/local/share/FlareSolverr, the next step is to download the necessary packages.
4.1 Load Kernel module
Load kernel module required by linux compatibility package (probably just linux64 is required but is not my case and I did test). If you do please confirm.
4.2 Install package
Install these packages and all their required dependencies:
5. Installing virtuaenv and requirement
To keep most of thing clean on the host after the build will be completed
5.1. virtual
5.2. Create and activate virtual env
5.3. Installing requirements
6. building the apps
7. Doing somes particulars things to make it work!
7.1. Special folders
Thoses things are requireds because the program ask for access to particular folder.
7.3. Linux compatibility
Thoses things ar required for linux compatibility.
8. Create user
9. Moving folder and changing owner and permission
10. Create the rc.d config file to define the service
create the file
edit the file with your prefered text editor
11. Clean no more usefull files and folders
rm -rf /tmp/venv
rm -rf /tmp/FlareSolverr-master
rm -rf /tmp/build
rm -rf /tmp/master.zip
12. Enable service in rc.conf and start the deamon
You could find all allowed parameter to be used with the rc.d script within the file and configure the parameter with sysrc
Those parameter will be loaded as variable env
ex:
Now you should be able to start the deamon and enjoye!
Beta Was this translation helpful? Give feedback.
All reactions