I don't get any errors during these 3 stepsOk, from begin..
1. Create the jail
2. put in your IP-Adress and your Subnet
3 disable VIMAGE
Start Putty
1. jls and find the number of your jail
2. jexec 3 csh (3 = number of your pyloadjail)
3. portsnap fetch extract (type y if called)
do this run without errors?
ok type
Code:cd /usr/ports/devel/git pkg upgrade make install clean
===> Checking if git already installed ===> git-2.5.3 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of git without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** [check-already-installed] Error code 1 Stop in /usr/ports/devel/git. *** [install] Error code 1 Stop in /usr/ports/devel/git. root@pyload:/usr/ports/devel/git #
cd /usr/ports/www git clone https://github.com/mrhanky17/pyload-freebsd.git pyload cd pyload/ make makesum make install clean (you'll get the [install] Error code 1 at the end, ignore it) pyload go through the setup echo 'pyload_enable="YES"' >> /etc/rc.conf echo 'pyload_flags="--daemon"' >> /etc/rc.conf echo 'pyload_pid="/var/run/pyload.pid" ' >> /etc/rc.conf echo 'pyload_config="/root/pyload"' >> /etc/rc.conf (Note that this is the config Path you choose in the pyload Setup (Step 14-15). If you don't changed the Path its '/root/pyload'.) ln -s /usr/ports/www/pyload/work/stage/usr/local/etc/rc.d/pyload /etc/rc.d/pyload service pyload start pyload should run and you should have access to it through web interface with IP you saw in step 2.http://IP:8000/
this will be no problem. I got this errors too.
continue with:
Code:cd /usr/ports/www git clone https://github.com/mrhanky17/pyload-freebsd.git pyload cd pyload/ make makesum make install clean (you'll get the [install] Error code 1 at the end, ignore it) pyload go through the setup echo 'pyload_enable="YES"' >> /etc/rc.conf echo 'pyload_flags="--daemon"' >> /etc/rc.conf echo 'pyload_pid="/var/run/pyload.pid" ' >> /etc/rc.conf echo 'pyload_config="/root/pyload"' >> /etc/rc.conf (Note that this is the config Path you choose in the pyload Setup (Step 14-15). If you don't changed the Path its '/root/pyload'.) ln -s /usr/ports/www/pyload/work/stage/usr/local/etc/rc.d/pyload /etc/rc.d/pyload service pyload start pyload should run and you should have access to it through web interface with IP you saw in step 2.http://IP:8000/
root@pyload:/usr/ports/www/pyload # pyload /usr/local/bin/pyload: Permission denied. root@pyload:/usr/ports/www/pyload #
I still have to try it, i'm at work now. But i will do it in a few hours, as soon as i get home!You have the wrong permissions set for your jail. Find the picture attached and set the permissions like shown.
Then try 'pyload' again
why are you guys installing git from ports? what's wing with 'pkg install git'
also you tried using pkg_add earlier which has been replaced with pkg.
I'd just replace the first code text block with 'pkg install git'Ok, i made to the setup and i was able to get into the web interface. Still have a lot to learn and to test but so far, so good!
Hello there Joshua, thanks for the tips. Believe me when i say i'm a newbie! I've never had any experience whatsover with shell/putty or these kind of commands. I'm doing my best to learn as fast as i can, but my knowledge is simply lacking. How would you change the guide posted in the first place on this thread?
You have the wrong permissions set for your jail. Find the picture attached and set the permissions like shown.
Then try 'pyload' again
root@Pyload:/usr/ports/www/pyload # service pyload start Traceback (most recent call last): File "/usr/local/bin/pyload", line 48, in <module> from module.network.RequestFactory import RequestFactory File "/usr/local/share/pyload/module/network/RequestFactory.py", line 22, in < module> from Browser import Browser File "/usr/local/share/pyload/module/network/Browser.py", line 6, in <module> from HTTPRequest import HTTPRequest File "/usr/local/share/pyload/module/network/HTTPRequest.py", line 20, in <mod ule> import pycurl ImportError: Shared object "libcurl.so.4" not found, required by "pycurl.so"
cd /usr/local/lib ln -s /usr/local/lib/libcurl.so.4 cd /usr/lib ln -s /usr/local/lib/libcurl.so.4
service pyload start
Hi,
i have thought you willl run in this error. You must softlink the file "libcurl.so.4". Here come's the soluion:
via ssh in userland:
Code:cd /usr/local/lib ln -s /usr/local/lib/libcurl.so.4 cd /usr/lib ln -s /usr/local/lib/libcurl.so.4
restart pyload:
Code:service pyload start