CentOS 5 :: Accessing Centos Remotely On Dyn IP?
Mar 4, 2009My Centos machine lies on a different location with a dynamic IP. How can access it remotely considering the fact that I am unable to acquire a static IP.
View 13 RepliesMy Centos machine lies on a different location with a dynamic IP. How can access it remotely considering the fact that I am unable to acquire a static IP.
View 13 RepliesI have an application running on a centOS machine that needs to access a database on a CentOS server. I granted access to all users with a certain user name and password.i opened up port 3306 as well with the following command: /sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 3306 -j ACCEPTbut whenever i try to connect from my machine i get an error:ERROR 2003 (HY000): Can't connect to MySQL server on '172.16.102.129' (113)I am using mysql version 5.0.77 on centOS 5.5.
View 1 Replies View Relatedi find this is an issue which might be tiresome for everyone except for those experts. Esp. for the computers which are dual booting(both windows xp and centos installed in the same computer), that when we are in CentOS we need to switch onto windows immediately. and vice versa. i see this is possible only by shutting down the centos/windows and then restarting onto the other OS.
Can anyone tell me the the solution to work simultaneously both xp and centos without the need of shutting down and restarting There maybe or may not be the solution...but i find the pleasure to know if there is for example, remote desktop connection in windows xp, is there any solution, we can work on windows via centos or vice versa ( in the same machine),
I have a small network with my Centos 5.6 box and a Win XP PC on it.I can access the files on the PC from the Centos box by bringing up the RUN window (ALT-F2 in Gnome) and typing smb://192.168.1.X/C (where X is the address of the PC), and I get a window with the C: drive from my PC. I can then drag/drop files between the Centos box and the PC. Here are my questions:
1) I want to script the file transfer, so how do I do this from the command line?
2) On the PC, I have 2 drives C, and E. They appear to be set up the same, but the E drive looks empty when I do this using the interactive method above.
I found this tutorial http:[url]..... but I can't get my PC "visible" in the smbtree.Really, I just want to write a script that does a backup on the Centos box and copies it to the E (External) Drive on the PC. (I'm a novice when it comes to administration)
i just experimented with virtualbox to make a vps on my centos machine, now i have a question in mind, since this was my local machine so i was able to install the guest os using the CDrom but when i have a server in the datacenter, and i create a vps on it and i am thousands of KM from my server. how will i install the guest os on my VPS on my server in the datacenter.
View 2 Replies View RelatedI just succesfully installed Centos 5.5 64bit with following package:
- httpd 2.2.3-43
- php-mysql 5.1.6-27
- mysql 5.0.77-4
and all these packages are running ok.
My question is how do i connect from Centos to another MSSQL server using PHP? I had read several article but cannot find the best way to achieve this because most of the instruction seems to be quite complicated. I found somewhere in this forum that all it need just this simple command: "yum --enablerepo=extras install php-mssql freetds". While others article said that i need to install "FreeTDS" and some ODBC driver. I'm a little bit curious since most of that article are using an older version of Centos and PHP.
I have 2 Centos 5.2 install that cant be snmp queried from another machine and I am unsure of what to check next.
To make sure it was not an incorrect iptables rule i temporarily turned off iptabes with the same results. I have checked the hosts file and it is correct on both machines.
I have quick question, How to install on the remote computer.currently I wan to install sugarcrm to the computer that I access remotely from mine. How can I do it?
View 4 Replies View RelatedI managed to install Centos x86 for the first time, together with VncServer, SSH access, mySQL and Apache. Everything worked greater until I logged in remotely to the server from my Windows 7 machine using RealVnc. I manage to connect successfully and able to use the GUI remotely. However, when I press logout from the menu, the screen gets stuck on the funky blue and white curly background. It does not close automatically.
If I close it using the 'X' button and reconnect, I get in to same stuck screen. My only workaround is to login with Putty and type 'service vncserver restart'. Then I am able to connect again. But same thing happens when I do a logout.
Problem : centos 5.3 hangs while remotely copying data onto this server.
I have A centos 5.3 x86 Version installed on Xeon Quad core , running on 8 GB DDR2 RAM, RAID 1 confgured on SATA drives. this was old installation copy and It has many more things running on it.Therfore, I can't just reinstall it.
I have setup SAMBA PDC + ldap on it. I encounter that system hangs when I copy data into this server from LAN computers.
My troubleshooting steps :
1. I have checked for network issue , My network works fine when I transfer data between other LAN compuers.
2. Even I have tried confguring seprate LAN....
3. I thought their might be some problem with my SAMBA configuration, therefore I did data transfer from sftp .
ssh - execute the script remotely / File not found: ''I am uisng amazon ec2-api-tool & ec2-ami-tool
i was unable to execute through ssh. Getting error as File not found: The same script i can able to run directly in client machine successfully. Through ssh i was uanble to run the script remotely Source : myScript.sh ec2-create-volume --size $1 --availability-zone $2 $ssh -i key.pem root@myhost ./myScript.sh 10 us-east-1a In remote machine i have permission for myScript.sh as -rwxr-xr-x
Note:Reference link
1) How to create an ebs image from an existing ec2 instance
2) Building EBS Boot and S3 Based AMIs for EC2 with Ubuntu vmbuilder - Alestic.com
I just installed Webmin on this CentOS 5.5 client and would like to know if it's possible to remotely administer the Squid server. The one I'm using for webmin is different from the one where Squid proxy is running.
How do you set it up and where in Webmin?
Iam using Centos 5 64 bit.I want to access my local drive on centos. Waht is the procedure 4 that?
View 1 Replies View RelatedI tried to reinstall Centos, and the reinstall failed due to a flash disk being pulled out in the middle of the operation. I am left with an un-bootable system and I want to access my data, if possible.
Prior to the reinstall the disk info was:
== BEGIN cat /etc/fstab ==
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
[Code]...
So, The disks are still intact (I hope) but the LVM information is gone.is there anyway I can access /dev/sda2? When I try mounting it from the Rescue environment the command hangs, i.e. nothing happens.
I am new to Xen Hypervisor and wanted to know if someone has any good guides to configuring it please. Also once i configure a Guest OS how can i connect to it remotely via a windows and linux machine?
View 1 Replies View RelatedWe are organizing an event for Open Source technology in college for 100 students and want to provide them access our corporate PC. Our aim is to provide them remote access to few 10-20 machines in our corporate to try out our product which runs on specific hardware.Anyone who can suggest me any secure colloborative tool which will let those students access concurrently.
View 2 Replies View RelatedI can access my Win 7 machine from my CentOS machine, but not the other way around.
View 13 Replies View RelatedI have installed windowsxp sp-2 and centos-5 on same machine now I want to access my partitions of xp through linux i.e. centos. What is the procedure for this.
View 1 Replies View RelatedI have a webservice which runs under Apache Tomcat. The service is started via a script in /etc/init.d. During the course of the Web service processing, the software must make use of the two NVIDIA GPUs on the computer to do some graphics processing. When this system is booted but not logged in, the web service is accessible but the software cannot access the software cannot access the X server to do it's processing. However, when I am logged in, the user can access the X servers and run correctly. I have tried various solutions but I always have to be logged in to run the software. I seem to have permissions problems but I'm unsure how to resolve them
Is there any way to grant permissions to root (the tomcat service is started as root) to allow it to run the software without logging in?
I am running CentOS 5.4 with Gnome display manager.
I have set up VNC on my Centos5 Server via the instructions here:
[URL]
I am able to log in via VNC through a browser (on my Window laptop), however when I try to access my USB hard drive on the Centos Server, it says:
Error org.freedesktop.DBus.Error.AccessDenied
Does anyone know of any step by step instructions so that I can be able to access my USB Hard drive?
I have found a few posts on the internet about this, however the fixes are either vague/hard to understand etc?
I am trying to set up a ssh server on my desktop computer. It runs Ubuntu 10.04 with Win 7 (dual boot). I want to ssh into my desktop from any other machine (from anywhere), and I'm not sure if setting up a ssh server is the right thing to do. Also, is it secure? what kind of encryption does it use
View 5 Replies View RelatedI want to access and run some programs in the terminal on my office Linux machine from my home through Internet. I use Fedora 10. However the internet connection at office has dynamic IP.Is it possible to access remotely a terminal on machine which has Dynamic IP addresses? How?
View 9 Replies View RelatedThe why behind this is a little long winded so let me get to the technical question. I have a 16 GB SD card in my netbook as additional storage to the 16 GB SSD drive. The SD card is formatted fat32 (by a utility from sdcard.org which is supposed to and does make the card read and write faster than if it was formatted by the OS). The card mounts when I login to the netbook. The entry from mtab shows
Quote:
/dev/sdb1 /media/SD16 vfat rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush 0 0
If I look at the permissions on SD16 I find
Quote:
ken@taylor13:/media$ ls -l
drwx------ 3 ken ken 32768 1969-12-31 19:00 SD16
sudo chmod 777 SD16 does not change the permissions.
The problem is I need to connect to the machine with a different user (due to a security hole in gnome-commander). As the card is formatted fat I cannot assign group permissions to it and my second user cannot access it.
I had previously had the card formatted as ext3 and it was so slow as to be unusable. It needs to be formatted fat. I am stumped.
I have been using the Centos 5.4 live CD to do volume resizing etc for root volume which can't be readily dismounted. I have also been using it to clone systems. It is a really great tool - even offering the same GUI interface I have come to know and love...One added feature which would be great for me would be to package "nx server" and/or "webmin" with it so it can be used to maintain remote and "headless" servers.
That way - when heavy duty maintenance is required on a remote system - the sysadmin (me) could ask the site owner to boot with the live cd - and do the rest remotely. Also it would make maintenance of headless servers easier.I'm not sure whether the live cd is inherited more or less complete from the upstream provider - or whether it is completely re-packaged at centos. I'm also not sure how technically difficult it is to re-package a live cd with extra services.
I have set up two identical websites and want them to access the same mysql database. I've entered the username/password/db name in the website database.inc file. However, one database works fine and displays correctly, the other just gives a blank page. I've tested apache and it can display a different site (one that does not access any db). So is there a configuration that i'm missing. Do i have identify the two different websites that access the db?
View 7 Replies View RelatedMy setup is as follows:
eth0 - lan ip
eth1 - WAN ip
I have installed a sip server on the box. From the box I would like to access machines on wan and lan. First of all, is it possible? If yes, I have setup up the nics with default wan gateway. However, when I try to ping wan url, no response. Are there other things I need to do to accomplish this?
I installed Tomcat5.5.23 on CentOS5.2 running on Sun xVM Virtual Box2.1.2. When i try to view Tomcat( Running in Vitual Centos)'s home page in the web browser of Host( XP sp2) am getting the "Connection Time out" error.. How to resolve this problem.
View 2 Replies View RelatedI installed CentOS 5.2 and then run yum update. I configured this server as LDAP/Samba primary domain controller. LDAP seems to be OK and for testing I am able to create users with:smbldap-tools useradd -am usernameI can ssh into the server as root and also as a Linux user which was locally created in the server. But ssh into the server as LDAP user fails (from a Fedora 11 machine) with "Permission denied, please try again", prompting again for password.Some data:
# rpm -qa | grep ldap
python-ldap-2.2.0-2.1
php-ldap-5.1.6-23.2.el5_3
[code]....
Problems with xen 3.1.2 creating and installing domU CentOS 5.5 I am trying to do a virt-install --prompt --paravirt, and the install error out while trying to download install RPMs. I have googled for xen centos virt-install and various permutations. I have found similar howtos for 5.4 and 5.3, but they resulted in the same outcome. I did find several posts with similar issues, but no solution was posted.[URL]..
View 4 Replies View RelatedI am in the process of building a new server on an Asus P5QPL-AM motherboard and an Intel E8600 processor.explain to me the difference between the two versions and what would you recommend.Also, is there any advantage of SATA over IDE hard drives?
View 1 Replies View Related