Vladimir
  • Member for 8 years, 1 month
  • Last seen more than 2 years ago
Cassandra initial token in cassandra.yaml
Accepted answer
2 votes

It seems that once the cluster has been initialized, the initial_token value gets written somewhere inside the Cassandra structure. Even after restarting the entire new cluster without the ...

View answer
Allow only selected domain to access http centos
0 votes

One way is to deny everything other than the CDN server nodes to your docroot, or whatever you need protected: <Directory /home/yourdocroot> allow from x.x.x.x allow from x.x.y.y deny from all &...

View answer
Cassandra tmpdir change location
Accepted answer
3 votes

Ah, looks like both options have to be present in the cassandra-env.sh file: JVM_OPTS="$JVM_OPTS -Djna.tmpdir=/home/cassandra/tmp" JVM_OPTS="$JVM_OPTS -Djava.io.tmpdir=/home/cassandra/tmp"

View answer
Is this possible: Use css from other virtual host?
Accepted answer
1 votes

Simple symlinking could do the trick, for example: /var/www/Electrician/css-stuff -> ../shared-css /var/www/Restaurant/css-stuff -> ../shared-css Make sure Apache or whatever is allowed to follow ...

View answer
What is the best way to sync 2 identical centos servers in real time
0 votes

You're going the wrong way about this. What you want to achieve is some sort of HA (high availability). I suggest you look into HAproxy. With its simple configuration, that's all you really need, ...

View answer
Should I exclude all 'dev/' or only 'dev/pts/' during full server tar backup?
6 votes

There is generally no need to backup anything under dev, since it's mostly generated upon boot by udev. I did a lot of OS migrations by simply rsyncing everything except stuff like proc, dev, sys etc. ...

View answer
Size of partition does not match files
Accepted answer
2 votes

It's possible that even with a restart that something is creating and holding the files. Do a lsof | grep deleted or something to that effect to view the (deleted) files. Also, a great program to ...

View answer
How to whitelist a directory in Apache configuration
0 votes

Try this: RewriteMap ipslist txt:/full/path/to/iplist.txt RewriteCond %{REMOTE_ADDR} ^(.*)$ RewriteCond ${ipslist:%1|black} ^black$ [NC] RewriteRule (.*) - [F] And your file should ...

View answer