Howto Install PHP/Java Bridge In Server Centos5.2
May 10, 2009i have server
system centos5.2
Apache 2.2.11
PHP 5.2.9
how can install HP/Java Bridge?
in this link he said install Apache Tomcat
but i have Apache 2
[url]
i have server
system centos5.2
Apache 2.2.11
PHP 5.2.9
how can install HP/Java Bridge?
in this link he said install Apache Tomcat
but i have Apache 2
[url]
i have installed xen kernel et libraries, i try to install a guest os with virt-install, and when i hit the network installation it doesn't seam to work. The installation doesn't go further.
Anyone has experience with xen ? I'm a good unix admin but i havn't worked alot with xen yet. I can make it work on other hardware but it seams that for some reason it doesn't work on my dedicated server.
Can someone please provide me steps to install FFMPEG on centos5.
View 4 Replies View RelatedFFMPEG INSTALLATION FROM SOURCE
FFMPEG INSTALLATION FROM SOURCE
installed by:
Robertas Dereskevicius
Edited by Jon Nikolakakis
OS/ Fedora Core 5
Summary
download and install:
libffac
libffad2
xvid
libogg,libvorbis
mp3lame
ffmpeg
Setting Up Install Folder, Logging and download Packages
1)Log into ssh
2) cd /usr/src && mkdir install && cd install
3) Download faad2 and faac
from http://faac.sourceforge.net/oldsite/download.php get Faad2 and faac (new versions)
wget http://prdownloads.sourceforge.net/f...ar.gz?download
wget http://prdownloads.sourceforge.net/f...ar.gz?download
4) Verify that you have these components are installed
rpm -qa automake
rpm -qa autoconf
rpm -qa libtool
rpm -qa m4
rpm -qa gcc-c++
If any are missing than simply yum install (packagename), if you dont have a package manager than get one, it will save you alot of time
and headaches.
Installing Faac
5)tar -zxvf faac-1.24.tar.gz && cd faac
6) sh bootstrap
7) ./configure
8) make
9) make install
10) cd ..
Installing Faad2
11) tar -zxvf faad2-2.0.tar.gz
12) cd faad2 && less README.linux
13) There is 2 bugs with this package, so need to manually edit these files
14) nano Makefile.am
Edit the file to look like this
SUBDIRS = libfaad common frontend plugins
EXTRA_DIST = faad2.spec
15) cd common/mp4ff && nano mp4ffint.h
16) Comment out this line
//void mp4ff_track_add(mp4ff_t *f);
17)Save file and cd ../..
18)autoreconf -vif
19) ./configure
20) make
21) make install
Installing Libogg and Libvorbis
22)cd .. and then Check to see if libogg and libvorbs
rpm -qa libogg-devel
rpm -qa libvorbis-devel
rpm -qa libncurses-devel
If not installed then simply Package Install (replace yum and install settings with your package manager)
yum install libogg-devel
yum install libvorbis-devel
yum install libncurses-devel
Installing LAME (for audio)
23)go into lame sourceforge - http://sourceforge.net/project/showf...package_id=309
24)wget http://mesh.dl.sourceforge.net/sourc...me-3.97.tar.gz
25)tar -zxvf lame-3.97.tar.gz
26)cd lame*
27) ./configure; make;make install
Installing Xvid
28) cd .. && wget http://downloads.xvid.org/downloads/...e-1.1.2.tar.gz
29)tar -zxvf xvidcore-1.1.2.tar.gz && cd xvid*/build/generic/
30) ./configure; make; make install;
31) cd ../../..
Installing ffmpeg
32) rpm -q subversion If not install, then install subversion
33)svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg && cd ffmpeg
34) ./configure --enable-shared --enable-xvid --enable-vorbis --enable-libogg --enable-mp3lame --enable-gpl --enable-faad --enable-faac --enable-a52
35)make
36)make install
If Installation went ok, run
ldd ./ffmpeg
If Path to Lib Libraries are not ok
37)Check to see if /usr/local/lib exists on this file
cat /etc/ld.so.conf
If not
echo /usr/local/lib >>/etc/ld.so.conf
38) cat/etc/ld.so.conf Now check to see if (/usr/local/lib exist)
39) save file
40) ldconfig
41) run ldd ./ffmpeg
FFmpeg should be complete and installed. On some servers you may need to add Disable Shared and enable flags.
I tried to install some software but I got this message:
Checking for perl modulesfailed
You need to install the LWP perl module (libwww-perl) to install ...
Does any one know how I can install this module or is it better to install/update the whole sets of perl module?
I try more time noting
root@serv01 [/opt]# ./j2eesdk-1_4_03-linux.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Extracting Java(TM) 2 Runtime Environment files...
Extracting installation files...
Launching Java(TM) 2 Runtime Environment...
Error: The Java(TM) Virtual Machine has aborted.
Deleting temporary files...
Deleting temporary files...
how can install java because i need to it
I want to setup a bridge between 3 servers but it's not working.
My Setup :
PHP Code:
server1 => eth0 : Plugged into router (internet)
eth1 : Plugged into 3com switch
server2 => eth1 : Plugged into 3com switch
server3 => eth1 : Plugged into 3com switch
server1 is CentOS5. I've done this :
PHP Code:
yum install bridge-utils -y
/usr/sbin/brctl addbr br0
/usr/sbin/brctl addif br0 eth0
/usr/sbin/brctl addif br0 eth1
/sbin/ifconfig eth0 0.0.0.0 up
/sbin/ifconfig eth1 0.0.0.0 up
/sbin/ifconfig br0 xxx.xxx.139.146 netmask 255.255.255.224 up
/sbin/route add default gw xxx.xxx.139.129 br0
I've got a range of IP xxx.xxx.165.176/28 (not configured on server1)
on server2, if I do :
ifconfig eth1 xxx.xxx.165.177 netmask 255.255.255.240
I can't reach the server... got an idea why ? Should be working... ?
I have a Cisco 7200 NPE200 routing for my dialup customers. The router has been intermittant for a few months, and eventually wouldn't boot up at all. Finally, I got the finances to replace the RAM.
The router now boots up fine, and I can log in and action things within the router.
I do however get a serious error message, which basically stops the router from functioning. The mesage is: "Unsupported bridge adapter ..." And then "Powering down bridge adapter in bay 5".
This bridge adapter is my ONLY ethernet connection to the router!
I've removed the card and replaced ensuring that it seated correctly, but still nothing.
How much would i be looking at if I had to replace the card? Would I need to change configurations if I do replace it?
Any straight up easy way. So they stay permanent?
Can I simply use system-config-network and add each IP one at a time.
I am making an online game and I'm wondering which OS would be the better choice to run my server (written in Java) under.
View 6 Replies View Relatedservlet, struts, jsp hibernate. Java web libraries.
View 5 Replies View RelatedI have a pretty new install of PPA with a Windows 2012R2 IIS Web servers. I just noticed it has Java 1.7.0 Update 25 installed which has A LOT of vulnerabilities. Can I safely upgrade this?
Suggestion: If something is installed/required by PPA it should also be kept up2date by PPA.
This kind of stuff makes me quite worried about anything installed by PPA on any of my nodes including Linux.
Do you have a team at Odin that makes sure everything is up2date and safe?
We uploaded one .Net application and one Java Web application to Parallels server.
.Net application is configured by default.
Our Java web application has JSPs and Servlets.
With respect to our Java web application we are able to access the JSPs but any request to Servlet is not hitting the Servlet.
We are able to access either static JSP/HTML pages ONLY. But we need to process Servlet requests also.
we got a new box with 4GB of ram but seem that Centos 5 show only 3Gb why?
root [/]# free -m
total used free shared buffers cached
Mem: 3290 2757 533 0 228 968
-/+ buffers/cache: 1560 1729
Swap: 8001 0 8000
root@mikonos [/]# uname -a
Linux 2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:46:09 EDT 2007 i686 i686 i386 GNU/Linux
the same server with Centos 4 report 4GB
I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.
View 10 Replies View RelatedcentOS5 don't come with mass install software?
Any perl modules and rpm sources can compile on 64bits version?
Trying to get something sorted on a VPS that I want, but when I try to run a script I get the following error:
cp: cannot stat `/lib/libxcrypt.so.1': No such file or directory
which is easy enough for me to understand however, I cannot find what package I need to install to provide the file.
I have searched for libxcrypt* on the box to see if its hidden elsewhere but to no avail.
I have a VPS with CentOS5 and CPanel...for some reason if I went to that URL it would show the website for the second account created in WHM...so I modified the httpd.conf and added the domain, but for some reason subdirectories won't work on it.
View 2 Replies View RelatedI have been struggling with a couple of new servers that we want to run Centos 5 on. For a second assume that is our desire so going back to 4.x isn't an option yet.
Now while I mention Centos 5, the problem seems to be with PAM and x64.
When trying to login to the server via ssh, the login succeds but then immediately kicks the user out. I have tried this with root and another user created. I have set the UsePam option to no to try to resolve this in sshd_config.
On the H-Sphere forum I found this reference:
[url]
" if i try to connect with ssh and i enter the right password i get an error and ssh closes the connection. The answer already was in the ticket you opened:
Quote:
That is known bug dealt with PAM authentication.
The bug was fixed for i386 systems long time ago. But it was not fixed for x86_64 architecture.
We build FreeVPS kernel new version 1.5-13.1 for x86_64 architecture to fix the problem.
We also installed the kernel into the box IP 64.71.227.16.
Please reboot the box with the new FreeVPS kernel version: 2.6.9-freevps-1.5-13.1smp.
Let us know the result."
Does anyone know how to resolve this? A reinstall of PAM was attempted by a well known sysadmin here but to no avail.
I tried CentOS5 on my new server. Having CentOS 4 on all other server I never faced this issue. I always get server with vim -minimal installed and I install vim enhanced and common to get text color highlighting.
View 2 Replies View RelatedWe have a weird issue on one of our centos 5 servers, running the 2.6.18-53.1.4.el5 kernel
for some reason we cant mkdir any directories that are numerically named
ie mkdir 5789 doesnt work
alpha and alpha numeric work fine... ie mkdir ab567a
Quote:
[root@]# mkdir 6
mkdir: cannot create directory `6': No such file or directory
[root@]# mkdir 6ab
[root@]#
Someone suggested the adore-ng rootkit was to blame but we have run ossec root check, rkhunter and chkrootkit and even run clamav over the drives and cant find anything nasty
On a CentOS5 VPS I have access to "yum update" barely working due to the base mirror "styx.biochem.wfubmc.edu" being tremendously slow.
I'm trying to find out how to disable that mirror possibly via a mirror exclude setting in yum.conf or some other way. I've been searching but I've not found any documentation on this so hopefully somebody out there will know how to make this change.
I just colocated a 2U supermicro server for a VPS node and experiencing troubles getting HyperVM (ovz) and centos5 to run on it. First of all, the h/w specs.:
2x dual-core opteron 280
12GB DDR400 ECC Reg. RAM
Supermicro H8DA8 mainboard
Adaptec 2120S RAID card with BBU, writecache on
6x73GB SCSI as RAID5+hotspare
All firmware updated
I asked DC staff to load centos5 x64. They installed 5.1 and it was running fine.
However, they said centos 5.2 didn't install. So, I ran a yum update and it updated to 5.2 including kernel.
After the update and issuing a reboot, the box did not come back online and on consoling it, they said error messages scroll too fast to be read after the centos splash screen and it loops on like that. Only the 5.1 kernel 2.6.18-53.el5 seem to boot fine though.
I booted with the old kernel and installed hyprvm; set grub to boot using the ovz kernel and rebooted. Sadly, the same errors and server non-responsive.
Does anyone have any clue regarding this issue? Should I try my luck with centos4.7 x64 instead?
I´ve a domain but haven´t set the DNS servers yet....now I get a free hosting and I wanted to associate the DNS servers to my domain but I don´t know how!!!
It would be great If you could help me...and let me know if you need more info..
How do I configure dedicated IP's on Virtual Machines running on a CentOS5 Host?
I installed VMWare Server 2 almost without a problem using no GUI, I now have the web interface for the VMWS2 and any machine I create and run on it seems to do so without a problem.
The thing is, I can't connect or know how to configure this virtual network so I end up using 2 dedicated IPs on the Virtual Machine.
I've been attempting to develope a server running apache 2+, php 5, and I was running into issues installing php as cgi.... All my scripts require The shebang:
#!/usr/bin/php at the top to execute properly. Anyone know a good site/how to that explains how to do this?
has anyone else here run suexec with apache? If so, could you tell me what you compiled it with? Just curious, as I think i'm doing everything right, yet I still fail
i have 1 dedicated server, and 1 shared hosting the domain.com is hosted in dedicated server i want the subdomain sub.domain.com in other host
i have try this but not working :
I. the dedicated server have whm and cpanel
in whm i go to DNS Functions --> Edit DNS Zone --> i add sub name , choose A, and enter other ip host
II. the shared hosting only have cpanel
i go to cpanel --> addons domain --> add my domain.com
then go to cpanel again --> Subdomains --> i add sub from domain.com
with above step i just got this when accessing the url http://sub.domain.com :
Quote:
Great Success !
Apache is working on your cPanel® and WHM™ Server
If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content.
Anyone have any info on how to do this? It appears my hosts don't know how to do it..
"You have the tun module which can be loaded via a modprobe but the dev entries would appear to be needed to be made. Of course, you could do this if you know how or wait while I research it. We know tun/tap works on openvz but you're the first request we've had on Xen."
I'm on CentOS 4.4, webmin, LAMP, OpenSSH and ProFTPD server.
But what I'm wondering is how to look at my off network backup space.
I can only access my backup space through the DC network/my own server. So I need some kind of way to bounce a GUI ftp connection off the server - which would allow me to look at the files...
I know I can use rsync for backing up and restoring. But the way I understand rsync I need to know exactly what I am to move, as it operates on an exact command.
"You have the tun module which can be loaded via a modprobe but the dev entries would appear to be needed to be made. Of course, you could do this if you know how or wait while I research it. We know tun/tap works on openvz but you're the first request we've had on Xen."
View 2 Replies View Related