In Linux CentOS :: 32 Or 64 Bit?
Mar 8, 2008In Linux centOS 5 which more properly used and why (32 or 64bit)?
It is a machine for hosting.
In Linux centOS 5 which more properly used and why (32 or 64bit)?
It is a machine for hosting.
I 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].....
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?
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
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
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 RelatedAnytime 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 ?
if i can create 2 VPS with completely different OS such as CentOS5 and Windows 2003 Std.
The main server will be running CentOS with HyperVM.
I am running lighttpd and eccelerator.
I have stripped the php-cgi.
I have tried forking anywhere from 50 to 300 to 1000 fastcgi children with PHP_FCGI_CHILDREN (through lighttpd, I'll attempt to do with same with spawn-fastcgi and fpm)
Server stats:
Intel Core i7 920
12GB DDR
250GB 7.2k RPM SATAII 16MB Cache
I am using to lighttpd's lighttpd-status to estimate concurrent connections.
When I refresh the panel, it shows that there are around 100-150 connections and around 150 requests/s in the last 5 seconds.
My vmstats show that CPU is 98% idle. Blocks written/read is neglible. MySql key_buffer set to 2gb and I'm pretty sure it's not mysql. The overwhelming majority of requests do not access mysql.
EDIT: Uh oh, I just realized that tcp_mem could be a huge bottle neck.
I just set it to:
net.ipv4.tcp_mem = 4096000 87380000 4194304000
It was previously:
net.ipv4.tcp_mem = somenumber somenumber 393,216 <<<--- WTF!
x1000 for my read values (it's an access server only). I can't benchmark the server right now so let me know if you have any suggestions besides this. I do think that this was the problem. When under load images could not be accessed either.
What is the best way to share files/folders between centos/linux servers?
View 7 Replies View RelatedI'm running a CentOS 6 server with Plesk 11.0.9 installed. It's only being used for dev purposes with only a couple vhosts running on it. All of the vhosts are using PHP - there are a few WordPress sites and Zend Framework 2 applications running. Up until a few months ago it was also running a high traffic WordPress site, but that's no longer the case.
This server has been running without problems for over a year. A few days ago I first started noticing 503 errors (Service Temporarily Unavailable) on accessing one of the vhosts from the web browser.
I logged on through ssh and noticed the load was a bit higher than I expected (nothing crazy though). All other vhosts using PHP also gave me the same error. The only vhost that was working normal was a Ruby on Rails app (Redmine).
I also did a netstat -napt and noticed many connections from two or three IP addresses. I checked their geographical location and after blocking them through iptables the problem seemed to have gone away.
Now it's a few days later and the same problem started popping up. I checked again through netstat and noticed that again a whole bunch of connections from only a handful of IP addresses were connected to Apache.
When I was digging deeper I noticed that some of those IP addresses were what looks to me like other servers (at least they're running Apache). I'm suspecting they are hacked servers and they're trying to use my server to send spam or some other type of evil.
I just blocked those new IP addresses in iptables and that seemed to have solved the problem for now again, but I want to solve the root of the problem.
So my questions are:
1) How can I find out to what vhost those clients are connected?
2) Why does Apache stop working with not that many client connections, when it used to serve thousands of visitors at the same time when that big site was still running on this server?
3) What could they possibly be using my server for? The first time it happened I thought that they found some leaking WordPress plugin to use to spam people, but today I checked and there's barely anything in the mail queue.
couldn't find any installation guide by Paralles how to install Plesk12 step by step. Found some on the internet, got the webinstaller started, but it says I should visit "192.168.0.100:8447" in my browser, which is just the internal IP of the server. Now I don't know what to do now, it's a fresh installed CentOS 6.5
View 6 Replies View RelatedI am running CentOS 5.5, Plesk 12.
Access_log and error_log are being rotated around 10AM daily for my server.
But for busy days access_log and error_log gets very big to inspect. Is there any way that I can manually reset the logs for the time being but without changing the daily rotation time?
I'm just testing Plesk 12 on CentOs 7 and after installation is succesfully completed, I cant access [URL]
This is the environment and steps which I taken:
* Fresh CentOs 7 iso
* Windows 2008 R2 Hyper-v hypervisor
1) Installation of the CentOs successfully completed
2) Yum update
3) Download auto-installer
4) Run auto-installer
5) process successfully completed
6) NOW I CAN'T access the url ...
I would like to ask if its possible ( supported ) to run Parallers Plesk 12 Panel on centos 7 ( openlogic) in Microsoft Azure infrastructure.
View 3 Replies View RelatedI want to update CentOS from:
Code:
Version Parallels Plesk v12.0.18_build1200140606.15 os_CentOS 6
OS CentOS 6.6 (Final)
to CentOS 7.
What steps I need to do to install CentOS 7?
Which protocol I should use for performing a backup of important server files and folders. I do make a snapshot but i found that's not enough.
My Centos 6.6 has ProFTPD configuration setup only for webhosts so no root access. I came across SCP, but don't know how to secure that like a Pro. I have also heard about SSHFS for linux.