Hot answers tagged centos
Read Why does my shell script choke on whitespace or other special characters? to understand the why. The 1-sentence version is: always use double quotes around variable substitutions. echo "$firstcontent" >/tmp/myfirstcontentfiles.txt mostly works: it doesn't collapse whitespace or expand wildcards in the value of the variable. However this still ...
The logs are causing the errors because apache cannot write to the root of your website. Even if you were to fix the file permissions, you'd still be blocked by SELinux; which only allows apache to write logs to /var/log/httpd. The easiest solution would be to change your website to log to this directory - maybe with a filename that contains the website ...
Append a / to both your ProxyPass lines as it seems that tomcat is redirecting to login instead of /login. Use: ProxyPass / ajp://server.ip.address:8009/ ProxyPassReverse / ajp://server.ip.address:8009/
Ran: xfs_repair -L /dev/centos_midas/home And was able to mount the volume and copy the files off to an external USB drive.
I got this error when I forgot to set the hostname for the machine. Have you done so? Run this command: echo 'example.com' >> /etc/hostname Verify with hostname Edit: With the updated OP, it looks like your hosts file isn't setup right. Here's what mine looks like; 127.0.0.1 localhost.localdomain localhost # Auto-generated hostname. Please ...
Disable UEFI in BIOS (manual) or create a GPT partiition table (gparted or gdisk). Example of creating one from Arch wiki: # gdisk /dev/sdX o # create new empty GUID partition table n # partition 1 [enter], from beginning [enter], to 100GiB [+100GiB], linux fs type [enter] n # partition 2 [enter], from beginning [enter], to 108GiB [+8GiB], linux swap ...
Blocking websites is somehow a cat-and-mouse game, and you will have to combine many methods to minimize the number of web proxies that your users can reach/access. Method 1 - Blocking common proxy regexes: Edit your /etc/squid/squid.conf file using your editor of choice and add the following lines: acl regex-prox-sites urlregex –i ...
As @masegaloeh says, you have another process listening on port 80, in this case httpd. You'll need to stop that service first (and probably want to disable it on boot). To stop Apache; systemctl stop httpd To stop Apache starting on boot; systemctl disable httpd
Only top voted, non community-wiki answers of a minimum length are eligible