Questions tagged as 'centos'

1
answer

Comment a line in a file.log

Good, I have the following code: !/bin/bash while read line; do echo "$line"; if[???????] fi done < /home/javi.log javi.log file: # javi_2223 javi55_555 imp33 imp44 javi32423 javi5646 I want the script to comment...
asked by 19.12.2018 / 18:21
2
answers

Problem with messages sent by PHPMailer fall in SPAM in hotmail

We use a PHPMailer script on a server with Centos 7.0 and Postfix to send emails. Our server has an Open DKIM key and has an SPF record. When we send messages one by one they arrive without problems, but when using the script they al...
asked by 09.05.2017 / 15:40
4
answers

Error starting httpd in centOS 7

I get an error when starting httpd in centOS 7. I tried restarting with systemctl restart httpd.service and also systemctl start httpd.service and I keep getting the same error, I've done it as root. It is worth mentioning that previo...
asked by 01.06.2016 / 03:29
1
answer

Problem with the permissions in phpMyAdmin

I am using phpMyAdmin as a database manager on my Centos server, despite having access to all of them, in the phpMyAdmin.conf . I have SELinux turned off. When trying to enter from my browser I get the following error:    Forbidden:...
asked by 07.05.2017 / 09:21
0
answers

Windows does not load but Linux does

Good morning it happens that I try to fix a PC that at first did not load the operating system for which I thought it was a hard drive error. I got another hard drive (Partitioning for windows 7 starter and Centos 6.5) and I tried it on another...
asked by 18.05.2018 / 15:26
1
answer

PHP Warning: date (): It is not safe to rely on the system's timezone settings

Greeting This error comes to me in my EC2 instance of Centos.    PHP Warning: date (): It is not safe to rely on the system's timezone   settings.       You are required to use the date.timezone setting or the   date_default_timezone_se...
asked by 11.04.2018 / 15:10
0
answers

Increase the memory of Apache Tomcat 7

Good evening, I have a problem that I still can not find a solution I would like you to help me; the question is the following I am trying to increase the memory for apache tomcat, I have reviewed other forums and they tell me to modify the file...
asked by 14.04.2017 / 02:25
1
answer

Enable network in CentOS 7 from VMware [closed]

recently I installed Centos 7 (x86) in a virtual machine with VMware, the problem is that I do not have a network, when doing ifconfig it only tells me that I have configured the file lo: Also when checking in / etc / sysconfig / network-s...
asked by 25.05.2017 / 17:13
1
answer

Make a downgrade to PHP from 5.4 to 5.3 in Centos 6.9

We recently need to update the version of mysql and when installing the repos and proceed to the installation of mysql these repos updated me in turn the server php affecting the functionality of the system that we have runn...
asked by 10.05.2018 / 10:13
1
answer

Command logs executed via terminal

There is a file .log where you can see the commands applied via terminal in Linux , I usually apply the command history to verify previously executed commands, but this time they deleted the history and I have no trace of whi...
asked by 16.10.2017 / 19:26