Server :: How To Set FQDN In Centos
Feb 19, 2011when I enger hostname -f i get file can not be found I then tried yast lan and get invalid command.So How do I set the FQDN in my centos server?
View 1 Replieswhen I enger hostname -f i get file can not be found I then tried yast lan and get invalid command.So How do I set the FQDN in my centos server?
View 1 Repliesi have xp and virtual guest centos 5.i install apache, bind, squid and webmin through xp, i can access URL...but when i start my squid, put the ip in the browser proxy settings, when i logon its ip turn to URL...I believe my bind is working. Though theres some little glitch. I dont know where.and i already put my servers bind ip to my winxp primary dns server settings.
View 1 Replies View RelatedHow to set the hostname and FQDN on Ubuntu Server 10.04?
View 5 Replies View RelatedI have an RHEL5 server running BIND. I'd like to be able to resolve internal, non-FQDN names such as "wiki" for the company internal wiki. in my named.conf file...Named-checkzone returns no errors, and nslookup works when specifying the server explicitly, but no browser resolves the name when entered in the address line. I know this by no means a standard use of BIND, but I'm sure someone out there's pulled this off. I did see when googling someone suggest "load the root zone (.) as master, and add your "hosts" as TLDs, using CNAMEs", but tried that and probably did it wrong since it didn't work.
View 1 Replies View RelatedI'm using Ubuntu 10.04 LTS
By typing the command:
hostname --fqdn
I get the following
hostname: Name or service not known
As requested by Raphaƫl Hertzog
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
[Code].....
brand new install of 10.4 server and I'm having a strange issue. I cannot browse to any website by it's domain name, but I can connect via IP address.
I've been googling around and did the following:
added nameservers to /etc/resolv.conf based on an nslookup from my windows box:
nameserver 71.250.0.12
nameserver 68.237.161.12
I commented out the hosts line in /etc/nsswitch.conf per another site and changed it to: hosts: files dns
I can see other computers on my local network via IP and I can browse to the server's default apache page by it's hostname, so I'm assuming it's something about the server's dns resolution, but I'm not sure of my next step.
When I type in "hostname", the result is locahostname and not localhostname.domainname.
For example, if the hostname is zazu and the domain gateway.2wire.net. I need for "hostname" to return zazu.gateway.2wire.net.
I am using the 2wire router. But - there is a dynamic DNS domain that points to the router.
how to set the FQDN properly so that "hostname" returns zazu.pridelands.com
I want to install Globus tool kit it says host name is not FQDN(fully qualified domain name) I tried by installing DNS but it doesnt works
I got the configuration. I have posted in following link. I am not able to reply your post i dont know why. [URL]
How do i use perl regex to extract the hostname from a FQDN?
I have
Quote:
$host=ganymede.a.linux.com
$host=io.a.linux.com
$host=europa.a.linux.com
i just want the characters which are to the left of the first .(dot) in FQDN name. I could get it using substr and split function,but how do i get it through regex.
I am a newbie trying to enable virtual hosting and run it on a local machine without fqdn. I checked the http://9.9.9.92/ (my IP address) site and saw my (default) page. I would like to virtuly host a asdf.com If virtualy hosting is setup properly - how do I access the new setup? Just type http://asdf.com ? or is there more to it?
View 6 Replies View RelatedThis applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.
View 3 Replies View RelatedI have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install... /usr/bin/install -c
checking whether we are using gcc... yes
[code]....
is it possible to join Windows Server 2003 to CentOS 5 Cluster?
View 1 Replies View Relatedwhen I reboot the server with centos 5.5 the SMB deamon doesn't start?
View 2 Replies View Relatedand what is the diffrent. i now about the server only use command and desktop use both so. am trying to host some sites which one will you recomend.
View 5 Replies View RelatedDuring the install of my Centos server 5.3 i cam in trouble after setting the Static IP address, Gateway and DNS i cannot connect to the internet my own network is visable. When i start ifconfig my network is running.
View 7 Replies View RelatedI wish a easy server with CentOS. I need only: ssh, ftp for backup , sftp for over the web, apache2 php5 mysql webserver, easy install printserver for a laserprinter with a com-port, and in the future a samba server. make a choice which version i need with CentOS. I am a beginner at all.I only know things about ubuntu server. I like to know the differences.
View 4 Replies View Relatedi have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies View RelatedI'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
View 1 Replies View RelatedI have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.
I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:
Code:
But that doesn't work on the Webmin server which needs the following:
Code:
It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:
Code:
But as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.
So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.
I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?
If I ssh from my laptop (running F10) to the server (centos 5.2) it asks for the password, but everytime I enter the correct password it says incorrect password. when I do the same from the server to my laptop I can get in just fine. I think my passwords are stored as ssha in the LDAP (I tried clear passwords and that dosen't work either).
View 1 Replies View RelatedI have tried to install debian 5.0 and 4.0 without any luck. I have both tried virt-manager and virt-install with both debian-501-i386-netinst.iso, and full dvd. I't always gives me the same error:Starting install.Could not find an installable distribution at '/xen/debian-501-i386-netinst.iso'
[Code]...
I've installed CentOS 5.3 on a machine, and I need a Samba version 3.2 or higher. Since 3.4 is out, I thought I'd grab that. But, "yum list|grep samba" gives me only version 3.0.33. Is there a package of Samba I can grab that will upgrade the 3.0 installation so that I don't have two laying around? If not and I need to compile from source, do you have any suggestions for what arguments I should give configure? I'm not used to Linux coming from the BSD world
View 1 Replies View Relatedhow can i view/monitor what a user is typing in other terminals in centos?
View 1 Replies View RelatedI have a centos 5.5 server, without a monitor connected to it.Sometime i need to connect to it with VNC, but maximum resolution is 800x600.How can i increase it at least 1024x748 ??I tried in system-config-display changing the monitor to a generic CRT 1024x768, and rebooted.But only allowed resolutions are 800x600 and 640x480.
View 6 Replies View RelatedI have some trouble with my hp workstation xw4400 with an ATI FireGL 3300 and the X-Server. There was no problem with the graphical install routine and the graphical boot works fine. But when the system changes into the login-screen, then it results in a black screen and a more or less frozen system.
View 3 Replies View RelatedI am running an application that requires use of my /etc/hosts file. In it, I have my machine name and its LAN ip address. The program creates a service on a specific port, then attempts to connect to it based on the host name. So my hosts file has to be correct.I added the nameservers to resolv.conf and now my application will not run. My guess is that the computer is checking the name servers first, timing out then checking the hosts file.Is there a way I can tell the system to check the hosts file first, then DNS. I thought it should behave that way by default, but it does not appear to.
View 1 Replies View Relatedi am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"
The install Guide im using: [URL]