LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   i wanna lan ip in my centos 6.5 (https://www.linuxquestions.org/questions/centos-111/i-wanna-lan-ip-in-my-centos-6-5-a-4175529310/)

systems@pickzy.com 12-27-2014 03:10 AM

i wanna lan ip in my centos 6.5
 
when i enter the
# rpm -i iptux-0.5.1-alt1_13.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by iptux-0.5.1-alt1_13.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by iptux-0.5.1-alt1_13.x86_64
rpmlib(SetVersions) is needed by iptux-0.5.1-alt1_13.x86_64

Aftr tat i have tried to install libc.so.1 but this is available only for cenos7.
i'm also tried to install this package.But didn't install.

Anotherway i have tried by extracting the ip pachage and within a ip directory when i tried to run the "./configure" it will display some packages like libc.so.1 is needed ..so
pls help me guys.i can't install ip messanger in my system

John VV 12-27-2014 03:48 AM

A question?
WHY are you using rpm to install a program?

the recommended method it to use yum

it is DESIGNED to solve the dependance issues CAUSED by only using rpm


as to fixing things

for starters CentOS 6.5 is unsupported
cent only supports the CURRENT minor version

CentOS 6.6

to check run
Code:

cat /etc/redhat-release
if it says 6.5

UPGRADE to 6.6 ASAP
and do that FIRST


Code:

su -
yum --releasever=6.6 upgrade


systems@pickzy.com 12-27-2014 03:56 AM

K thnk you fnd.
 
but may i knw fnd unsuppotred means ?
I dnt knw abt linux bcz i'm fresher of it.
will anything not support by 6.5?
with tht i cant understand minor version fnd

unSpawn 12-27-2014 08:14 AM

Quote:

Originally Posted by systems@pickzy.com (Post 5291010)
but may i knw fnd unsuppotred means ? (..) will anything not support by 6.5?

Read http://wiki.centos.org/FAQ/General#h...0321e868f43c0e and especially this part:
Quote:

If you update any CentOS-5 or CentOS-6 product, you will be updated to the latest CentOS-5.y or CentOS-6.y version.

Any point release is just a "snapshot" with previous updates, plus the latest batch of new upstream updates, rolled into a new [base] repo with an initially empty [updates] repo. Unless you have defeated the $baserelease mechanism and the conventional symbolic link for the major release (currently 6) pointing to the current point release (6.x) upgrades between point releases happen "automagically".

Old point releases are never supported.
*And as English is not your first language please spell out your words.

systems@pickzy.com 12-29-2014 12:56 AM

k thanks for replying friend.

and i'm not in upgrading sutuation.so is there any way to installing lanmessanger in my pc fnd?? pls give some tips fnd

unSpawn 12-29-2014 03:08 AM

Quote:

Originally Posted by systems@pickzy.com (Post 5291813)
and i'm not in upgrading sutuation.

You asked:
Quote:

Originally Posted by systems@pickzy.com (Post 5291010)
will anything not support by 6.5?

...and the answer is you must update to CentOS 6.6.
So yes, you are.


Quote:

Originally Posted by systems@pickzy.com (Post 5291813)
so is there any way to installing lanmessanger in my pc

Different questions / problems mean you should create a different thread. For now go find the appropriate repository that has a "lan messenger" RPM package for CentOS 6.6. If there are none then download the appropriate "lan messenger" source package (.src.rpm) and its dependencies and rebuild the package as unprivileged user (see 'man rpmbuild).

*And I suggest this one more time: please spell out your words and please use your browsers or LQs text editing spell checker.

systems@pickzy.com 12-29-2014 04:07 AM

k thanks fnd.
 
i have done the upgrading to centos6.6.then what to do

unSpawn 12-29-2014 05:10 AM

Find (Google) the appropriate YUM repository that has a "lan messenger" RPM package for CentOS 6.6 then install it. If there are none, then download the appropriate "lan messenger" source package (.src.rpm) from the vendor, install any dependencies and rebuild the package as unprivileged user (see 'man rpmbuild).

systems@pickzy.com 12-29-2014 05:13 AM

frnd.i have installed ip messanger succesfully.
thanks for ur cooperation buddy,,

then i have another one doubt.
that is i can't install subversion(svn) succesfully.i have tried svn installtion using many websites but did"t work.i need complete steps for the installation friend

unSpawn 12-29-2014 07:05 AM

Quote:

Originally Posted by systems@pickzy.com (Post 5291885)
thanks for ur cooperation buddy

You're welcome.


Please note: asking different (new) questions means creating a different (new!) thread.
Quote:

Originally Posted by systems@pickzy.com (Post 5291885)
i have tried svn installtion using many websites but did"t work.

I'm sorry but "didn't work" is not enough information to help us help you. Start by posting how you installed svn (should be just 'yum -y install svn') and the exact configuration, command line and errors you got when accessing a SVN repository.

systems@pickzy.com 12-29-2014 08:55 AM

I have followedby this tutorial pdf :
http://www.tutorialspoint.com/svn/svn_tutorial.pdf

#yum install subversion

#yum install mod_dav_svn subversion
After that i'm gng to edit "/etc/httpd/conf.d/subversion.conf" file by

LoadModule dav_svn_module
LoadModule authz_svn_module
After
adding
modules/mod_dav_svn.so
modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath /var/www/svn
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /etc/svn-users
Require valid-user
</Location>

After that i have added user tom and jerry by

[root@CentOS ~]# htpasswd -cm /etc/svn-users tom
New password:
Re-type new password:
Adding password for user tom


[root@CentOS ~]# htpasswd -cm /etc/svn-users jerry
New password:
Re-type new password:
Adding password for user jerry


then
# mkdir /var/www/svn
#cd /var/www/svn/
#svnadmin create project_repo
#chown -R apache.apache project_repo/

enabled
/selinux
enforcing
enforcing
24
targeted

# chcon -R -t httpd_sys_content_t /var/www/svn/project_repo/

#chcon -R -t httpd_sys_rw_content_t /var/www/svn/project_repo/

#service httpd restart



these all steps are ran succesfully.
After that when i enter the url "http://localhost/svn/" in browser it will display not found messange.
the browser need to ask a username and passwd for enter in to that browser.

i thing i need to change the configuration file for apache.but where have to edit and what to do .pls help me friend

unSpawn 12-29-2014 09:01 AM

Quote:

Originally Posted by systems@pickzy.com (Post 5291961)
After that when i enter the url "http://localhost/svn/" in browser it will display not found messange.

What do the Apache access and error log say about accessing "http://localhost/svn/"?

systems@pickzy.com 12-29-2014 09:09 AM

Not Found

The requested URL /svn was not found on this server.
Apache/2.2.15 (CentOS) Server at 10.0.0.251 Port 80

unSpawn 12-29-2014 12:53 PM

SVNParentPath shouldn't be readable anyway (unless you set the directive) so what if you access "http://localhost/svn/project_repo/"?
Let's see:
Code:

chmod 0640 /etc/svn-users
chown -R apache.apache /etc/svn-users /var/www/svn
chcon -R -t httpd_sys_rw_content_t /var/www/svn
/etc/init.d/httpd restart
umask 0027; makedir -p /tmp/svn/{trunk,branches,tags}
svn import --username jerry --password [YOURPWSSWORD] -m "Test import" /tmp/svn/ "http://localhost:80/svn/project_repo"
find /var/www/svn -ls
tac /var/log/httpd/{a,e}*_log | head -100 | grep -m10 "svn/pro"


systems@pickzy.com 12-30-2014 12:05 AM

thanks for replying....dude
 
I cant run this
# svn import --username jerry --password [jerry] -m "Test import" /tmp/svn/ "http://10.0.0.251:80/svn/project_repo"
svn: E175002: Unexpected HTTP status 405 'Method Not Allowed' on '/svn/project_repo'

svn: E175002: Additional errors:
svn: E175002: PROPFIND request on '/svn/project_repo' failed: 405 Method Not Allowed
when i enter "file://10.0.0.251/svn " it will display
but "http://10.0.0.251/svn" is not working buddy..

and i cant run also

#svnListParentPath on
bash: svnListParentPath: command not found


but the following commends are


[root@svn etc]# tac /var/log/httpd/{a,e}*_log | head -100 | grep -m10 "svn/pro"


10.0.0.251 - - [30/Dec/2014:11:28:22 -0500] "PROPFIND /svn/project_repo HTTP/1.1" 405 318 "-" "SVN/1.8.10 (x86_64-redhat-linux-gnu) serf/1.3.7"
10.0.0.251 - - [30/Dec/2014:11:28:22 -0500] "OPTIONS /svn/project_repo HTTP/1.1" 200 - "-" "SVN/1.8.10 (x86_64-redhat-linux-gnu) serf/1.3.7"
10.0.0.251 - - [30/Dec/2014:11:28:22 -0500] "OPTIONS /svn/project_repo HTTP/1.1" 200 - "-" "SVN/1.8.10 (x86_64-redhat-linux-gnu) serf/1.3.7"

what is the problem friend i can't guess

please help me


All times are GMT -5. The time now is 12:54 PM.