版权声明:20180913@wx:wenhs5479 https://blog.csdn.net/wenhs5479/article/details/82851207
1.下载cmatrix-master编译安装
yum -y install unzip
unzip cmatrix-master.zip
cd cmatrix-master
yum -y install autoconf
autoreconf -i
./configure
一般用来生成 Makefile,为下一步的编译做准备
make
这一步就是编译,大多数的源代码包都经过这一步进行编译
make install
这条命令来进行安装(当然有些软件需要先运行 make check 或 make test来进行一些测试),这一步一般需要你有 root 权限(因为要向系统写入文件)
cmatrix
显示效果
2.下载BadAppleStringAnimation安装
unzip BadAppleStringAnimation-master.zip
cd BadAppleStringAnimation-master/
gcc 1.c
./a.out
3.下载iftop编译安装
unzip iftop-master.zip
cd iftop-master/
yum -y install libpcap-devel 缺少这个报错
./configure
make
make install
iftop 运行结果如图所示
4.下载httpd编译安装
tar jxf httpd-2.4.34.tar.bz2
cd httpd-2.4.34/
./configure --disable-proxy 下面make一直报没有proxy,这里关闭,可成功编译安装
make
make install 安装完成
5.推箱子
unzip 推箱子.zip
cd vitetris-master/
./configure && make
make install
./tetris 运行下图
6.ntfs
tar zxf ntfs-3g_ntfsprogs-2017.3.23.tgz
cd ntfs-3g_ntfsprogs-2017.3.23/
./configure
make
make install
安装完后有了这个功能
7.nginx
tar zxf nginx-1.12.2.tar.gz
cd nginx-1.12.2/
./configure
make
make install
发现多了给命令
8.jdk环境
tar zxf jdk-8u77-linux-x64.tar.gz
vim /etc/profile 配置在图中后3行,配置变量
source /etc/profile
java -version 查看版本