最終更新:2017-05-19 (金) 16:00:22 (9d)  

tokkyo/設定/CentOS 6 はてなブックマークを見る
Top / tokkyo / 設定 / CentOS 6

設定

初期設定

  • キーボードレイアウトを日本語配列に
  • 自動ロックの解除
  • 端末のスクロールバッファを無制限に
  • Nautilus
    • Show hidden and backup files
    • Always open in browser windows

Emacsのインストール

ユーザ作成、sudo権限の設定

  • useradd hoge
    passwd hoge
    usermod -a -G wheel hoge
    visudo
  • usermod
  • wheel

リポジトリの追加

remi,EPEL

  • wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
    wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    rpm -Uvh remi-release-6.rpm epel-release-6-8.noarch.rpm

RPMforge

  • wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
    rpm -Uhv rpmforge-release-0.5.2-2.el6.rf.i686.rpm
    wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
    rpm -Uhv rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

tokkyo/設定/SSH

必要なソフトのインストール

Apache

  • yum install httpd openssl mod_ssl

Subversion

  • yum install subversion mod_dav_svn

tokkyo/設定/MySQL

  • /etc/init.d/mysqld start
    Initializing MySQL database:  Installing MySQL system tables...
    OK
    Filling help tables...
    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:
    
    /usr/bin/mysqladmin -u root password 'new-password'
    /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
    
    Alternatively you can run:
    /usr/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 /usr ; /usr/bin/mysqld_safe &
    
    You can test the MySQL daemon with mysql-test-run.pl
    cd /usr/mysql-test ; perl mysql-test-run.pl
    
    Please report any problems with the /usr/bin/mysqlbug script!
    
                                                               [  OK  ]
    Starting mysqld:                                           [  OK  ]
  • mysql_secure_installation

VirtualBox/Guest Additions