where is /bin/weewxd folder?

159 views
Skip to first unread message

zaax

unread,
Sep 25, 2014, 3:37:01 PM9/25/14
to weewx...@googlegroups.com
cd /home/weewx 
./bin/weewxd weewx.conf

sorry I am not really understanding this.

Why does setup.htm say run weewx.conf  in /bin/weewxd folder - there is no such folder as /bin/weewxd

mwall

unread,
Sep 25, 2014, 3:44:30 PM9/25/14
to weewx...@googlegroups.com

when you install weewx using setup.py and the default home location of /home/weewx, the weewx 'bin' directory is

/home/weewx/bin

when you install weewx using the debian or redhat or suse packages, the bin directory is

/usr/share/weewx

the bin directory and other file locations are documented in the weewx user guide

http://weewx.com/docs/usersguide.htm#installing

specifically in the table in section 4.2

m

Deborah Pickett

unread,
Sep 25, 2014, 5:45:14 PM9/25/14
to weewx...@googlegroups.com
Hi zaax,

As well as everything mwall said, you are conflating
./bin/weewxd
and
/bin/weewxd
(note the leading dot).  They are not the same.

./bin/weewxd (leading dot) is the weewxd file in the bin directory in the . directory (recall that the . directory is the current directory, which you set to /home/weewx in the previous command).  So this is equivalent to saying /home/weewx/bin/weewxd in full.

/bin/weewxd (no leading dot) is the weewxd file in the bin directory of the root of the filesystem (/).  It is unlikely that you would put weewxd there because /bin contains system programs like sh and ls and cp.

mwall is checking that you know where you installed weewx: did you install it in /home/weewx or in /usr/share/weewx?  It depends on which installer you used.

vds

unread,
Sep 25, 2014, 9:09:01 PM9/25/14
to weewx...@googlegroups.com
On Friday, September 26, 2014 5:37:01 AM UTC+10, zaax wrote:
cd /home/weewx 
./bin/weewxd weewx.conf

sorry I am not really understanding this.


A public service announcement.......

"everybody - if you do not understand Linux in general, or your chosen distribution in particular, PLEASE PLEASE PLEASE get yourself some training.  It will REALLY make your life less stressful....."

I'd suggest anybody who is not sure try the FREE online course from edx.org:
 
Thank you.
Reply all
Reply to author
Forward
0 new messages