Questions tagged as 'centos7'

1
answer

Connect an active directory or LDAP with PHP

I am trying to connect the active directory or LDAP of the window with an application ( GLPI ) made in PHP. Connection parameters: $ds = ldap_connect($host, $port) // me retorna verdadero @ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)...
asked by 10.12.2018 / 21:12
1
answer

Create your own Git server

I have a centOS 7 server, in which I have installed gitlab, to which I need to change port 80 to 8080. To be able to have apache running on port 80. I enter the gitlab gitlab.rb configuration file adding the following: external_url "http://...
asked by 03.03.2018 / 19:20
0
answers

Open port 3306 iptables

I am setting up a virtual machine as a database server on a CentOS 7 and I want to open port 3306 to connect from the host machine. The rule that I have set is the one shown in the capture However, it does not allow me to connect, wh...
asked by 19.02.2018 / 20:42
0
answers

firewall-cmd filter by string

Good I am trying to filter by String a chain, just as it is done in iptables; But it's not working. I'm sending the sequence like that. firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 0 -s xx.xx.xx.xx -p tcp --dport 443 -m str...
asked by 23.01.2018 / 21:47
0
answers

sock failed (2: No such file or directory) - django + gunicorn + virtualenv + centos7

I am trying to deploy a Django application on CentOS7 using gunicorn and ngnix to handle the requests. I followed an internet guide (Digital ocean) for CentOS7 (see URL below), I followed the guide as close as possible and when it is supposed...
asked by 07.01.2018 / 09:27
0
answers

Problems with vsftp and / var / www / html

I have the following problem that I can not solve, I do not know how to configure vsftp to access the / var / www / html directory to upload files from an ftp client, for example FileZilla. Install CentOS 7 on a virtual machine. Then insta...
asked by 24.03.2018 / 00:26
1
answer

How to check if there is a word in a file

I have the following file in centos: I want the program to check if there is "equipment" with a regular expression like it would be with the sed command ???     
asked by 01.01.2019 / 14:39
0
answers

Error restarting apache

I have a centos 7 server with do domains one for gitlab and a second one that I use with apache. Everything works correctly until I enable https for both domains. As of this moment, apache does not start if I have the gitlab server enabled. -...
asked by 24.09.2018 / 13:48
2
answers

I can not open ports in CentOS 7

I have a problem, since I can not open ports in CentOS 7 . I try to open port 80 with the following instruction: --firewall-cmd --zone=trusted --add-port=80/tcp --permanent With this you confirm that the port is open, I restar...
asked by 11.08.2018 / 23:47
0
answers

Error SSH connection server centos 7 google cloud

Good morning I can not connect to my centos 7 instance using google cloud SSH, followed the tutorial of the link below to generate the private key and published in putty keygen but it sends me the error that I show below, someone could tell m...
asked by 25.08.2018 / 20:20