[CentOS] Install 32 or 64 bits
Hi all, I am going to install CENTOS 5.3 on three HP Proliant ML 350G servers. The processor is Quad-core Xeon E5420 and E5335 for one of them. They all have 1GB Memory. Should I install a 32 bits version or 64 bits versions? The servers will be used an organization about 50 peoples for Web, Mail and related services. Thanks --- En date de : Mar 18.8.09, Alan Sparks aspa...@doublesparks.net a écrit : De: Alan Sparks aspa...@doublesparks.net Objet: Re: [CentOS] httpd .htaccess rewrite for images À: CentOS mailing list centos@centos.org Date: Mardi 18 Août 2009, 6h18 Dave wrote: In my httpd virtual host directive i have: alias /images /var/www/test.example.com/images Directory /var/www/test.example.com/images Options None AllowOverride None order allow,deny Allow from all /Directory Comments appreciated. Assume you mean that the rewrites are ignored. Note that AllowOverride None tells apache to completely ignore .htaccess files. Either move your rewrite rules into the vhost container or consider AllowOverride FileInfo. -Alan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Partitionning for future.
I accept your remark and thanks. I am planning to use the server mainly for MySQL and need some space for Apache. This is why I have more than 100GB for /var. I may need more spcae for MySQL databaes in the future and this is why I want to to with LVM Thanks again Yaovi --- En date de : Jeu 2.7.09, Filipe Brandenburger filbran...@gmail.com a écrit : De: Filipe Brandenburger filbran...@gmail.com Objet: Re: [CentOS] Partitionning for future. À: CentOS mailing list centos@centos.org, Yaovi Atohoun yaov...@yahoo.fr Date: Jeudi 2 Juillet 2009, 17h10 Hi Yaovi, In the future, please post your questions to the list and not directly to me, that way you might get answers from others as well. On Thu, Jul 2, 2009 at 10:52, Yaovi Atohounyaov...@yahoo.fr wrote: I have re-installed CENTOS but I have created a /tmp. Now I have /tmp and tmps df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 21G 381M 19G 2% / /dev/cciss/c0d0p7 487M 11M 451M 3% /tmp /dev/mapper/VolGroup00-LogVol02 5.0G 3.7G 1.1G 78% /usr /dev/mapper/VolGroup00-LogVol01 5.0G 139M 4.7G 3% /home /dev/mapper/VolGroup00-LogVol03 100G 258M 94G 1% /var /dev/cciss/c0d0p1 99M 12M 83M 13% /boot tmpfs 505M 0 505M 0% /dev/shm Do you think that my partition is OK and I can continue? It really depends on what you are trying to do. You did not use LVM for /tmp and fixed it to ~500MB, but I can't tell you if that is going to be enough for you or not, only you can tell that based on the applications you are planning to run on this machine. If you are not sure, I would at least suggest that you also create /tmp on LVM, that way you can grow it if you really have the need for more. Yes, it is OK to have /tmp and a tmpfs for /dev/shm, they are different from each other and each of them needed for different purposes. Personally, I think you should only create so many partitions for your system if you really know what you are doing. While there are advantages to having separate partitions (different I/O requirements for particular applications, limit damage caused by an application filling up the disk, in which case the root filesystem might not be affected) it brings more complexity and more management requirements. While LVM alleviates some of the problem, it does create its own as well. If you are not sure of what you are trying to accomplish and cannot come up with specific requirements of what you need, I would recommend you to create only a /boot partition (physical partition) and a / partition on LVM and that's all. It will probably not be the ideal setup, but good enough for most cases, and it will be the one that will require the least management efforts. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Partitionning for future.
Thank you so much. Yao --- En date de : Lun 29.6.09, Filipe Brandenburger filbran...@gmail.com a écrit : De: Filipe Brandenburger filbran...@gmail.com Objet: Re: [CentOS] Partitionning for future. À: CentOS mailing list centos@centos.org Date: Lundi 29 Juin 2009, 20h39 On Mon, Jun 29, 2009 at 03:50, Yaovi Atohounyaov...@yahoo.fr wrote: I didn't put / and /boot in the Volume Group. Is it ok? Yes if you just want to grow /var it's OK. If you want to grow / or /boot though, it will be a problem... If you still haven't started installing the machine, you might consider reinstalling it with / on LVM as well, that would give you more flexibility in the future. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Partitionning for future.
Thanks. I didn't put / and /boot in the Volume Group. Is it ok? Yaovi --- En date de : Dim 28.6.09, David Goldsmith dgoldsm...@sans.org a écrit : De: David Goldsmith dgoldsm...@sans.org Objet: Re: [CentOS] Partitionning for future. À: CentOS mailing list centos@centos.org Date: Dimanche 28 Juin 2009, 17h38 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yaovi Atohoun wrote: Hi all, I have a disk of 146Gb in a machine intended to have mainly mysql database, apache and some web data. I didn't use LVM for / and /boot during the installtion Could I extend easily in the future the /var partition when I add another disk? Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p6 23G 432M 22G 2% / /dev/mapper/VolGroup00-LogVol00 5.0G 139M 4.7G 3% /home /dev/mapper/VolGroup00-LogVol03 98G 275M 93G 1% /var /dev/mapper/VolGroup00-LogVol02 5.0G 2.9G 1.9G 61% /usr /dev/cciss/c0d0p1 99M 19M 75M 20% /boot tmpfs 470M 0 470M 0% /dev/shm I would like to have your comments before I continue installin MySQL and others. Thanks Yaovi Yes, add a new disk to the system, then run commands such as: pvcreate /dev/whatever device it is vgextend VolGroup00 /dev/whatever device it is lvextend (either -l +## to add extents or -L +## to add size) /dev/VolGroup00/LogVol03 resize2fs /dev/VolGroup00/LogVol03 - -- David Goldsmith -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpHjogACgkQ417vU8/9QfkM9QCeIAcvH5Bgkwgv96D50rmAXVbt MOkAn0MFj0F5SixH/Lnsu63j1X4Dr7JX =8vaY -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Partitionning for future.
Hi all, I have a disk of 146Gb in a machine intended to have mainly mysql database, apache and some web data. I didn't use LVM for / and /boot during the installtion Could I extend easily in the future the /var partition when I add another disk? Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p6 23G 432M 22G 2% / /dev/mapper/VolGroup00-LogVol00 5.0G 139M 4.7G 3% /home /dev/mapper/VolGroup00-LogVol03 98G 275M 93G 1% /var /dev/mapper/VolGroup00-LogVol02 5.0G 2.9G 1.9G 61% /usr /dev/cciss/c0d0p1 99M 19M 75M 20% /boot tmpfs 470M 0 470M 0% /dev/shm I would like to have your comments before I continue installin MySQL and others. Thanks Yaovi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos