Hot answers tagged

3

A libsrtp package is available in the EPEL repository. EPEL is "extra packages for enterprise Linux." First ensure that the CentOS Extras repository is enabled. (It is enabled by default.) Use yum to install the epel repository: yum install epel-release Then use yum to install libsrtp from the EPEL repo. yum install libsrtp This method is the ...


3

It would be like this: *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [3:353] :POSTROUTING ACCEPT [3:353] -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080 COMMIT # Completed on Mon Jun 20 23:41:41 2016 Do you know how to do it the easy way? I assume you have disabled the firewalld and installed iptables-services because ...


2

You need these tools: Install "lsscsi". It's very good to find out what drives you actually have. Install "disktype". If you point it on a drive you'll be able to see what is actually there. Use "cat /proc/mdstat" to see what's up with your software raid devices (/dev/md*) Looks like you have: /dev/md0 raid1 from 4 16Gb first partitions of every drive ...


2

If you cannot find the files that it is loading in your web directory, there could be a problem of someone pointing your DNS to their server in order to hijack your traffic. I would start with verifying your DNS, and after that is made sure to point to the correct place, try running a new installation of wordpress with just a default page to see if it ...


2

I have created a script that may be helpful for creating swap on ephemeral devices. It uses lvm to create the swap volume and also creates a volume that might be useful as /tmp. You could use cloud-init to trigger it. bootcmd: - [ cloud-init-per, once, mk-eph, /usr/local/sbin/mk-eph.sh] # Filesystem setup fs_setup: - label: 'tmp' filesystem: 'xfs' ...


2

Since this question was answered last, a new web based search site has become available: http://centos-packages.com It works pretty well, but results are limited to the latest release per major version, e.g. CentOS 6.8 and 7.2 From the about section, it is "a personal project by Johannes Gehrs, not associated with CentOS"


1

You could see on your iptables config an see such entries: -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT -A INPUT -p tcp -m tcp --dport 20 -j ACCEPT -A INPUT -p tcp -m tcp --dport 53 -j ACCEPT -A INPUT -p udp -m udp --dport 53 -j ACCEPT -A INPUT -p tcp -m tcp --dport ...


1

if you want all the emails being sent via gmail, you have to set relayhost to smtp.gmail.com:587 as you wrote. This is not enough, though. You need to create and edit the file /etc/postfix/sasl_passwd Write a line in it like below: smtp.gmail.com:587 user@example.com:password where: user@example.com is a valid username in your gmail hosted domain ...


1

You are not wasting space. tmpfs has to be used before it will use RAM and paging space. free -h will show you memory use in human readable units. If you were using tmpfs space, that would be under shared.



Only top voted, non community-wiki answers of a minimum length are eligible