Tomcat 8 on Java 8 Behind Apache on CentOS – I was recently asked by an associate of mine to deploy a Spring application to a CentOS server running cPanel/WHM and Apache. As this build requirement is not entirely obvious I thought I’d share the experience as a simple how-to guide. Note, this is simply a how-to… not a best-practices guide so if you require
Tag Archives: CentOS
When getting started on ZeroMQ (version 4.2.0 or above) can be quite challenging especially with all the prerequisites. I’ve spent a good two days to get the process ironed out. So I’m sharing this so that others can avoid the same pitfalls and can have a good head-start with setting up their environment.
Since the node.js RPM installer in EPEL repository is old (v0.10.x), we can use “nodejs-rpm” to installable rpm package: Install necessary packages: sudo yum install -y gcc-c++ git make openssl-devel yum-utils rpmdevtools Use git to get latest source of nodejs-rpm in Github: git clone https://github.com/kazuhisya/nodejs-rpm.git Use yum-builddep to config necessary rpm packages: cd nodejs-rpm;sudo yum-builddep […]
Doing local development with Node is simple. All you have to do is
node app.js in the folder where your source code is and your application is ready to serve.
Where things get complicated is when you want to put your app in production, on a web server for the whole world to admire it.
If you are coming from PHP or Ruby on Rails you might be used to having a very simple way of hosting & deploying your application. All you have to do is put your code into a specific folder. Every time you have an update, just replace the code. It just works.
In the world of Node it can be a little bit more complicated but it is worth it. Let’s look at how you can host and deploy a production ready NodeJs application.
First, you will need SSH access to a freshly installed server. In this article you will see how to do that on CentOS 7.
All steps are easily reproducible on any other flavor of Linux. If you are interested in Ubuntu we have another article, check the links at the bottom.
Your server can be running in AWS, Rackspace or even in your local VirtualBox. It doesn’t really matter, the steps are always the same.
Kibana doesn’t support authentication or restricting access to dashboards by default.We can restrict access to Kibana 4 using nginx as a proxy in front of Kibana. This procedure will work and tested on RPM based flavours[eg :- Redhat,CentOS].In this setup Kibana is running on default port 5601 and nginx server is running on port 8080. […]
This series of articles will cover the setup of a central syslog server on a CentOS 6 server. Syslog package in use with be rsyslog on all linux servers. To receive Windows servers events we will be using Snare. First we will need to create a new disk on the server – in this case […]
knet is cross-platform multi-threading light-weight TCP transport library, for now, knet support IOCP,select, epoll model on Windows and CentOS. it will testing under more Linux and Unix OS version, more model will be implemented like: kqueue(kevent) etc.
knet is not a event loop like libevent, knet focus on transport only.