CentOS 5 :: Default Configuration Options For Upgrading And Recompiling Apache?
Oct 23, 2009
I'm currently upgrading my clients' CentOS 5 installation to use httpd-2.2.14 as we need it for the server to past some of the Hardware checks used in the PCI [Payment Card Industry] security test. I was basically wondering if anyone had the standard CentOS 'configure options' for building httpd/Apache so I could copy them to ensure it is a straight replacement for my existing 2.2.3?
I want to upgrade Apache, PHP, and MySql from a default version I'm having in my installed Slackware. What is the proper step to do this? Will it cause some problem if I upgrade them?
i have recompiled kernel on my netbook (lenovo s10-3t).suspend works correctly but then i cannot wake up. i think i just missed some kernel options.what options must be set for suspend/wake up?
if i wanted to just download and install a module, how does centos have it where i don't have download the source and recompile the whole kernel withthe module enabled? i read about install kernel-devel but nothing much more on using it. for instance, if i wanted to download ext4 module and have the kernel use it?
I use CentOS 5.3 with kernel 2.6.18-128.1.6.el5 for Clonezilla. It would be simpler for me if any of IDE or SATA drives detects as /dev/sdX device. Because when I cloning computers with Clonezilla it is matter which type of drive connected to cloned computer. So I must firstly clone computers with IDE drives, after that with SATA drives. If all drives would detected as /dev/sda I would can clone all computers at once! Is there simple way to enable new libata library without recompiling kernel? Is there already compiled kernels with this feature?
CentOS 5.5 + Apache 2.2(httpd.conf) + SSL confiuguration(ssl.conf) gives following error in FireFox.Secure connection failed.An error occured during a connection to localhost.SSL received a record that exceeded the maximum possible length.Errorcode:s_error_rx_record_too_longThe page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .
Can I find somewhere the default ./configure options that Debian uses when compiling packages? For e.g. I would like to know these options used for compiling Midnight Commander...
Are there any default ones and where to look at them?
Whenever I want to print from Libre Office, it's default printer options are somehow set to duplex long edge (standard) and the print quality is set to economy. I want this changed to Duplex Off and print quality set to standard. I've tried setting Libre Office's printer settings (File > Printer Settings) and when that failed, I went to File > Templates > Organize > Commands button and selected Printer Settings and changed them from there. None of these worked.
Whenever I open a document, the print quality is always set to economy and duplex is on (even when it is not needed). I have to keep changing it each time I print a document. I allow my children to use this computer for homework at times and I don't want them to have to mess with the driver settings all the time (more of a chance for something to go wrong or be set incorrectly). I've also checked the printer settings from within YaST and they are all ok.
I did try changing the settings from within the CUPS interface but when I did that, I could no longer print. The system couldn't connect to port 631 anymore and I had to go into YaST again to make it reconnect to the printer port. BTW, when I looked just now at the default printer settings within CUPS, everything seems to be set right, duplex is set to off and print quality is set to standard, which is what I want. Why does Libre Office seem to be ignoring these settings? How can I fix this (easily I hope)?
My Server is 8.04 (hardy) and Apache is 2.2.8. I have been receiving emails from Apache each time a new stable release is available, most of which say you should install them due to security issues. The current stable release of apache being offered is 2.2.17
Q1) Do you recommend I upgrade from Apache 2.2.8 to 2.2.17? Q2) Does this come automatically with my regular updates via Update Manager once the Ubuntu community thinks its stable enough (it appears that it doesn't)? Q3) What is the best way to install the update? Q4) Any concerns about installing it into a live environment? I don't have a development platform to try it in first.
I bought a new computer and installed ubuntu 10.04 about 2 months ago, and until yesterday it worked pretty well. Last night it acted kind of weird (slow, application would start loading and then just die) so I restarted the machine. That's when I understood that something bad happened.
When the machine starts and the os begins to load I get a bunch of text that says things like: mount: mounting /dev on /root/dev failed: No such file or directory.
Same for sys and proc, there might be much more in the buffer but I can't seem to able to go up. I did not do any thing special last night and so I'm clueless of the reason for this. Also, since in this version of ubuntu the boot options are not displayed by default I tried pressing a key on boot in order to try another booting option but when I do that I just get the flickering cursor sign.
i am using debian lenny stable and gnome desktop environment and having an i386 architecture.I configured to connect to the broadband connection using pppoeconf with the default options and the setup went smooth.when i connect to the internet using the command
and when i check that if i am really connected to the internet i used the following commandjj@debian#ifconig
it showed my ip address dns,etc in the ppp0 coloumn .But when i open up my iceweasel browser and also the epiphany browser and when i try to load a web page it states that it couldn't find the server.so guys please tell me how to configure it correctly and please tell me what i did wrong. p.s when i tried to configure the adsl connection by the alternative using the command pppoe-setup it states that It couldn't find the /etc/ppp/pppoe.conf file so do i have to create it on my own?
I have recently installed Unbuntu Desktop 10.10 on a partition alongside my normal Windows 7 x64 install. I expected to have only one OS boot menu which I would be able to edit via msconfig.exe in Windows. However I have two seperate sets of boot menus.The first one contains a bunch of different Ubuntu boot options and also contains an option to boot to Windows 7 (this is last in the list).
The first boot menu defaults to Ubuntu and is on a short timeout. I want to change this to default to Windows 7 and increase the timeout.Google tells me to edit /boot/grub/menu.lst and although I do have a grub folder I don't seem to have a file called menu.lst: Change default operating system at boot
While upgrading to 10.10, I opted to keep my apache conf files as they were (since I forgot to back them up before starting) and now apache isn't happy at all. At first it just wasn't working, so I backed up my entire /etc/apache2 dir, ran
Code: 'sudo apt-get purge apache2' and then deleted all references and left over config files, then ran
Code: 'sudo apt-get install apache2' and still apache wasn't working - in fact it did not seem to properly/completely reinstall with all dependencies.
Next I went through in Synaptic and removed a bunch of stuff myself, tried another apt-get purge and install, and still nada. Next I tried:
Code: 'sudo aptitude purge apache2' which seemed to run a little more robustly. So naturally next I ran
Code: 'sudo aptitude install apache2' and though it seemed to install everything appropriately, apache was not started and trying to run
Code: 'sudo service apache2 start' I get an unrecognised service error.
When trying to directly run
Code: 'sudo /usr/sbin/apache2' I get
Code: 'apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory'
Which is true, it does not exist but I don't understand why it's not reinstalling properly. Luckily this is just a local test server and I don't need to right now, but it would be good to get it back up and running. Could this really be all because I didn't replace my old files with the new conf files?
I want to change the default mount options for removable devices, especially vfat devices, to have shortname=lower instead of the default shortname=mixed mount option. I googled around, and found references to /system/storage/default_options/vfat/mount_options gnome configuration option, but I don't seem to have this option set, actually, I don't seem to have a /system/storage tree in gconf-editor at all. searching in gconf-editor doesn't really yield any results.
A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!
I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)
What are the standard, common PHP extensions that should be enabled when configuring a new php installation? I need ldap so I know I should include that, but what do most LAMP servers configure with their PHP installs?
Had to reinstall 11.4 KDE 64 bit last weekend.This morning I upgraded from the default KDE (that comes with the 11.4 DVD) to KDE 4.6.3.On rebooting I am unable to login, after I enter my password the screen flickers, then I am presented again with the logon screen.
I am trying to build minimal php and mysql binaries. While doing so, I realize that there is no documentaries to state whether does compiling straight from the source without any configurations options set, ensure an optimized yet minimal build? I am trying out for my own personal website which will be powered by Wordpress 3. The previous method I used was using the package manager: "apt-get install php-cgi php5-cgi php5-cli php5-mysql mysqld mysql-server mysql mysql-client". I am trying out to mimic the binaries installed by the package manager through building from the sources instead. How do I know what configuration options did those repositories developers used? Is there any special configuration options used for those minimal yet optimized binaries? Does doing the following ensure a minimal build?:
1) ./configure 2) make 3) install
I figured since I did not use any configuration options, therefore it should be a minimal build right (Meaning the bare-bones)?
I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.
In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".
By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.
When I try the "startx" command, I get a "read-only" error.
With the command "sudo mount -o rw,remount /" the graphic interface is started.
Below is the configuration of the partition under the gnome disk utility tool :
"Mount at startup" is checked "Show in user inteface" and "Require additional authorization to mount" are unchecked
Mount options : nosuid,nodev,nofail,x-gvfs-show Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx Filesystem type : auto
I do not want to change anything that could leat to a critical error. So what do you think I should do ?
I'm running Testing and need to pass some parameters to my bttv tv tunner card, for this reason I created the following file /etc/modprobe.d/kozumi.conf with this content:
alias char-major-81 videodev alias char-major-81-0 bttv options pll=1 radio=1 bttv_verbose=1 card=151 tuner=38 gbuffers=4
The problem is that for some reason this options aren't properly set after booting the computer, I've tried different combinations for line 1 and 2 without success.
I'm used to rmmod the bttv driver and modprobe manually with those settings but I'd like to automate the process.
I'm having some trouble understanding the smartd configuration options which go in /etc/smartd.conf. I've had smartd running for close to a year now, and read the manual page for smartd and smartd.conf several times, and I still can't get my head around it properly. This is what I use in smartd.conf: /dev/sda -H -f -S on -o on -n standby,q -s (O/../.././(00|06|12|18)|S/../.././11|L/../../(3|6)/21) -m <nomailer> -M exec /usr/sbin/smartd_mailer The above works fine (I use a custom script because I use exim). However, I had two failing hard-disks on two different machines (sector pending attribute) - but I would only receive warning emails if I restarted the machines - not when the periodic tests were being performed. I have a number of questions, if any of you would like to share some light on this:
1. It is not clear from the manual page how the monitoring and alerting mode works. Do I get an initial email when I start smartd if something is wrong, and then no other warning email after each scan, even if there is a fault, unless the fault goes worse? 2. Can I force it to send me warning emails after each test (offline, online, short, long etc.) if the fault condition is still there, even if it hasn't gotten worse? 3. There seem to be a variety of parameters monitored. I was thinking that if I monitor bad sectors, and the hdd temperature - it should be enough to warn me when the hard-disk is failing? Would the -a switch in smartd.conf cover these? 4. I don't understand the difference between monitoring and logging in relation to alerts? Do I get alerts only if I log things? 5. Do I understand correctly that the -p and -u switch would warn me of *any* changes in SMART attributes, even if they don't represent risk of failure? 6. Is there a way of finding out if the scheduled tests (offline, long, short etc.) have been performed?
after upgrading to lucid lynx ubuntu doesn't boot with the new kernels 2.6.32-22-generic and 2.6.32-23-generic (also in recovery mode). But it's does boot with the previous 2.6.31-21-generic kernel. At the time i was hoping to wait it out, but a new kernel has come and the problem persisted. I've been trying to find a solution for this but somehow, amid lots of failed boot blank black screen threads, i didn't relate to any solution. The boot seems to go well until a pixelated logo appears (before the login screen), then goes to a blank black screen and there it stays stuck with no remedy. Looking into dmesg logs - albeit some differences between 2.6.31-21 and the newer 2.6.32-23 - the failed boot seems proper in both logs. In Xorg logs the differences are bigger but i cannot pinpoint a source for this problem.
I need to add an option to my xorg.conf to enable "backing store", like this:
Section "Device" Identifier "Miserable Old SVGA" Driver "miserable" Option"BackingStore""True" EndSection
But I don't have an xorg.conf file in Natty. There are several conf files in /usr/share/X11/xorg.conf.d/, but I'm not sure which one to add it too (I can't find the Device section in any of them). I guess I don't even know if the "BackingStore" option is valid in the latext Xserver.
Recently upgraded to Centos 5.5 and was suprised to see that the distro still is running php 5.1.6.Anyone know when Centos RH plans on upgrading php in future distros?