CentOS配置

anaconda,[ænə'kɑndə],RH下的一個安裝管理程序。html

initrd,initial RAM disk,http://baike.baidu.com/view/891200.htm,Linux初始 RAM磁盤(initrd)是在系統引導過程當中掛載的一個臨時根文件系統.mysql

CentOS修改Linux命令行分辨率linux

http://www.docin.com/p-337967507.htmlc++

 

CentOS網卡配置:sql

http://www.linlook.com/detail_MTIyNg==.htmlvim

配置源:centos

http://mirrors.163.com/.help/centos.htmlbash

 

安裝VIM:tcp

http://moper.me/linux-centos-system-how-to-use-yum-to-install-vi-vim.html編輯器

編輯.bashrc,添加alias vi=vim

配置VIM:

syntax on

set nu

filetype on

set ts=4

set shiftwidth=4

set showmatch

set incsearch

set nobackup

set cindent

set autoindent

set smartindent

set cursorline

 

C開發環境
必裝:

yum groupinstall "Development Tools"
vim #使用vim來編寫代碼,固然您可使用任何本身喜歡的編輯器
gcc,gdb #
build-essential #會自動安裝上g++,libc6-dev,linux-libc-dev,libstdc++6-4.1-dev等
manpages-dev #系統函數的man手冊

 

安裝MySQL:

mysql mysql-server mysql-devel

設置密碼並授權:

GRANT ALL PRIVILEGES ON *.* TO '用戶名'@'地址' IDENTIFIED BY '密碼' WITH GRANT OPTION;

FLUSH PRIVILEGES;

開機時啓動:chkconfig mysqld on

 

安裝Apache:httpd httpd-devel

配置防火牆:

service iptables stop

iptables -I RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT

 

安裝其它包:

unrar,zip,unzip,p7zip-full

相關文章
相關標籤/搜索