Pages:
Author

Topic: Linux noob trying to run bitcoin via SSH (Read 8953 times)

legendary
Activity: 1400
Merit: 1005
July 22, 2011, 11:28:08 AM
#87
New question: I've installed FTP via vsftpd, and created a new user with access to the www directory, but can't figure out how to make that directory the "home" or "default" directory for said user.  And also remove the ability for the ftp user to get to the root directory through FTP - I only want it to have access to the www directory and any child folders.

EDIT: Nevermind, figured out how to by setting up a user_config_dir path in vsftpd.conf, then defining specific user permissions there.
you could also have done:
Code:
usermod --home /path/to/www 
if you want to jail the user in his home when he is using vsftp, you can enable a chroot in vsftp. Smiley
Ah, yeah, that's what I was looking for.  Tongue  Thanks!
legendary
Activity: 1050
Merit: 1000
You are WRONG!
New question: I've installed FTP via vsftpd, and created a new user with access to the www directory, but can't figure out how to make that directory the "home" or "default" directory for said user.  And also remove the ability for the ftp user to get to the root directory through FTP - I only want it to have access to the www directory and any child folders.

EDIT: Nevermind, figured out how to by setting up a user_config_dir path in vsftpd.conf, then defining specific user permissions there.
you could also have done:
Code:
usermod --home /path/to/www 
if you want to jail the user in his home when he is using vsftp, you can enable a chroot in vsftp. Smiley
legendary
Activity: 1400
Merit: 1005
New question: I've installed FTP via vsftpd, and created a new user with access to the www directory, but can't figure out how to make that directory the "home" or "default" directory for said user.  And also remove the ability for the ftp user to get to the root directory through FTP - I only want it to have access to the www directory and any child folders.

EDIT: Nevermind, figured out how to by setting up a user_config_dir path in vsftpd.conf, then defining specific user permissions there.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
And on that note, I installed Ubuntu, downloaded bitcoind, ran the 64-bit bitcoind, and just like that, it worked.  I am happy.  Smiley
+1 Bravo!
legendary
Activity: 1400
Merit: 1005
Thanks drgr33n, don't feel sorry for me though.  I've definitely learned a lot about linux... how to do basic navigation, unzip tars, install libs, install OS's, use SSH, change the root PW, modify text files with pico, download with wget, etc.  Very valuable, because now I feel like I can at least try to solve issues that come up.

And on that note, I installed Ubuntu, downloaded bitcoind, ran the 64-bit bitcoind, and just like that, it worked.  I am happy.  Smiley
sr. member
Activity: 308
Merit: 251
Thanks kokjo, and I appreciate the offer, but I think it's important for me to go through this so that I can learn what I am doing on linux to some extent.  I don't want to be dependent on others to fix anything that might go wrong.
fair enough. Cheesy

new offer:
i can learn it to you over irc, if you like Smiley
maybe for a coin or two.
I might take you up on that, but I'm low on coins at the moment... don't have a whole lot extra I can spend.  Gotta pay the bills.  Wink

I feel sorry for you !! Yoou've worked so hard and got know where. If you give me SSH access I'll set it up and you can watch me via teamviewer for free Cheesy it will take me about 5 mins in ubuntu lol
legendary
Activity: 1400
Merit: 1005
Thanks kokjo, and I appreciate the offer, but I think it's important for me to go through this so that I can learn what I am doing on linux to some extent.  I don't want to be dependent on others to fix anything that might go wrong.
fair enough. Cheesy

new offer:
i can learn it to you over irc, if you like Smiley
maybe for a coin or two.
I might take you up on that, but I'm low on coins at the moment... don't have a whole lot extra I can spend.  Gotta pay the bills.  Wink
legendary
Activity: 1050
Merit: 1000
You are WRONG!
Thanks kokjo, and I appreciate the offer, but I think it's important for me to go through this so that I can learn what I am doing on linux to some extent.  I don't want to be dependent on others to fix anything that might go wrong.
fair enough. Cheesy

new offer:
i can learn it to you over irc, if you like Smiley
maybe for a coin or two.
legendary
Activity: 1400
Merit: 1005
Ok, no Gentoo.

Thanks kokjo, and I appreciate the offer, but I think it's important for me to go through this so that I can learn what I am doing on linux to some extent.  I don't want to be dependent on others to fix anything that might go wrong.
legendary
Activity: 1050
Merit: 1000
You are WRONG!
Quote
I might give Gentoo a try...
don't, gentoo uses a hell of a lot memory, becuase its compiling from source. it is not a good idea to run it in a vps.

my offer still stands, i can fix it for you. for 2 btc/hour. but it should not require more then 30-45 min.
legendary
Activity: 1400
Merit: 1005
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned
not the CentOs, it is likely to be very old-but-stable, and would therefor not work.
Gentoo it not recommended, it requires too much memory, becuase it build anything from source. more memory -> bigger price
Debian, we already tryed that one, it did not go well.
fedora or opensuse, i don't know they might work.

i recommend ubuntu, if its 10.04 LTS, or newer.

CentOS version 6.0 was announced and released on July 10th, 2011; I'd hardly call that old.  Wink  It runs a modern kernel version and very adequately supports every dependency of bitcoind.

Gentoo requires no more memory than any other operating system running an equivalent kernel and software payload, and any of their stage3 tarballs does indeed contain all the libraries that bitcoind depends on without any need for compilation or recompilation of anything existing or extra

Debian, likewise, should have no trouble running bitcoind -- what is your experience with it?  From a fresh installation, if bitcoind doesn't run right away, it should not take more than two minutes to diagnose and resolve the issue to get it working properly

I don't mean to sound rude, but if these aren't working for you, you're doing it wrong Wink
I'm sure my VPS provider has not yet updated their CentOS version to the latest.

I might give Gentoo a try...

Debian 5.0 was a disaster.  The only version of bitcoind that I could get to run was a modified version of 0.3.22, and I tried for like a week with the help of this forum to get it to work.  I've given up on that front.  You only need to read through this thread to see what happened with Debian.

And of course I was doing something wrong.  But no one here could help me to do it right, so obviously, it's not just my head that its over.

Believe me, I'd love to use linuxcoin, but the VPS doesn't allow me to install my own OS - only the ones that they have listed.

I'll try Ubuntu first though, thanks for the advice kokjo.
legendary
Activity: 1218
Merit: 1000
VPS Servers require CentOS 5, because it's still the only OS to run with Kloxo, which is the best option to run as replacement of a regular hosting; which is the primary use of a VPS; and the system flavor which requires less memory to run as whole.

Gentoo/Knoppix in a VPS, you need to be insane to try that one, since you can't touch the Kernel, what's the use? Blast your memory (and I don't know about your experiences with VPS's, but there's no swap nor any RAM virtualization, if you run out of physical memory the only thing to do is a VPS reboot as the system will hang) with builds?

Quote
uses much memory, and its needs to be runned some times, because of security upgrades.
In order to replace old bugs with new ones...  Grin
legendary
Activity: 1050
Merit: 1000
You are WRONG!
Quote
CentOS version 6.0 was announced and released on July 10th, 2011; I'd hardly call that old.  Wink  It runs a modern kernel version and very adequately supports every dependency of bitcoin.
very often vps only support CentOS 5, sadly.

Quote
Gentoo requires no more memory than any other operating system running an equivalent kernel and software payload, and any of their stage3 tarballs does indeed contain all the libraries that bitcoin depends on without any need for compilation or recompilation of anything existing or extra
Code:
emerge --sync
emerge --update --deep world
uses much memory, and its needs to be runned some times, because of security upgrades.

Quote
Debian, likewise, should have no trouble running bitcoind -- what is your experience with it?  From a fresh installation, it is nothing that can't be solved within two minutes if bitcoind does actually not work
it seems that, OP has already tried debian. it did not work. its likely to be an old version like CentOS.

Quote
I don't mean to sound rude, but if these aren't working for you, you're doing it wrong Wink
oh. they work for me, on my own computers. but its not likely to work on a vps.
in my experiences ubuntu works best in a vps.
newbie
Activity: 24
Merit: 0
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned
not the CentOs, it is likely to be very old-but-stable, and would therefor not work.
Gentoo it not recommended, it requires too much memory, becuase it build anything from source. more memory -> bigger price
Debian, we already tryed that one, it did not go well.
fedora or opensuse, i don't know they might work.

i recommend ubuntu, if its 10.04 LTS, or newer.

CentOS version 6.0 was announced and released on July 10th, 2011; I'd hardly call that old.  Wink  It runs a modern kernel version and very adequately supports every dependency of bitcoind.

Gentoo requires no more memory than any other operating system running an equivalent kernel and software payload, and any of their stage3 tarballs does indeed contain all the libraries that bitcoind depends on without any need for compilation or recompilation of anything existing or extra

Debian, likewise, should have no trouble running bitcoind -- what is your experience with it?  From a fresh installation, if bitcoind doesn't run right away, it should not take more than two minutes to diagnose and resolve the issue to get it working properly

I don't mean to sound rude, but if these aren't working for you, you're doing it wrong Wink
sr. member
Activity: 308
Merit: 251
Quote
OMFG kokjo you are certainly a cock !! Hence the name right ?
no its a mis-spelling of a danish chocolate milk drink called "Cocio" http://en.wikipedia.org/wiki/Cocio

lol if its as bitter as you I bet it tastes like sh*% hahaha only joking Wink
legendary
Activity: 1050
Merit: 1000
You are WRONG!
Quote
OMFG kokjo you are certainly a cock !! Hence the name right ?
no its a mis-spelling of a danish chocolate milk drink called "Cocio" http://en.wikipedia.org/wiki/Cocio
sr. member
Activity: 308
Merit: 251
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned
not the CentOs, it is likely to be very old-but-stable, and would therefor not work.
Gentoo it not recommended, it requires too much memory, becuase it build anything from source. more memory -> bigger price
Debian, we already tryed that one, it did not go well.
fedora or opensuse, i don't know they might work.

i recommend ubuntu, if its 10.04 LTS, or newer.

Why don't you just use linuxcoin ? It's debian based and has the latest bitcoin software ?
OMFG! it can't run in a vps, or at least it would require very much work to get it running.
the problem with vps is that it is running in some kind of chroot-jail, it not your own machine like a VM is.
its cheaper and a bit faster then a VM, but your control over it is more limited, than with a VM.

you can't just slide in a cd and install/run from it.

btw. your linuxcoin posts a beginning to be annoying, it can't be used for everything. and please read and understand the thread before posting

(yes im an @$$ again)

OMFG kokjo you are certainly a cock !! Hence the name right ? Your not even the OP so why do you care so much lol Jumping on everyone like a little Jack Russel.

@ the OP sorry forgot I already read this use Ubuntu I'd say and

Code:
sudo apt-add-repository ppa:stretch/bitcoin
sudo apt-get update
sudo apt-get install bitcoin
legendary
Activity: 1050
Merit: 1000
You are WRONG!
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned
not the CentOs, it is likely to be very old-but-stable, and would therefor not work.
Gentoo it not recommended, it requires too much memory, becuase it build anything from source. more memory -> bigger price
Debian, we already tryed that one, it did not go well.
fedora or opensuse, i don't know they might work.

i recommend ubuntu, if its 10.04 LTS, or newer.

Why don't you just use linuxcoin ? It's debian based and has the latest bitcoin software ?
OMFG! it can't run in a vps, or at least it would require very much work to get it running.
the problem with vps is that it is running in some kind of chroot-jail, it not your own machine like a VM is.
its cheaper and a bit faster then a VM, but your control over it is more limited, than with a VM.

you can't just slide in a cd and install/run from it.

btw. your linuxcoin posts a beginning to be annoying, it can't be used for everything. and please read and understand the thread before posting

(yes im an @$$ again)
sr. member
Activity: 308
Merit: 251
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned
not the CentOs, it is likely to be very old-but-stable, and would therefor not work.
Gentoo it not recommended, it requires too much memory, becuase it build anything from source. more memory -> bigger price
Debian, we already tryed that one, it did not go well.
fedora or opensuse, i don't know they might work.

i recommend ubuntu, if its 10.04 LTS, or newer.

Why don't you just use linuxcoin ? It's debian based and has the latest bitcoin software ?
legendary
Activity: 1050
Merit: 1000
You are WRONG!
bitcoind's dependencies are very minimal

It should run on just about any proper Linux distribution, including all of the ones you mentioned
not the CentOs, it is likely to be very old-but-stable, and would therefor not work.
Gentoo it not recommended, it requires too much memory, becuase it build anything from source. more memory -> bigger price
Debian, we already tryed that one, it did not go well.
fedora or opensuse, i don't know they might work.

i recommend ubuntu, if its 10.04 LTS, or newer.
Pages:
Jump to: