OpenSUSE Network :: YaST Creates Only 1 File For Many Virtual Hosts?
Jun 8, 2010
When I converted to OpenSUSE 11.2, and went through YaST HTTP Server Configuration, creating my virtual hosts under the Hosts tab, YaST combinedm all int ile,"/etc/apache2/vhosts.d/ip-based_vhosts.conf".I did google and read, [URL]for further assistance.I'd like each virtual host to have its own file under vhosts.d, and wondering why YaST did not do that.The file /etc/apache2/httpd.conf laid out the file structure, and all vhosts.d/*.conf files are included.Is there a way to tell YaST to create separate files for each vhost, or does the user have to manually do it?
I run a dedicated opensuse 11.1 server with apache (2.2.10-2.9.1) installed. This box has been running for nearly 2 years hosting several low traffic websites. I must admit that I did not give lots of love/attention to the machine over that period. It ran rock solid. The different websites each have their own associated user account and are stored in their own /home/name/public_html/ folder. It was setup through Webmin. Each domain name is also linked to a unique IP (the box has multiple available IPs), however this is configured at my domain provider. All in all a very simple and straightforward setup that never let me down most of the past decade.
Recently the sites on the machine were no longer responding. This happens each other year or so since I write my logfiles to a separate partition. Was df -h and indeed, partition was full. Removed logfiles manually, and while I was at it I decided it was time to run an online update (yast2 / online update that is). Rebooted machine after yast telling me to do so. Sites are no longer working. Can no longer login to webmin. Only thing what works is the 'root' webpage (/srv/www/htdocs folder), which makes me rather clueless as the other sites are just not responding at all, not even a timeout or error message.While I know that deleting logfiles manually is quite stupid, I've done it fore and not really ended up in trouble.
Hence my questions: does this sound familiar to anyone and do you mind to give me a clue about where exactly I should start to look. It's been ages since I actually administrated apache, so I might overlook the obvious. Long story short: any tips are very welcome about what I should check first, what config files might have been changedith the update, etc ...
I have some settings within hosts file of my Windows Vista. It helps me to bypass some limitation and get online better. I would like to migrate some settings to openSUSE 11.4.Is there anyone who knows how can I tune my openSUSE?FYI, setting of hosts file is lines of <IP Address> <Spaces OR Tabs> <URL OR Alias>
I have a debian squeeze box with dual NICs that I'm trying to configure with two virtual hosts. I'd like to have one of these machines act as a router for the 2nd NIC so I can plug in a switch and have a separate subnet.
Something like: - Openwrt router 192.168.1.1 (firewall/vpn/stats for 192.168.1.0/24 domain) - KVM machine with 2 NICs (192.168.1.2) - Virtual machine #1 has a fixed IP of 192.168.1.3 (virtual nic) - Virtual machine #2 has a fixed IP of 192.168.1.4 (virtual nic) but also controls the 2nd nic and routes 192.168.80.0/24
I'd like to use the 192.168.80.0/24 network for testing equipment without poisoning my existing network.
I currently have an Apache Web Server running on Ubuntu 10.4 and I use a DynDNS service to make them accessible to the outside world via a domain and/or subdomain.
This works fine from access outside of the network and all subdomains resolve to the correct directory.
The problem I am having is with accessing a subdomain over my internal network.
I can access the Web Server using the server's IP address: http://192.168.1.123/ but this always takes me to the same virtual host and I don't know how to distinguish between different virtual hosts (different subdomains).
Ideally I would like to access the same subdomains using http://<subdomain>/ where <subdomain> is the same as the subdomain attached to the external domain name.
I'm having problems configuring my virtual hosts file properly The site [URL]... opens on http and https The site 10.0.1.3/myapp/ works I am trying to redirect all traffic from [URL].... to [URL].... while maintaining access to [URL]....
I just tried to install virtual box by downloading the RPM from their website running it with yast. It said install succesful but I checked the install log and this is the result that I got. The program will not start. I want to run opensuse as my host and install Windows XP to run on top of it for my wife.
My software is System Atom 2GB of ram ION Linux 2.6.34.7-0.4-desktop x86_64 openSUSE 11.3 (x86_64) 4.5.2 (KDE 4.5.2) "release 10" NVIDIA 260.19.12
[Code]...
I did try to run sudo /etc/init.d/vboxdrv setup it failed I than ran vim /var/log/vbox-install.log and this information was in the file /usr/share/virtualbox/src/vboxhost/vboxdrv/build_in_tmp: line 55: make: command not found
I run in a script a mailx command like this:cat logfile | mailx -s'the logfile' to-me@..This works most of the time, but in some cases mailx automagically turns logfile into an attachment called 'attachment.bin'.I think this may be because 'logfile' contains a few control characters or escape codes?How can I tell mailx to be less intelligent and treat it as an ASCII text file?
apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.
I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.
First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)
Code:
Second virtual host file
Code:
And my hosts file
Code:
# The following lines are desirable for IPv6 capable hosts
Also I'm using a dyndns.org...would that make a difference?
I have a desktop and a laptop both running opensuse 11.2 with kde4. I have a samba share on my desktop. I tried opening a video on that share from my laptop (wirelessly) with Dolphin/SMPlayer. Here's what happened:
The video started downloading and the system tray notified me it would take 25 minutes. I thought that was too long (video is 350MB) so I checked the download speed and it was about 2 MB/s. It didn't make sense but I let it keep going.
25 minutes and 3.4 GB later, the download finally "finished"--according to the system tray. However, I checked my system monitor and something was still downloading at 2 MB/s. I confirmed with "df -h" that I was losing 2MB of space a second. At this point I only had about 700MB of disk space left so I rebooted (I wasn't sure how else to stop the download).
After digging around on / I found my video at /var/tmp/kdecache-londy/krun and it was 350MB. Then I found multiple copies of the same video, of varying sizes, on /tmp/kde-londy totalling 3GB.
I deleted the tmp files and tried it again. This time instead of clicking on the video to play it, I tried copying it to my laptop. Same thing started to happen but I didn't let it continue.
In my YaST Network Settings (11.3), I see an entry labelled "Unknown Network Device" how to remove the confusion? The Overview tab also correctly lists my three known network devices (listed below), as does the Hardware Information utility. This is the output of lspci, and as far as I can tell, is accurate and complete. So what has YaST seen that it can't identify?
I just installed open Suse 11.3, and I cannot SSH my school. Upon further investigation I could not even ping any machines outside my local area network. Ironically I could nmap machines outside my local area network.
since a few weeks I have a problem connecting to other hosts when I'm using another wireless network, which has a different DNS IP than I have in my network. I have to change /etc/resolv.conf to change the nameserver. Can NetworkManager control the nameserver? If yes, how?
Im new in this world of linux and suse. I have just installed the opensuse 11.2 in a Dell Inspiron 5160. Such laptop has a BCM4306 Wireless LAN controller. When I tried to configure a wlan connection, I found that the firmware was not installed. After looking in different forums, I installed the firmware b43. Now, my wlan card is abled to find the wireless of my router.
I have tried to configure a connection with YAST as well as with Network Manager, but both cases failled. Specifically, when I use Network manager, Im able to see in the applet my connection, how strong is the signal, but I see a yellow symbol (in one forum, such a box is shown with a green symbol).
I have check many time all about the secutity, encryption, and so one and all seems to be correct. But when I open the mozila firefox or the konqueror browser, no chance to surffer in internet. Now Im just a step to become crazy. The drivers are ok, the information about the router and the keys are ok, but in such a way, I am still harmloss.
I am relatively new at Linux and am having some problems with an install of openSUSE 11.2. I installed 11.2 on my Thinkpad X31 dual boot with WinXP. It seems to work very well except the network. I looked up swerdna's instructions on setting network cards up. I used YaST to try and set the system up as described in swerdna's instructions. Everything looks fine my network card and wireless card show up in the overview settings screen and everything sets up fine. But when I exit YaST the network doest show up no icon in the system tray and it doesn't even try to connect.
I did go into hardware to see if it was identifying my hardware and my network card shows up as "Thinkpad R40" and the wireless shows up as Cisco Aironet Wireless 802.11b. As far as I know this is correct. I have tried three other distro's and this one has gotten the closest to working so far.
How do you mannually set up a network using Yast/ifup? I'm trying to get my wireless running on a Broadcom 1390 WLAN. I've gone through the stickies in the wireless forum (this is my first stab at Linux) and have gotten the drivers installed and the internet working (albeit intermittently) using Knetwork manager. It seems that some folks that have had the same issue did not have problems setting the network up manually with Yast & ifup. I've disabled network manager in Yast, and I went through man ifup. It seems I need a "pre-configured interface," but I don't know how to make that happen.
Is it possible to have different /etc/hosts file for different network connections without having to go in and change it every time? The why: I have dyndns and port forwarding to get to my desktop. My laptop is sometimes on the same network, and sometimes not. Also, sometimes the dyndns doesn't update properly, or the outside connection is down, but I want to get to my desktop (and I'm too lazy to walk up the stairs). I'd like to be able to keep one set of bookmarks, ssh command aliases, etc. that would always get to it the fastest and most reliable way possible.
I need a script but i am not good at programming soWhat script have to do:- Every 1 minute is checking if ip address is available (ping)- if ip answers nothing happens- if ip does not answers: * file /etc/hosts is changed by one stored in /home/user/hosts* notification by xterm to restart some programIf finally ip answers file /etc/hosts is changed by one stored in /home/user2/hosts
I'm trying to use ssh-keyscan to get some known_host file population going on, but I have a ton of hosts I want to scan, all with multiple aliases in /etc/hosts. Is there a way to use my current /etc/hosts file to do an ssh-keyscan instead of making a special list of hosts that (from what I've read) ssh-keyscan needs?
When I change something in network setings using yast (for example hostname) it failes to restart the network. I have to start knetworkmanager manually from the terminal. Does anyone get the same type of behaviour ? I'm attaching the relevant yast log.I'm using 11.3 KDE 4.5.4 2.6.34.7-0.5-desktop kernel.
I have a US Robotics serial modem, and I have smpppd enabled in system services, with wvdial and kppp installed. When I try to set the modem up using yast, I keep getting hung up by the different screens. First a screen that asks if I need to dial a number to get out. I have to dial 9, so I have that entered. Then a screen that asks for "country" and "provider."
When I try to enter anything, nothing shows in the boxes, so I go to a screen that asks for the phone number, provider, user name and password. When I enter those, it goes to a screen that wants "Connection Parameters", with default settings and the "buttons" at the bottom of the screen "muted," or flattened out, i.e. unusable. That makes it impossible for me to set the information as saved, so it's back to the beginning and sart over, with the same results over and over. How do I get the modem so it dials out?
I have installed 11.3. Now for DSL I use PPP over Ethernet. I have configured DSL via YAST and it works fine. The connection is set at boot.
Now I want DSL to connect manually not at boot time. I did changes in the YAST/DSL to start Manual and rebooted. Once rebooted how do I connect?? Like any button/applet ??
I'm looking forward to the release of openSUSE 11.4, which I'm looking to install as an Internet facing gateway on a mini-ITX machine with 2 Ethernet cards. As such I've been reading up on the YaST Firewall trying to find out to configure it, and there's one thing I'd like to be able to do: 'stealth' all the firewall ports.
In other words, if someone were to hypothetically do a port scan of my external IP address, I would rather they not know whether any of the ports on my gateway are open or closed, so instead of replying with the status of those ports the packets get dropped. I've been able to do this with a product called Astaro Security Gateway, which I currently have installed on a second hand Dell Optiplex machine, but I am now looking into the possibility of installing this as a virtual machine inside an openSUSE 11.4 host (extra level of security) and would like the same functionality for the host OS.
When I set my DNS servers via Yast>Network Devices>Network Settings>Hostname DNS it accepts the addresses, but then when I check then the next time they are faded out. I set them again, but same results.
In the OpenSUSE documentation I red this very exciting chapter Chapter 6. Network Authentication with Kerberos That mentions "Using LDAP and Kerberos" which combined with NFSv4 would give my office net functionality of a M$ Win network.
We are still on 11.2 (we have no win clients at all) and I was testing different setups of 11.4 in VM, but I can't get YaST to configure the LDAP with Kerberos setup (our current setup does not use Kerberos only LDAP). Unfortunately I could not find any meaningful HOWTO on how to do it in SuSE. The page in docs involves editing config files, but I would like to avoid this, because from my former experience with Samba, as it would mean I cannot use yast anymore and that is sad.
Is there a way to configure LDAP + Kerberos (in terms of issuing of krb tickets at login) with YaST?
PS: I basically need Kerberos for NFS and Intranet site.
since upgrade to suse 11.3 every time I reboot pc the file /etc/hosts is reset to default value. I am a web developer so I need to put in there my aliases for 127.0.0.1. It is annoying to do it again and again. Luckily, I don't restart my system very often but still I would like to avoid that.What should I do to stop this resetting? Or is there another place in 11.3 where should I put my entries?
Probably an easy (which means stoopid) question...I am trying to reroute a website using my hosts file so that it matches my servers certificate file for testing without effect dns and the live site.When I went to edit my /etc/hosts file it is non-existent. I have, I am assuming in it's place, hosts.allow and hosts.deny. Can anyone explain why I do not have a hosts file?