Project

General

Profile

Trying to get up and running on a Hostgator VPS (centos)

Added by Erik Savage over 10 years ago

Hi,

I spent some time trying out the deployment/install stuff on the site but much seems outdated with broken links etc.

Annoyingly yum can't install witty on my server as it says there is no package etc that matches so I guess it's not in the repo (I got up and running on my Ubuntu based PC no probs for testing/running locally) so I guess I need to go through some long steps manually installing and compiling things. I was hoping someone could help out/point me in the right direction.

I got to the point where I'd lost half a days and was considering buying a Ubuntu VPS just for learning witty but that seemed silly... having a pretty standard VPS with centos seems like it must be something almost everyone has to work with 'live' so there must be some simple/working indstructions somewhere - I just can't find them.

Cheers,

Erik


Replies (1)

RE: Trying to get up and running on a Hostgator VPS (centos) - Added by Wim Dumon over 10 years ago

Hello Erik,

Our centos instructions in the wiki seem to be quite outdated. The generic installation instructions are here:

http://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html

Use yum to install the dependencies on your system (boost is required, the others are optional and depend on what features you use in Wt). Then this should work:

cd wt-x.y.z
mkdir build
cd build
cmake ..
make -j4
# three lines below only if you also want to build the examples
cd examples
make -j4
cd ..
# the line below will install in /usr/local/, unless you change CMAKE_INSTALL_PREFIX in build/CMakeCache.txt
make install

BR,

Wim.

    (1-1/1)