Installation instruction on clean build of Fedora? | GitHub Installation | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Installation instruction on clean build of Fedora?
No permission to create posts
March 26, 2015
9:55 am
Avatar
hepcatjk
New Member
Members
Forum Posts: 3
Member Since:
March 26, 2015
sp_UserOfflineSmall Offline

I tried adapting the Ubuntu directions, but had some issues...

Does any one have a script to install thingspeak on a clean install of Fedora...

March 31, 2015
10:00 am
Avatar
hepcatjk
New Member
Members
Forum Posts: 3
Member Since:
March 26, 2015
sp_UserOfflineSmall Offline

Anyone try or care about Fedora out there?

I think this would really befit from other linux distro installs and windows install instructions since I know I want to run my own server and really like this project...

April 3, 2015
12:14 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 411
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

Sorry, I don't have any experience with Fedora. Let us know if you come up with anything and we will share with the community.

April 17, 2015
9:20 pm
Avatar
hepcatjk
New Member
Members
Forum Posts: 3
Member Since:
March 26, 2015
sp_UserOfflineSmall Offline

This worked on Fedora 21 and Red Hat :

sudo yum upgrade
sudo yum -y install rubygems curl git libxslt-devel libxml2-devel mysql-devel mysql-server mysql make automake gcc gcc-c++ kernel-devel libyaml-devel readline-devel libffi-devel libtool sqlite-devel ruby-devel

curl -sSL https://get.rvm.io | bash -s stable
# (You might have to allow the key, follow the command if the curl step errors)

# replace (your directory with what your prompted)
source /home/(your directory)/.rvm/scripts/rvm

rvm install 2.1
git clone https://github.com/other/thingspeak.git
cd thingspeak

rvm install ruby-2.1.0
gem install bundler
gem install bundle
gem install mysql
# you might need: gem install mysql2
# also this worked on Red Hat : sudo yum -y install ruby-mysql

bundle install
cp config/database.yml.example config/database.yml
# I had to add a line to the end of the section I activated: host: 127.0.0.1
# (modify the database.yml to fit your needs: vi config/database.yml or nano config/database.yml)

# you should confirm that that: sudo service mysqld start
# is started since it is needed for thingspeak
rake db:create
rake db:schema:load
rails server
# I would make that a service or demon

Now the the server was active: http://localhost:3000/

August 9, 2015
10:58 pm
Avatar
ledrew1407
New Member
Members
Forum Posts: 3
Member Since:
August 9, 2015
sp_UserOfflineSmall Offline

hepcatjk said

This worked on Fedora 21 and Red Hat :

sudo yum upgrade
sudo yum -y install rubygems curl git libxslt-devel libxml2-devel mysql-devel mysql-server mysql make automake gcc gcc-c++ kernel-devel libyaml-devel readline-devel libffi-devel libtool sqlite-devel ruby-devel

curl -sSL https://get.rvm.io | bash -s stable
# (You might have to allow the key, follow the command if the curl step errors)

# replace (your directory with what your prompted)
source /home/(your directory)/.rvm/scripts/rvm

rvm install 2.1
git clone https://github.com/other/thingspeak.git
cd thingspeak

rvm install ruby-2.1.0
gem install bundler
gem install bundle
gem install mysql
# you might need: gem install mysql2
# also this worked on Red Hat : sudo yum -y install ruby-mysql

bundle install
cp config/database.yml.example config/database.yml
# I had to add a line to the end of the section I activated: host: 127.0.0.1
# (modify the database.yml to fit your needs: vi config/database.yml or nano config/database.yml)

# you should confirm that that: sudo service mysqld start
# is started since it is needed for thingspeak
rake db:create
rake db:schema:load
rails server
# I would make that a service or demon

Now the the server was active: http://localhost:3000/

This worked on Centos 7 running as a vm under xenserver 6.5.

Is there a way to make ts to autostart on boot?

August 10, 2015
8:53 am
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

Hi,

If you want the ThingSpeak service to start automatically after boot, I suggest looking into Phusion Passenger as a webserver, since it's targeted at production builds while the "rails server" is just a local development server. We even use Phusion Passenger (Enterprise) to run the main ThingSpeak service.

lee

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

khanhNguyen_CT, susyburr, quijano__, meosuckhoe, briskpanda, Dejw0089

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457