Server :: How Is Multi Server Configured Without /home_dir
Apr 25, 2010
Configuring PIII600e, Slackware 12.2, with 2hdd (160Gb each) for Virtual Web,MySQL,PHP,DDNS,SSHd,Mail,ProFTP servers. I have 3 other PCs w/Slackware12.2, 1 XPwindows, and mac laptop on the LAN. Will be putting webpages together on slackware 12.2, XP, and Mac. *Read some where I don't need /home directory on server box, just use /home directory from other slackware box's /home directory- Since only user on server will be Administrator - how does this work? Will i work with Dupral? Does an Admin directory take the place of home? explain the advantages of configuring server box without /home directory and how its done?
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
I have a RedHat box that I have configured, security, audit rules, latest updates, etc. I want to be able to "image" that configuration so I can kick other boxes with that "image", that way no other configuration/updating needs to be done on the newly kicked boxes. What is the best way to accomplish this? To make things more difficult, it would be near to impossible for me to pull any software off the internet for this.
I am implementing a proxy server in c++. It is multithreaded(posix).Used CPU : Xeon(8core) Thread number : 8 One main thread, and other 7 thread created by the main thread. The main thread always listen to ports. When the main thread gets a client data it push the request in a queue[there are one queue(total 7) for each thread] based on ip and then give a signal to the appropriate thread. Then that thread gets the request from it's queue and process data and then forward the data to a appropriate destination.
There is another important thing, I assign each thread excluding the main thread to individual core by using affinity.The main thread listens to 5 ports. Test environment: We run the server. The client sends audio data at a particular rate.
1. The main thread CPU usage gets overloaded (above 80%) after a certain load from client.
2. Other cores remain about 0-10%.
The thing is that we want to distribute the load among all the cores equally by multithreading. But how can we do this ? Can the listening task of ports also be distributed ? I need an efficient algorithm for load balancing among threads. The data sent and receive rate of server is about 8.5MB/s. How can we improve this ? we are using gigabit LAN card. When the server only receive data from client it can receive data above 80MB/s. But when it both receives and sends data simultaneously it only manage upto 8.5MB/s.
i have installed centos 5.5 and rhel5 on vmware but i want to use rhel5 as a yum-client of centos 5.5 . but it is not working for me.i have worked on rhel5 with yum already but there was no problem at all.i am using centos 5.5 first time so i want to know whether there is any difference b/w configuring rhel5 and centos5.5?my centos 5.5 yum server file is given below
I have configured an nfs server like this: #vi /etc/exports /var/ftp/pub*.dell.com(rw,sync)& configured yum server from client yum update is working but by using nfs method if i am trying to mount i am getting this message mount 192.168.0.254:/var/ftp/pub failed,reason given by serverermission denied
When I start the vncserver process, I get a message saying "Starting VNC server: no displays configured." I edited the /root/.vnc/xstartup file and changed twm & to say "gnome-session &" (Without quotes). Not sure why I am still seeing this error. It's CentOS 5.4.
I just install a new server and I would like to now what are the basics that I should install. It currently has LAMP stuff. Any one know how are the VPS server configured at hostgator.com and similar web hosting platforms.
I googled upto my capability but cant find answer so asking you In one of my apache 2.0.52 machines, we are using worker MPM model. Even if I use 1 start servers, the # of http processes it starts is 5. No matter what value I pass in StartServers, I dont see more than 5-6 http processes
Multipathing in linux -need to check how the luns are configuredI have no idea about luns configuration in linux environment(newbie) and now i have issue figuring out the configurationSenario,By the look of the multipath output 3 luns are connected to server1 is from Hitachi and 2 from Sunstorage(Thumper)What i am trying to achieve,I need to check how the 3 luns are configured on OS levelI need to differentiate Hitachi and thumper lun The next is to check whether 3 luns are mirrored or not (if not ,how they configured)The third and last .I need to remove the mirroring luns (if exist) and leave the system with only Hitachi lun
I installed sendmail in my fedora 7 system. i took the advice as provided in this url [url] I started with "Configuring s`endmail"
Then i went with installing MailScanner without going to clamav and spamassasin installation as i don need it.
I just configured my local domain and assigned a my own IP address. But there was nothing mentioned with configuring the port number. So i just went with "netstat -nl" command. And it showed that my IP is lisening on port 53.
I created 2 users for the domain and i sent mail via telnet. The mail entry got entered in maillog file. But i receive multiple unwanted entries that mail is sent from "root" to "root". But i didn't bother about that.
I proceeded with the next step of configuring the two users on thunderbird. I configured with pop3 on port 53 with the localdomain. Now i sent mail from one user to the other. The mail entry got stored in maillog but i couldn't retrieve the mail on my inbox.
I have a openvpn server configured and users are using from remote location. I got some errors in the /var/log/messages file as:PHP Code:
Dec 18 16:09:37system openvpn[7221]: x.x.x.x:58983 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Dec 18 16:09:37 system openvpn[7221]: x.x.x.x:58983 TLS Error: TLS handshake fai
I just installed Debian 5.0.4 successfully. I want to use the PC as a File Server with two Drives configured as a RAID 1 device. Everything with the RAID device works fine, the only question I have belogs to the GRUB 0.97 Booloader. I would like to be able to boot my Server even if one of the disks fail or the filesystem containing the OS becomes corrupt, so I configured only the data partitions to be a RAID 1 device, so on the second disk should be a copy of the last stable installation, similar to this guide:[URL]...
I want to know something: i have a OS based on Debian configured and installed on a machine that controls all the network. Then, I can access it via another machine (with Windows for example) (connected by crossover cable or using a switch) by a web browser where I can do everything, including adding hosts, adding users, configure mail servers, voip, configure domains, etc etc etc..I would like to install Nagios on my server but I would like to monitor the hosts, routers that I have on the network using the Windows machine. How can I do that? Isn't it supposed to access the nagios information only in the machine where it is installed?
i am using squid on fedora 12. I have two wan DSL links. is it possible that two dsl connections can be used on linux for loadbalancing.One requsest goest with first dsl ethernet and other request go to other dsl ethernet Like RoundRobin.
I added an init script numbered just before bind9 starts, which needs to see the ipv6 link-local address on eth0. Sometimes this address is not configured, yet. In all cases it eventually is configured.
I am unable to find any script that is configuring the ipv6 link-local address (which is in part based on the MAC address). Does anyone know if there is some script or program that is supposed to be doing this, or is it an internal kernel function?
One workaround I am considering is making this init script go into a loop around sleep 1 to keep checking for the ipv6 address. But I'm concerned this might cause some problems. Any suggestions? I don't want to let it move on to start bind9 until the configuration this script does (more ipv6 addresses) is done.
This is on Ubuntu 9.10 server (for which there is not a prefix choice).
I want to restrict some site (Social Networking) through my newly configured squid proxy. But It always allow those site How to block those site. My squid.conf file is configured as follow :-
#Recommended minimum configuration:
acl all src all acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
It's been a while since I configured a raid and have been making some changes to my main workstation/server. fdisk does not like md devices on my machine... always says it has an invalid partition table. While this is said to be normal all over the net, I don't feel warm and fuzzy about that fact. What is best practice these days, to create a non-partitionable md device or a partitionable mdp device?
If I create a partitionable md device, I would imagine it would look good in fdisk. However, I am concerned about growing the array afterward. I would then have to grow the array, redefine the partition, and then grow the file system. The PITA factor goes up. Has anyone worked with both? Pro/Cons? My array was created with:
-my vpn connection constantly gets disconnected in linux mint but not in my windows 7 or mac os 10.5.8 and there are no retry options in here in case the connection drops? -is there any multi protocol proxy server software available for linux (socks,http,https)? preferably free. my google search returned that Squid is the most popular proxy software for linux but its either freakishly hard to install and use or there is just no simple beginner guide for it. -what's the hotkey to switch between workspaces?
A friend of mine is starting a school this school has computers. I'm assuming windows but that's not that point at the moment. He asked me about setting a main unit that held the kids info and their work complete on the computer. Effectivley what I am asking is how do I set up a server to allow many multiple (at least 50 user at a time) each with their own folder as their home (or desktop I guess is a better word). He also wants a person to be able to add themselves as an account similar to that of signing up for something (ie facebook twitter you know). Oh and ( I almost forgot the most important) how to setup the server to allow the other computer to boot to it via the network...
I have OpenSuse 11.1 installed in a system as server (without graphics). We have 3 NICs, 2 of them connected to 2 different ISPs through gateways, as follows:
IPs for NICs: IP1=192.168.5.2/24; IP2=192.168.6.2/24 dev=eth2 Gateways: GW1=192.168.5.10; GW2=192.168.6.10 dev=eth3 Third NIC connected into the internal network with and IP=192.168.11.2/24 dev=eth0
We added ip routes and rules as follows (used tables created with vim in the rt_table file with numbers 20 & 30):
ip route add NET1 dev DEV1 src IP1 table TB1 ip route add default via GW1 table TB1 ip route add NET2 dev DEV2 src IP2 table TB2
[code]....
ip route add default scope global nexthop via GW1 dev DEV1 weight WG1 nexthop via GW2 dev DEV2 weight WG2 from the server I could ping Yahoo! and ping any PC connected in the internal network (192.168.11.xxx). Fro PCs I could ping all the IPs of the server but not the GWs neither any web site, I couldn't surf either.
i decided to build a home server on an AMD64 (buyed some years ago) for file storage, printer sharing and something else... I've searched a lot for "the best distros for server" and discarding extreme solution (like command line only) what remains is: Ubuntu, Fedora and Debian
Now the problem: how to install more than one distros on the same hdd? what i know is that i need a bootloader (grub/lilo) and partitions for boot,swap, and remaining space will be split for the distro itself.
I think is a good idea to have a partition only for files (/data) that all distros can access, but for sure i'd like to have one /root and one /home partitions each distro!
I can't understand if the correct way is first of all to install a distro (let's say ubuntu), then set up everything such as partitions and bootloader and then install other distros. I'd like to know if it is possible to manage dinamycally the space reserved for distros, so i'll be able to install 2,3,4,5...distros with no problems.
I am looking to create a multi-user LAMP server. For example the domain name behind my curent server is [URL] I would like user1 to have [URL] and user2 [URL]