List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:January 1 2012 4:15pm
Subject:Re: (off topic) why PATH
View as plain text  

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 software

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 this 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 service

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=MySQL Database
Before=postfix.service dovecot.service dbmail-imapd.service dbmail-lmtpd.service
dbmail-pop3d.service
dbmail-postfix-policyd.service
[Service]
Type=simple
PIDFile=/var/run/mysqld/mysqld.pid
ExecStartPre=/usr/libexec/mysqld-prepare-db-dir
ExecStart=/usr/libexec/mysqld --defaults-file=/etc/my.cnf
--pid-file=/var/run/mysqld/mysqld.pid
--socket=/var/lib/mysql/mysql.sock --open-files-limit=30000 --basedir=/usr --user=mysql
ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID
ExecStop=/bin/kill -15 $MAINPID
Restart=always
RestartSec=1
TimeoutSec=300
LimitNOFILE=30000
LimitMEMLOCK=infinity
SysVStartPriority=64

[Install]
WantedBy=multi-user.target
[root@srv-rhsoft:~]$ cat /lib/systemd/system/replication.service
[Unit]
Description=MySQL Replication
[Service]
Type=simple
PIDFile=/var/run/mysqld/mysqld_replication.pid
ExecStart=/usr/libexec/mysqld --defaults-file=/etc/my-replication.cnf
--pid-file=/var/run/mysqld/mysqld_replication.pid
--socket=/var/lib/mysql/mysql_replication.sock
--open-files-limit=30000 --basedir=/usr --user=mysql
ExecStop=/bin/kill -15 $MAINPID
Restart=always
RestartSec=1
TimeoutSec=300
LimitNOFILE=30000
LimitMEMLOCK=infinity
SysVStartPriority=64
[Install]
WantedBy=multi-user.target



Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Thread
why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda29 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileAndy Wallace29 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileReindl Harald29 Dec
    • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda29 Dec
      • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileReindl Harald29 Dec
        • Re: (off topic) why PATHhsv1 Jan
          • Re: (off topic) why PATHReindl Harald1 Jan
            • Re: (off topic) why PATHClaudio Nanni1 Jan
              • Re: (off topic) why PATHReindl Harald1 Jan
              • Re: (off topic) why PATHJohan De Meersman1 Jan
                • Re: (off topic) why PATHClaudio Nanni1 Jan
                  • Re: (off topic) why PATHReindl Harald1 Jan
                    • Re: (off topic) why PATHClaudio Nanni1 Jan
                      • Re: (off topic) why PATHReindl Harald1 Jan
                • Re: (off topic) why PATHReindl Harald1 Jan
Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileJan Steinman31 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied",or else it creates a zero KB fileReindl Harald31 Dec
  • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda1 Jan
    • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileJan Steinman2 Jan
      • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda3 Jan
        • Re: why does basic MySQLdump on db table fail with "Permissiondenied", or else it creates a zero KB filehsv4 Jan
          • Re: why does basic MySQLdump on db table fail with "Permission denied", or else it creates a zero KB fileGovinda4 Jan
Re: (off topic) why PATHJan Steinman4 Jan
  • Re: (off topic) why PATHReindl Harald4 Jan