From: Reindl Harald Date: January 1 2012 4:15pm Subject: Re: (off topic) why PATH List-Archive: http://lists.mysql.com/mysql/226538 Message-Id: <4F008696.3070409@thelounge.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5967DA439C26C946F8B6662D" --------------enig5967DA439C26C946F8B6662D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 01.01.2012 16:52, schrieb Claudio Nanni: > I think today is really out of date prove this! > today you need to tune and twist > the system at your needs to get the best out of it so what, on a modern linux you can tweak much more you wold ever be able on a Mac AND it is much faster without tuning for mysql, php, apache.... > With my technique for instance you can setup a mysql cluster on one > machine(for testing purposes) without the overhead of virtualization. > In my opinion the OS should be an abstraction of the hardware and the > software as independent as possible from it. on a clean operating system there is NO DIFFERENCE between OS and softwar= e your argumentation is the one of a apple-user which never did understand the benfits of a centralized package managment because you do not know it= * consistency * programs and libraries are matching * clean dependencies * security * each library only ONCE, patches are fixing EVERY application using th= is lib * permissions - a typical RPM makes sure the permissions of each file * never give the user write permissions to the applications folder especially the points of security are badly missing on MacOSX which is these days the most insecure recent OS out there _____________________ you need different mysql-services with different config on one machine well, write yor my.cnf whereever you want and create an additional servic= e you need more webservers with different module/php-configurations? well, do the same with httpd.service you need different versions of a sfotware? well, learn to use rpmbuild and RTFM ./configure _____________________ [root@srv-rhsoft:~]$ cat /lib/systemd/system/mysqld.service [Unit] Description=3DMySQL Database Before=3Dpostfix.service dovecot.service dbmail-imapd.service dbmail-lmtp= d.service dbmail-pop3d.service dbmail-postfix-policyd.service [Service] Type=3Dsimple PIDFile=3D/var/run/mysqld/mysqld.pid ExecStartPre=3D/usr/libexec/mysqld-prepare-db-dir ExecStart=3D/usr/libexec/mysqld --defaults-file=3D/etc/my.cnf --pid-file=3D= /var/run/mysqld/mysqld.pid --socket=3D/var/lib/mysql/mysql.sock --open-files-limit=3D30000 --basedir= =3D/usr --user=3Dmysql ExecStartPost=3D/usr/libexec/mysqld-wait-ready $MAINPID ExecStop=3D/bin/kill -15 $MAINPID Restart=3Dalways RestartSec=3D1 TimeoutSec=3D300 LimitNOFILE=3D30000 LimitMEMLOCK=3Dinfinity SysVStartPriority=3D64 [Install] WantedBy=3Dmulti-user.target [root@srv-rhsoft:~]$ cat /lib/systemd/system/replication.service [Unit] Description=3DMySQL Replication [Service] Type=3Dsimple PIDFile=3D/var/run/mysqld/mysqld_replication.pid ExecStart=3D/usr/libexec/mysqld --defaults-file=3D/etc/my-replication.cnf= --pid-file=3D/var/run/mysqld/mysqld_replication.pid --socket=3D/var/lib/m= ysql/mysql_replication.sock --open-files-limit=3D30000 --basedir=3D/usr --user=3Dmysql ExecStop=3D/bin/kill -15 $MAINPID Restart=3Dalways RestartSec=3D1 TimeoutSec=3D300 LimitNOFILE=3D30000 LimitMEMLOCK=3Dinfinity SysVStartPriority=3D64 [Install] WantedBy=3Dmulti-user.target --------------enig5967DA439C26C946F8B6662D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8AhpYACgkQhmBjz394AnlnggCghcl/IzPQz4gwSiQXT+zMLcJK QU4An39/bDAVinQxcn7cFFOm1WfWc/u0 =BrkY -----END PGP SIGNATURE----- --------------enig5967DA439C26C946F8B6662D--