Add 2 Range Ip In Linux Centos
Jul 6, 2008i have 2 range ip
range 1 is : 111.111.111-119
range2 is : 222.222.222-229
how may i add both range?
i can add for one range,but about 2 rage i can`t
i have 2 range ip
range 1 is : 111.111.111-119
range2 is : 222.222.222-229
how may i add both range?
i can add for one range,but about 2 rage i can`t
I am trying to block this whole range of IPs, all that begin with 66.249. How is is that done?
View 1 Replies View RelatedI am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.
Here are my details:
Linux
Centos 5.5
PHP 5.3.3
x86_64
Plesk 12
I have tried installing all sorts of different repos and it just isn't working.
When I try to install using # yum install php-mcrypt I get the following:
Loaded plugins: fastestmirror
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
[Code].....
In Linux centOS 5 which more properly used and why (32 or 64bit)?
It is a machine for hosting.
Which one do you recommend for Linux OS server easy to use & stable?
( CentOS 3.x or 4.x , Fedora Core 4 or 5 )
With Windows, it's simple to know when you need to upgrade the memory on a server. On Linux, apparently alot of RAM is reserved for cache?
Anyways, I currently have 2GB of RAM in a server and am wondering when the RAM should be upgraded. The server has became quite unstable and server load is always below 2, usually around 0.60 - 1.20.
Here's the current memory usage from PHPSysInfo (picture below):
[url]
Would you recommend I upgrade the RAM to help with stability?
rsync -ave ssh greendome:/home/ftp/pub/ /home/ftp/pub/
if greendome host has ssh port 55111 where put that in command?
i tried -p 55111 after ssh and greendome word and there was error
Please write me good command
Let's say when i first joined the datacenter, i'm given some 16 IPs from 123.123.123.*.
Now that i need more IPs, and they have to give me IPs from 123.123.124.*, am i right to say i need a new switch?
Now is it possible that i link up the new switch together, so that both switch can pick up any available IPs from either range?
I've searched the web to set up ssl on 1 domain of 2 installed op 1 ip address. It seems easy: setup virtual hosts, turn ssl on and point to your certificates.
I'm completely lost. I setup the certificate from geotrust in plesk panel 11.5 as described in the manual but that didn't work, apparently because i have 2 domains and 1 ip.
So i started looking to adapt my vhost settings to use sni. First problem: i can't find the setting of the virtual host.
Secondly where can i find the path to the .key and .crt files.
How i can install a ssl certificate on one of the two domains sharing 1 ip.
How to upgrade PHP to PHP 5.4 on CentOS 6 ?
View 4 Replies View RelatedI'm running a web server with mod_evasive and want to know how can I prevent mod_evasive from blocking the googlebot crawler ip address.
Is there a script out there that can detect this crawler and make sure its ip doesnt get blocked by iptables or mod_evasive?
am using APF firewall and am getting ddos from these range ips
4.68.25.*
8.0.4.*
8.0.5.*
how could i delete all the range from these ip's?
I set up a forum for a small group of users, so I don't really wish to see spiders or bots on it, so I've put a robots.txt file there to prevent all of them from accessing the forum pages.
I know not all bots follow the robots.txt rule, and these days a really annoying bot called MUNAXNET or Munax AB with IP range 82.99.30.0 - 82.99.30.127 is causing the forum to have extra and unexpected loads.
I've tried to block this IP range with .htaccess and uploaded it to the root of the site a few days ago, here is the content:
<Limit GET HEAD POST>
order allow,deny
deny from 82.99.30.0-82.99.30.127
allow from all
</LIMIT>
However strangely it seems that all of these are not working for this bot, today I saw my forum had 80 users online and that army still keeps coming and browsing all pages of my forums...
I tested the .htaccess with blocking myself, and it actually worked for me, dunno why it's not working for that bot..
we want a dedicated server with a full range of ip with our own company name(or with my name) and abuse mail
+ kvm and apc access
we need a good support too , for example if we want to check our hard disk the provider check it fast
Anytime I've gotten these before, they were stored in:
/var/log/messages
Today (according to logwatch), I got a protection fault in "top".
But when I view /var/log/messages... nothing is there relating to a fault.
The only kernel message that appears is a martian source.
I also hadn't logged into ssh today, isn't "top" an ssh command.
Sometimes my apache gets hanged due to memory leak or persistence connection, then needs to be restarted manually, how can I make this process automatic, that is it get restarted whenever it got hanged or shutdown?
View 9 Replies View RelatedI have been trying to run mozilla and/or firefox commands on my centOS linux box for the last 2 days but I just cant figure it out. I nstalled XVFB which is a virtual X environment but when ever I issue a mozilla command such as mozilla -width 1024 it always outputs the same error: (mozilla-bin:32001): Gtk-WARNING **: cannot open display:
I dont know what the problem is or what im missing..what I need to install etc...can anyone shine some light on this?
We purchased license for MagicSpam and now couldn't find anywhere installation for Centos 7...How to install?
View 2 Replies View RelatedI am attempting to migrate from a debian os server with the latest plesk 12 to Centos (rather cloudlinux) and would like to know if there are any options that should not be checked during the process?
I recently tried to do the normal procedure, which is to transfer all objects, etc. And for some reason the percentage went from 1-50% to then back to zero.. but when clicking to check the current status, its still working
Status: in progress
Current operation deploying domain.com
current operation progress: empty bar
Different sites are transferring, but I am not sure if the migration will effect the system because the difference in OS folder structure and file location.
Can i install imagemagick on centos 6.5 with this commands?
ImageMagick:
[root@server ~]# yum install ImageMagick
[root@server ~]# yum install ImageMagick-devel
PHP-imagick:
[root@server ~]# yum install gcc (Please note: if it is already installed, then it will be updated if required)
[root@server ~]# yum install make automake
[root@server ~]# yum install php-pear
[root@server ~]# yum install php-devel
[root@server ~]# pecl install imagick
Now you will have to add the imagick extension in your PHP condifuration file:[root@server ~]# cd /etc/php.d/[root@server ~]# nano -w imagick.ini
Then you put following line in that file:extension = “imagick.so”..And save it with <CTRL> <O>After finishing this, you will have to restart Apache as follows: [root@server ~]# service httpd restart
I have the latest centos 7 and plesk 12 installed on a dedicated server and i wish to add a new IP to use on a specific website. However, when I am trying to add the IP in plesk i am getting the following error:
Code:
Error: ifmng failed: sh: /sbin/ifconfig: No such file or directory /sbin/ifconfig 'eth0:1' '85.214.93.196' netmask '255.255.255.255' up exited with non-zero status 127
I have read somewhere on the forum that installing iptables can fix this but cents 7 is using the new firewald and i am wondering if in the future such a change will not affect the well being of the overall server.
Is there any solution to this problem or will there be a fix from Plesk in the near future ?
I am trying to install a magento on Plesk Version 12.0.18 Update #19 / CentOS Linux 7.0.1406 (Core).
Plesk is reporting that it cant install magento because php-mcrypt is missing. So I tried the following:
Code:
1) rpm -ivh [URL] ....
2) yum update
3) yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.plusline.de
* epel: mirror.23media.de
* extras: ftp.plusline.de
* updates: mirror.netcologne.de
[Code] ......
What can i do to install mcrypt without breaking other dependencies ?
Why isnt Plesk 12 configuring firewalld under CentOS 7 correctly? We have to manuella enable port 8443 and all other ports manually with firewall-cmd..
View 1 Replies View RelatedWe noticed that for now only Plesk 12 supports RHEL / CentOS 7. Is support for EL 7 planned for Plesk 11.5?
View 13 Replies View RelatedI have new Linux server with CentOS 6.6 on it. I have tried to install Plesk version 12.0.18 on it.
During installation process from http://autoinstall.plesk.com/plesk-installer shell script I'm getting error:
START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:09:44 CST 2014
***** problem report *****
ERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:10:01 CST 2014: PROBLEMS FOUND
START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:15:46 CST 2014
When I have tried to run command:
# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
I'm getting errors:
---TRANSACTION 0 0, not started, process no 32603, OS thread id 139715979196160
MySQL thread id 38, query id 7054 localhost admin
SHOW ENGINE innodb status
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
[Code] ....
how to protect Linux Server from Ddos Attack (Botnet, Loic)
View 2 Replies View RelatedI am trying to install Plesk 12.0 on fresh CentOS 6 (64bit). It goes as far as initialising the databases and then moans about missing files:/usr/bin/sw-engine: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I then install libpng
$ yum install libpng.x86_64
Re-run installer and hits next error - libfreetype:
/usr/bin/sw-engine: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directoryI have CentOS-base repo and Epel repo enabled.
Why are those files not being installed as dependencies by Plesk? Is this a bug ?
I need to ban IP range and I inserted say ip 12.44.0.0 in the deny_hosts rules, this should ban range from 12.44 but strange is people from that range still be able to access my site, any idea what went wrong?
View 3 Replies View RelatedServer: OS RHEL 4
Web Server: Apache1.3.37
Hi. I want to block a range of IPs. Currently, I use the following command as an effective weapon against the IPs of people I find in the log trying to do bad things.
/sbin/route add -host x.x.x.x reject
Works like a charm. I then put the offending IP in the file /etc/rc.d/rc.local so that it will reload the bad ips when the server reboots next.
I also use the CSF/LFD firewall, and it successfully blocks single, offensive IPs also.
What I need, though, is the ability to block an entire range of IPs. For example, i have a very persistent hacker trying to access from a certain range like so....
255.155.x.x.
The last two numbers are always changing but the first two remain the same.
How do I block this "range" of IPs from accessing my server?
Note, I know how to block a range of IPs in a .htaccess file for a certain account, I put this in the .htaccess file...
deny from 205.196.
But when I try this with /sbin/route, it will not accept the ip. My firewall will also not accept a range of IPs.
Is there any way to block all and just allow certain IP using APF or iptables?
I want to block all the traffic to the server and just alow IP range.
I have a client who needs to block IP range on a windows server. However, he is using Cloud hosting from Rackspace. I guess they are not being corporative in doing so. Anyway to do this without root? Perhaps from the control panel?