Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
thanks for the guide. i managed to set up my box.
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Quote:
Originally Posted by
naq
try: apt-get install openssl
That was it naq!
Thanks for your help and thanks for this excellent guide.
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
AWESOME tutorial, but
Im getting some errors here.
Firefox is not in the menu and when I write firefox in xterm I get this error
Error: Cairo does not yet support the requested image format.
When I try to start firestarter I get like 1000 error popups and this error in xterm:
Gtk-WARNING **: cannot open display:
Edit: I solved it by adding -depth 24 in vnc
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Great guide naq.
Quik question though. After following the guide i can't seem to use FTP to upload anything. Is there a way to change permissions or something so that I can create folders and upload data via ftp?
I'm using Debian 4.0 (etch) and FlashFXP.
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
All right, I managed to connect via FTP, but where is the Downloads folder. It takes me to a folder which has .vnc, .wine, .fluxbox, etc. folders.
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Quote:
Originally Posted by
Lincoln
Code:
# yum install wine
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
Code:
# wine utorrent.exe
bash: wine: command not found
First, I would like to say thanks for the great tutorial.
This is my first time trying to set this up, I got the same error, and Lincoln did mention that Wine doesnt run well in Centos 5 64bit, so Im stuck now at the step to install utorrent.
Any help? Thanks in advance.
EDIT : Got it
I found this page http://www.centos.org/modules/newbb/...topic_id=14987
Apparently I just need to add #rpm -Uvh http://download.fedora.redhat.com/pu...5-3.noarch.rpm and install wine after that.
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Hiya
How come I keep getting all this whenever I type in the iptables -t filter -L
Code:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- localhost.localdomain anywhere tcp flags:!FIN,SYN,RST,ACK/SYN
ACCEPT udp -- localhost.localdomain anywhere
ACCEPT tcp -- ks#####.kimsufi.com anywhere tcp flags:!FIN,SYN,RST,ACK/SYN
ACCEPT udp -- ks#####.kimsufi.com anywhere
ACCEPT tcp -- cdns.ovh.net anywhere tcp flags:!FIN,SYN,RST,ACK/SYN
ACCEPT udp -- cdns.ovh.net anywhere
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere limit: avg 10/sec burst 5
DROP all -- anywhere 255.255.255.255
DROP all -- anywhere ##.###.#.###
DROP all -- 255.255.255.255 anywhere
DROP all -- anywhere default
DROP all -- anywhere anywhere state INVALID
LSI all -f anywhere anywhere limit: avg 10/min burst 5
INBOUND all -- anywhere anywhere
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Unknown Input'
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere limit: avg 10/sec burst 5
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Unknown Forward'
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- ks#####.kimsufi.com localhost.localdomain tcp dpt:domain
ACCEPT udp -- ks#####.kimsufi.com localhost.localdomain udp dpt:domain
ACCEPT tcp -- ks#####.kimsufi.com ks#####.kimsufi.com tcp dpt:domain
ACCEPT udp -- ks#####.kimsufi.com ks#####.kimsufi.com udp dpt:domain
ACCEPT tcp -- ks#####.kimsufi.com cdns.ovh.net tcp dpt:domain
ACCEPT udp -- ks#####.kimsufi.com cdns.ovh.net udp dpt:domain
ACCEPT all -- anywhere anywhere
DROP all -- 255.255.255.255 anywhere
DROP all -- anywhere default
DROP all -- anywhere anywhere state INVALID
OUTBOUND all -- anywhere anywhere
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Unknown Output'
Chain INBOUND (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpts:54320:54322
ACCEPT udp -- anywhere anywhere udp dpts:54320:54322
ACCEPT tcp -- anywhere anywhere tcp dpt:5901
ACCEPT udp -- anywhere anywhere udp dpt:5901
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT udp -- anywhere anywhere udp dpt:ssh
LSI all -- anywhere anywhere
Chain LOG_FILTER (5 references)
target prot opt source destination
Chain LSI (2 references)
target prot opt source destination
LOG_FILTER all -- anywhere anywhere
LOG tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 1/sec burst 5 LOG level info prefix `Inbound '
DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN
LOG tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5 LOG level info prefix `Inbound '
DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST
LOG icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5 LOG level info prefix `Inbound '
DROP icmp -- anywhere anywhere icmp echo-request
LOG all -- anywhere anywhere limit: avg 5/sec burst 5 LOG level info prefix `Inbound '
DROP all -- anywhere anywhere
Chain LSO (0 references)
target prot opt source destination
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere limit: avg 5/sec burst 5 LOG level info prefix `Outbound '
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain OUTBOUND (1 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
When I type in
iptables -F
The server gets stuck and I can't do anything?
BTW I stuck those #'s in there
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Everything has been working fine for me for months now...
I just reinstalled my (local) machine and now I can't seem to connect with VNC. SSH works fine, I have the tunnel setting correct in PuTTY, vncserver is active, but when I run VNC Viewer I get the error:
unable to connect to host: Connection refused (10061)
Any ideas?
Any help is greatly appreciated.
EDIT: Solved, I had "5901:localhost" in the PuTTY SSH tunnel settings instead of "localhost:5901"
<---Idiot
>_<
Re: NaQ's Complete Setup Guide for Linux Seedboxes (Fedora Core/CentOS/Debian/Ubuntu)
Quote:
Originally Posted by
Ion
Great guide naq.
Quik question though. After following the guide i can't seem to use FTP to upload anything. Is there a way to change permissions or something so that I can create folders and upload data via ftp?
I'm using Debian 4.0 (etch) and FlashFXP.
You need to uncomment the following in /etc/vsftpd.conf:
Code:
# Uncomment this to enable any form of FTP write command.
write_enable=YES
--
An unrelated tip that might help someone, you don't have to log in to have everything start up after reboot / crash. Simply add:
Code:
wine ~/utorrent.exe &
to ~/.fluxbox/startup just before the line:
Code:
# And last but not least we start fluxbox.
which will automatically startup utorrent when fluxbox starts (which is when vnc server starts).
To start VNC server automatically, add:
Code:
su - username1 -c "vncserver -geometry 1024x768 -depth 24 :1"
su - username2 -c "vncserver -geometry 1024x768 -depth 24 :2"
and so forth to /etc/rc.local
This way, when the server boots, after everything is loaded the vnc servers start (and if you followed the guide you'll already have "startfluxbox" in ~/.vnc/xstartup) which causes fluxbox to start, which causes wine / utorrent to start. :)