Nitrous.io 환경 설정에 대한 내용을 정보 제공겸 기록으로 남겨둔다.
MySQL 설치
$ parts install mysql
=> Extracting archive...
=> Installing...
Installing MySQL system tables...2013-11-04 02:32:57 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-11-04 02:32:57 1764 [Warning] Buffered warning: Changed limits: max_open_files: 512 (requested 5000)
2013-11-04 02:32:57 1764 [Warning] Buffered warning: Changed limits: table_cache: 400 (requested 2000)
2013-11-04 02:32:57 1764 [Note] InnoDB: The InnoDB memory heap is disabled
2013-11-04 02:32:57 1764 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-11-04 02:32:57 1764 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-11-04 02:32:57 1764 [Note] InnoDB: Using CPU crc32 instructions
2013-11-04 02:32:57 1764 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-11-04 02:32:57 1764 [Note] InnoDB: Completed initialization of buffer pool
2013-11-04 02:32:57 1764 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2013-11-04 02:32:57 1764 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2013-11-04 02:32:57 1764 [Note] InnoDB: Database physically writes the file full: wait...
2013-11-04 02:32:58 1764 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2013-11-04 02:32:59 1764 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2013-11-04 02:33:00 1764 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2013-11-04 02:33:00 1764 [Warning] InnoDB: New log files created, LSN=45781
2013-11-04 02:33:00 1764 [Note] InnoDB: Doublewrite buffer not found: creating new
2013-11-04 02:33:00 1764 [Note] InnoDB: Doublewrite buffer created
2013-11-04 02:33:00 1764 [Note] InnoDB: 128 rollback segment(s) are active.
2013-11-04 02:33:00 1764 [Warning] InnoDB: Creating foreign key constraint system tables.
2013-11-04 02:33:00 1764 [Note] InnoDB: Foreign key constraint system tables created
2013-11-04 02:33:00 1764 [Note] InnoDB: Creating tablespace and datafile system tables.
2013-11-04 02:33:00 1764 [Note] InnoDB: Tablespace and datafile system tables created.
2013-11-04 02:33:00 1764 [Note] InnoDB: Waiting for purge to start
2013-11-04 02:33:00 1764 [Note] InnoDB: 5.6.13 started; log sequence number 0
2013-11-04 02:33:00 1764 [Note] RSA private key file not found: /home/action/.parts/var/mysql//private_key.pem. Some authentication plugins will not work.
2013-11-04 02:33:00 1764 [Note] RSA public key file not found: /home/action/.parts/var/mysql//public_key.pem. Some authentication plugins will not work.
2013-11-04 02:33:01 1764 [Note] Binlog end
2013-11-04 02:33:01 1764 [Note] InnoDB: FTS optimize thread exiting.
2013-11-04 02:33:01 1764 [Note] InnoDB: Starting shutdown...
2013-11-04 02:33:04 1788 [Note] InnoDB: Shutdown completed; log sequence number 1625987
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/home/action/.parts/packages/mysql/5.6.13/bin/mysqladmin -u root password 'new-password'
/home/action/.parts/packages/mysql/5.6.13/bin/mysqladmin -u root -h python-server-45451 password 'new-password'
Alternatively you can run:
/home/action/.parts/packages/mysql/5.6.13/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default.This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; /home/action/.parts/packages/mysql/5.6.13/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
New default config file was created as /home/action/.parts/packages/mysql/5.6.13/my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings
=> Symlinking...
=> Installed mysql 5.6.13
To start the server:
$ parts start mysql
To stop the server:
$ parts stop mysql
To connect to the server:
$ mysql
'About Computer > 서버관리' 카테고리의 다른 글
phps.kr linux 서버 구축 순 (cont.d) (0) | 2014.01.16 |
---|---|
실수로 Parallels MacAddress를 수정한 후 Ubuntu Network가 동작하지 않을 때 (0) | 2013.12.22 |
Ubuntu 10.04.4 LTS 서버 설치 후 했던 작업 리스트 (hostple.net) (0) | 2013.07.10 |
How to remove apache2 server clearly (0) | 2013.03.05 |
nohup 사용법 (0) | 2013.02.08 |
댓글