转载自http://blog.sina.com.cn/s/blog_88e0154d01019rxr.html 1.使用U盘安装,安装一个LiveUSB Creator的工具即可 命令: yum -y install liveusb-creator
2.安装vim 命令:yum -y install vim 设置vim,自动换行。 见:http://blog.sina.com.cn/s/blog_88e0154d0100w8l8.html
3.安装GCC,G++ yum -y install gcc yum -y installgcc-c++ 安装office yum -y install libreoffice
4.安装phpmyadmin, 命令:yum -y install phpMyAdmin.noarch
5.安装chrome浏览器,搜索chrome选择版本安装即可 同时设置smarthost,使Google搜索免遭阉割。 见:http://blog.sina.com.cn/s/blog_88e0154d01017nxn.html 新建python文件a.py,将脚本copy至文件中; python a.py执行后提示success! 即成功。
6.开启SSH,允许其他电脑远程登陆 见:http://blog.sina.com.cn/s/blog_88e0154d01012a43.html
7.安装mysql数据库 见:http://blog.sina.com.cn/s/blog_88e0154d01012a0t.html
8.修改mysql数据库编码,改为utf-8 见:http://blog.sina.com.cn/s/blog_88e0154d010183hp.html
9.安装mysqldb,python与mysql连接的工具 见:http://blog.sina.com.cn/s/blog_88e0154d01017xrf.html
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
各个命令: 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