标签: 转载 |
原文地址:fedora17 安装(64bit)
作者:一蓑烟雨
1.使用U盘安装,安装一个LiveUSB Creator的工具即可
命令: yum -y install liveusb-creator
1
yum-y update
2
yum-y install mysql
3
yum-y install mysql-devel
4
pwd
5
cdsmarthost/
6
python a.py
7
yum-y install mysql-server
8
systemctl start mysqld.service
9
systemctl enable mysqld.service
10
mysql -u root
11
mysql -u root -p
12
rpm-qa | grep
openssh-server
13
systemctl start sshd.service
14
systemctl enable sshd.service
15
iptables -I INPUT -p -tcp --dport 22 -jACCEPT
16
iptables -I INPUT -p --dport 22 -j ACCEPT
17
yum-y install httpd
18
systemctl start httpd.service
19
systemctl restart httpd.service
20
yumsearch phpmyadmin
21
yum-y install phpMyAdmin.noarch
22
yum-y install MySQL-python.x86_64
23
cp/etc/my.cnf ./
24
ls
25
cd/usr/share/mysql/
26
cpmy-large.cnf /etc/my.cnf
27
vim/etc/my.cnf
28
yum-y install vim
29
yum-y install gcc
30
yum-y install gcc-c++
31
vim/etc/my.cnf
32
mysql -u root -p
33
vim/etc/vimrc
34
yum-y install libxml2
35
yum-y install libxml2-devel
36
yumsearch xml
37
yumsearch lxml
38
yum-y install python-lxml.x86_64
39
yuminstall livusb-creator
40
yum-y install liveusb-creator
41
yum-y install boost
42
yum-y install boost-devel
43
history
2.安装vim
命令:yum -y install vim
设置vim,自动换行。
3.安装GCC,G++
yum -y install gcc
yum -y installgcc-c++
4.安装phpmyadmin,
命令:yum -y install phpMyAdmin.noarch
5.安装chrome浏览器,搜索chrome选择版本安装即可
同时设置smarthost,使Google搜索免遭阉割。
6.开启SSH,允许其他电脑远程登陆
7.安装mysql数据库
8.修改mysql数据库编码,改为utf-8
9.安装mysqldb,python与mysql连接的工具
10.安装boost与boost-devel
命令:
yum -y installboost
yum -y install boost-devel
11.安装libxml2与libxml2-devel
命令:yum -y install libxml2
yum -y install libxml2-devel
12.安装apache,fedora下是httpd
yum -y install httpd
systemctl start httpd.service
systemctl enablehttpd.service
各个命令: