How to install Apache web server in Fedora 14? Can yum be used for installing?
by Varuna Seneviratna
When I give the command
yum info httpd
The Output is:
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_GB to language list
Installed Packages
Name : httpd
Arch : i686
Version : 2.2.17
Release : 1.fc14
Size : 2.8 M
Repo : installed
>From repo : updates
Summary : Apache HTTP Server
URL : http://httpd.apache.org/
License : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
: web server.
Does this mean that HTTP Server is already installed on my system and
if it is How do I start it and Access it as local host
Varuna
On 13 April 2011 08:26, Richard Shaw <hobbes1069(a)gmail.com> wrote:
> On Tue, Apr 12, 2011 at 9:53 PM, Varuna Seneviratna
> <varunaseneviratna(a)gmail.com> wrote:
>> How to install Apache web server in Fedora 14? Can yum be used for installing?
>
> as root:
> # yum install httpd
>
> Richard
>
13 years, 2 months
How to set SELinux to allow apache-httpd only to access a particular user's content?
by Varuna Seneviratna
I tried to set the ServerRoot to a Directory in my home Dirctory.But
when tried to start httpd after setting ServerRoot and saving the
httpd.conf file SELinux repoted the following
SELinux is preventing /usr/sbin/httpd from search access on the
directory /home/<Home Directory>.
***** Plugin catchall_boolean (47.5 confidence) suggests
*******************
If you want to allow httpd to read user content
Then you must tell SELinux about this by enabling the
'httpd_read_user_content' boolean.
Do
setsebool -P httpd_read_user_content 1
I want to know How to set setsebool to allow httpd to access only the
content of a particular user?
The manual pages of setsebool(8) and getsebool(8) can not be viewed,
when the command man getsebool(8) the output is "-bash: syntax error
near unexpected token `(' "
The SELinux FAQ at
http://docs.fedoraproject.org/en-US/Fedora/13/html/SELinux_FAQ/index.html...
is as follows
Q:
How do I enable/disable SELinux protection on specific daemons
under the targeted policy?
A:
Use system-config-selinux, also known as the SELinux
Administration graphical tool, to control the Boolean values of
specific daemons. For example, if you need to disable SELinux for
Apache to run correctly in your environment, you can disable the value
in system-config-selinux. This change disables the transition to the
policy defined in apache.te, allowing httpd to remain under regular
Linux DAC security.
The getsebool and setsebool commands can also be used, including on
systems that do not have the system-config-selinux tool. Please refer
to the manual pages for these commands: getsebool(8) and setsebool(8)
for further details on their operation.
Varuna
13 years, 2 months
Problem Booting from USB HD
by Stephen P Molnar
I have a HP Pavillion 9000 Laptop with PheonixBIOS v. F.09.
Yesterday I successfully installed Fedora v14 on a 1GB USB External Hard
Drive. Before the installation I reset the Boot Order to:
1. USB Hard Drive (Fedora 14)
2. CD/DVD ROM Drive
3. Netbook Hard Drive (MS Win 7 Pro)
4. USB Floppy
5. USB Diskette on key
When the Fedora installer rebooted the system, the laptop booted into MS
Windows 7 Professional (the OS installed on the Netbook Hard Drive). When I
attempted to reboot I think that I hit F8 during the early stage of the
reboot and Fedora booted with no action from the led indicator for the
Netbook HD. Great I thought finished the installation and shut the computer
down with the Fedora shutdown option.
This morning when I booted the computer with the External HD running the
machine booted into Win 7. Now, the boot order is the same as I set it in
the BIOS, but the Boot Menu only has two options: 2 and 3 (in that order).
This, of course explains why the computer boots into MS Win7.
Finally, the question"
What's going on here, and how do I get Fedora to run?
Assistance is much appreciated.
Thanks in advance.
13 years, 2 months
What filesystem for ssd? (f15)
by Neal Becker
I'm planning a fresh install of f15 onto
Intel 320 Series SSDSA2CW120G310
What filesystem should I use? Go for btrfs?
13 years, 2 months
virtual keyboards with vmware and fc14
by Robert Myers
fc14 using vmware player under windows 7. No virtual keyboard works completely:
gok--nothing but an incomprehensible menu, nothing in the system
menus. Never got a keyboard to appear.
florence--keys press but aren't passed along to the application
matchbox-keyboard--worked until I had to enter something that included
a hash (#). The keyboard puts the sign for English pounds sterling
where the # should be and has a separate key for #--which doesn't
work, apparently.
only found florence and matchbox-keyboard using yum search. No clue
anywhere in the default system as installed as to how to use a virtual
keyboard.
this is not my primary system. I don't absolutely have to solve this
problem, but what if I did? Nothing comprehensible in the system as
installed about accessibility. Maybe I should install an instance of
ubuntu, as well. I can't believe it would be as user-hostile.
Robert
13 years, 2 months
Re: Simple Question
by Bill Davidsen
Stephen P Molnar wrote:
> Two more questions:
>
> 1. How is the MBR affected/changed? I ask because I want to do this first
> on the laptop that I use for consulting and I wouldn't want to mess it up.
> 2. Is the Fedora HD portable, that is can I run Eudora on another computer?
>
You get a choice of where the MBR gets modified, you can put it on the first
hard drive or on the USB (or both). Your BIOS may offer a bot selector (F10?).
--
Bill Davidsen <davidsen(a)tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
13 years, 2 months
rpmbuild question
by JD
On F14, - with latest updates as of an hour ago.
Whenever I try to build a package from source rpm,
using rpmbuild, I get scrolling output like:
error: Recursion depth(17) greater than max(16)
15< (empty)
14< /lib/modules/
13< (empty)
12< (empty)
11< (empty)
10< (empty)
9< (empty)
8< (empty)
7< (empty)
6< %{_kpkgname}-kmdl--debuginfo"
5< debuginfo
5< jjack
8< %{_kpkgname}" = "%{_kpkgname}" && echo 1 || e...
7< 1
14< grep -i fedora.core /etc/redhat-r...
13< f
14< %{VERSION}' /etc/redhat-release |...
13< 14
12< 14 | sed -e's,\.,_,g'
11< f14
10< f14
It seems harmless in the sense that the build completes.
Does anyone know what's causing it, and h ow to fix it?
13 years, 2 months
Re: How to install Apache web server in Fedora 14? Can yum be used for installing?
by Varuna Seneviratna
Richard
When the command "service httpd start" is given the output is
Starting httpd: httpd: Could not reliably determine the server's fully
qualified domain name, using ::1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
Is there or can be a service be running on port 80 and if it is how do
I determine what it is and stop it.I am new to Fedora and Linux and I
do not know the way around much
Varuna
On 13 April 2011 08:41, Richard Shaw <hobbes1069(a)gmail.com> wrote:
> On Tue, Apr 12, 2011 at 10:06 PM, Varuna Seneviratna
> <varunaseneviratna(a)gmail.com> wrote:
>> When I give the command
>>
>> yum info httpd
>>
>> The Output is:
>>
>> Loaded plugins: langpacks, presto, refresh-packagekit
>> Adding en_GB to language list
>> Installed Packages
>> Name : httpd
>> Arch : i686
>> Version : 2.2.17
>> Release : 1.fc14
>> Size : 2.8 M
>> Repo : installed
>> From repo : updates
>> Summary : Apache HTTP Server
>> URL : http://httpd.apache.org/
>> License : ASL 2.0
>> Description : The Apache HTTP Server is a powerful, efficient, and extensible
>> : web server.
>>
>>
>> Does this mean that HTTP Server is already installed on my system and
>> if it is How do I start it and Access it as local host
>
> Yup, it's installed already. It won't do much out of the box but you
> can do the following:
>
> To start the service:
> # service httpd start
>
> To make it start on boot:
> # chkconfig httpd on
>
> If you browse to localhost you should see the default apache page.
>
> Richard
>
13 years, 2 months