Jochen,
I need your help again (I apologize for my limitation of knowledge in this area, I'm just a newbie :( ). I will explain my steps bellow: 1. I'm working on the installations steps from the official document and using 'service' command instead of 'systemd' to install and enable to run the service of Java , MongoDB, ElasticSearch and Graylog server without restarting the server (Do we really need to restart the server?). I'm checking by 'top' command and see all these 3 services are running already. 2. Next step is configuring the SELinux but my VPS doesn't run SELinux so I guess I don't need to follow the steps on the document for SE Linux. 3. Next, Do I need to enable Graylog if I don't use SELinux. I tried this command but it doesn't work to me. It return sudo : semanage command not found. I guess because SElinux is disable already so it won't run this command. o Graylog REST API: sudo semanage port -a -t http_port_t -p tcp 12900 I'm kind of stuck here and don't know what to do next. Beside, I'm thinking of working on graylog configuration on /etc/graylog/server/server.conf and I also have some question: - If I install Graylog to my VPS server then should I configure web_listen_uri = http://my_VPS_IP:9000 <http://my_vps_ip:9000/> and rest_transport_uri | rest_listen_uri = http://my_VPS_IP:12900/ <http://my_vps_ip:12900/> in order to use graylog-web interface from end browser with the URL http://my_VPS_IP:9000 <http://my_vps_ip:9000/> ? Thanks again for your suggestion and your help. Please correct me if I'm doing anything wrong. Regards, Luke On Wednesday, August 3, 2016 at 10:25:41 PM UTC+7, Jochen Schalanda wrote: > > Hi Luke, > > I'd recommend following the official documentation, which is always > up-to-date, instead of some 3rd party blog posts: > http://docs.graylog.org/en/2.0/pages/installation/os/centos.html > > The steps to install Graylog on CentOS 6 are fairly similar. You'll have > to use SysV init scripts instead of systemd but except for that, it should > be the same. > > Cheers, > Jochen > > On Wednesday, 3 August 2016 16:23:49 UTC+2, Lam Do wrote: >> >> Hi Jochen, >> >> Now it makes sense to me because I installed the latest repository >> Graylog 2.0. And the documentation explains the steps for Centos7 while my >> VPS is Centos6 so I googled some other articles and those mention about >> graylog-web but properly for Graylog 1.x. Others is for Graylog2 with >> Centos6 and it mentions about graylog-web too, for example >> http://www.richardyau.com/?p=377 >> <http://www.google.com/url?q=http%3A%2F%2Fwww.richardyau.com%2F%3Fp%3D377&sa=D&sntz=1&usg=AFQjCNFYO1QWk9bZriJ6p36W5NmFXUpB1w> >> >> Is it good article to follow? >> >> Based on your suggestions, it sounds to me to follow again the steps >> from Graylog 2.0 documentation. Does Centos6 have the same steps with >> Centos7? >> >> Thanks for your help, >> >> Best Regards, >> Lam Do >> > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/421d1715-0a81-4e95-acb9-1ebe4e86d445%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
