CentOS 5 :: Install The Most Basic FTP Server Available Just So We Can Share Files Back And Forth Between Test Hosts?
Mar 11, 2011
For use on a test LAN, ie. security is not an issue, I need to install the most basic FTP server available just so we can share files back and forth between test hosts : launch FTPd, have it share a directory through either "anonymous" or a single, shared login/password?
I did a a basic install of postfix and dovecot instead of using courier-pop and courier-imap. This is only send and receiving e-mail locally within the test network 10.7.0.X and 10.0.0.X. I used:
[URL]
my postfix.conf is;
PHP Code:
[code]....
This is the error when I send an email from a local machine on the 10.0.0.X network.
PHP Code:
Jan 20 17:05:48 testbox postfix/smtpd[2491]: warning: Illegal address syntax from unknown[10.0.0.111] in MAIL command: <test@10.0.0.112>
I have about 50 servers with at least 200 GB free on each host. I need close to 10 TB of continuous shared storage between almost half of the servers for a new app I building.
I was looking into buying a storage device but was wonder if I could get any use out of the free space on all the servers, grouping all of the free storage from the hosts into one reduduant storage array.
I 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.
I just noticed that I find lots of hidden files named ".directory.lock.??????.test" across my samba-shared file system. The questionmarks stand here for some random alpha-numeric patterm.
- Which application might have created them?
- Is it save to delete those ?
With e.g. "find . -type f -name ".directory.lock.??????.test" -exec rm -f {} ;"
I have 16 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS are not alternatives. Aside from manually editing each of the 16+ /etc/hosts files every time I add a server or editing one /etc/hosts file on one server then scp'ing it to all the other servers, is there anyway to edit the /etc/hosts on one server and "push" it onto the other servers that need the new /etc/hosts file?
Everywhere I've looked on the Net, there hasn't been any suggestion except for the options I mention here.
I am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:
telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Connection closed by foreign host.
Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out (ERROR:Message not sent. Server replied: ). I apologize for not going directly to the qmailrocks forum, but they are currently closed down (due to lack of funds). I also am a newbie, so I apologize for the lack of needed information. If anyone has any ideas, please let me know what information you would need.
I can't seem to get the X server to allow access from clients on other hosts. (I know, not exactly a network problem, but. I made the change in /usr/share/gdm/defaults.conf to be : DisallowTCP=false
and this worked on another CentOS system, but it hasn't fixed it on this one. What other things could prevent other clients from connecting to the X server? From the local host, I get :
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed although the client DOES actually create the window and work! So, maybe this message is a clue.
From the remote host, I get : Error: Can't open display: 10.10.1.20:0.0 Which is not terribly informative. Is there a log somewhere which details why a connect request was denied? The files in /var/log/gdm are not very informative.
I installed Apache2 and I added a second virtual host, now can i separate the 2 hosts and let them access 2 different internal test sites? For Example lets say"
User1 uses one IP User2 uses second IP
How can I separate it in Apache2 and in the /var/www ?
I am researching the CentOS Cluster Setup. Does anyone know of a guide on this or have a thread linked that I can look at? I want to build a small cluster and then be able to add to it as it grows. Mainly I want to have web hosts, data, and mail behind it. The DNS will probably be on there own.
I have a fairly simple iSCSI setup using two devices, but they have swapped names on different machines. running CentOs 5.3 ia64, and using iscsi-initiator-utils-6.2.0.868-0.18.el5
vm1: [root@vm1 ~]# fdisk -l Disk /dev/xvda: 4194 MB, 4194304000 bytes 255 heads, 63 sectors/track, 509 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
Any way to get iSCSI to mount the devices as consistent device names ?
I am trying to run two web servers (Virtual Hosts) on a single Linux Centos 5.5 box with a single IP address 192.168.0.182. I did all the pre-installation requirements such yum install mysql, yum install mysqladmin, service httpd start, service mysqld start etc etc.In /var/www/html directory, I have two folder called server1 and server2. These two folders have the necessary web server php script files and folders. I opened the browser and managed to install the script on one web server successfully. When I put the IP address 192.168.0.182 on the browser address bar, the page loads without any problem. Now I would like to be able to install the other web server script and I don't know how to?Here is my httpd configuration;
I followed the Wiki guide for configuring my Postfix server for SASL / TLS. I don't get any errors and I assume it's working but when I try and test SASL (saslauthd), I don't get the response noted according to the Wiki and I don't understand why.
If I need to append a set (or sets) of data to a file(or files) on remote hosts what is the best mechanism by which to do that? My first thought was ssh but the command syntax to append to a remote file isn't clear to me. Can anyone point me in the right direction here?
Newbie on the block with Centos 5.3 on a test server and and Ubuntu on a test workstation Note the wiki on VNC for a windows workstation but presume I could do this more easily from "Jaunty" (Ubuntu v 9.04)
I've been trying to install VSFTP on a test box I have at home. Here are the steps that I've done so far: First, I install vsftpd via yum. yum install vsftpd
When I try this yum install kvm qemu libvirt python-virtinst qemu-kvm I become this error
Transaction Check Error: file /usr/share/man/man1/qemu-img.1.gz from install of qemu-img-0.10.5-1.el5.2.x86_64 conflicts with file from package kvm-qemu-img-83-164.el5_5.25.x86_64
I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:
<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)
I've been running Samba for a couple of years now. Bumped up from 9.04 to 10.10 server (64 bit), and nothing wants to work. I have a really simple share that I want to be accessible by all Windows clients without a login (guest access). Here is my config:
i'm setting up apache on 5.3. i can access the apache test page without a problem from the server via URL... But i can't figure out how to access this page from another computer within the domain (for when i upload my home page.
I am using CentOS 5.3 , kernal version is 2.6.18-164.el5 I am connected with a LAN ( having systems with XP, Fedora , CentOS etc ), how to see shared Folders in CentOS? plus if i want to share things, what is the procedure?
I have tried with by right clicking->properties->share->configure share... etc but on other systems i cant see my shared folder..?
I get the new boot splash with the nice little rocket and all but I seriously dislike it. While I don't stare at my computer as it boots, I do happen to see it from time to time. Unfortunately, I always see this new little rocket and I wonder where my traditional Debian blue with the swirl went. Yes, I know I am using Grub-Pc now, and I have tried to edit my /etc/grub.d file by renaming the wallpaper line to my preference.
But all my config file sees is "background-grub.png" which is the little rocket ship. So, I give. What is the secret code to unlock my grub config file or do I seriously have to muck around with Plymouth in order to have a choice in the matter? Just for those of you who contemplate counseling me on better time management instead of wasting my precious time over such a silly little thing, I agree. Not to mention that I use Debian because I like to build my system.
I am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:
telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Connection closed by foreign host.
Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out "ERROR: Message not sent.
I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:
The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?
I have two PCs , once runs 9.10 Ubuntu Desktop named "desktop" and another runs 9.10 Ubuntu Server named "server". as you know that "desktop" PC has a GUI installed , and i write this from there now, but "server" PC does not have anything like that so i use SSH to connect and administrate it.
Here is what i need, I want a graphical way to share the files in "server" PC so i can edit files in that (such as css , php and html files ) on the fly and i don't need to ftp them back in to "server" from "desktop" after editing. How do i get that done ?
I can see linux share folders from windows,but not the windows share files from Linux.The windows pc name is jm-pc and the share file is temp. When the command nmblookup is used it discovers the Windows pc ok.
Code: nmblookup jm-pc querying jm-pc on 10.0.0.255 10.0.0.3 jm-pc<00>
i created a folder /home/windows and ran the smbmount command
Code: root[~]# smbmount \\jm-pc\temp /home/windows mount error: could not resolve address for jm-pc: No address associated with hostname No ip address specified and hostname not found
When i try to run smbclient,and enter the correct password that was created for samba(which is the same password as the Windows pc):
I have recently installed Fedora F11 with a Samba server. The smb.conf seems fine but I cannot see any of the files in the share from a Windows machine. I am probably missing something unbelievably simple but driving me nuts!
I can see the machine and share from windows
When logged in as the user fred I can see all the files in Linux - most are owed by fred.
smbuser: Code: # x_name = SMB_name1 SMB_name2 ... root = administrator admin nobody = guest pcguest smbguest fred = fred smb.conf: Code: [global] workgroup = Workgroup server string = Samba Server Version %v
netbios name = MachineName
hosts allow = 127. 192.168.0. ......... [Docs] comment = Main Documents path = /mnt/documents read only = no browseable = yes valid users = fred ......... The other thing I find a bit odd is that Code: service smb restart does not effect the way that the windows machine sees Samba. It appears that you need a full restart to get the changes to show properly.
I want to put some files in a directory that other people will be able to access via a web browser, so that they do not need to log in or have an account.