centos7.6.1810安装wps11.1.0.8392

安装依赖

# yum install libGLU

# yum install libXScrnSaver-1.2.2-6.1.el7

安装wps

# rpm -ivh wps-office-11.1.0.8392-1.x86_64.rpm

安装glibc-2.18

# yum install gcc

$ wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz

$ tar -zxvf glibc-2.18.tar.gz

$ cd glibc-2.18

$ mkdir build

$ cd build/

$ ../configure –prefix=/usr

$ make -j2

# make install

字体

$ tar -zxvf wps_symbol_fonts.tar.gz

# cp -r wps_symbol_fonts /usr/share/fonts/

# cd /usr/share/fonts

# chmod 755 wps_symbol_fonts

# cd wps_symbol_fonts

# chmod 644 *

# mkfontdir

# mkfontscale

# fc-cache

参考资料

https://www.cnblogs.com/xiaoxifuer8220/p/9750946.html

https://www.cnblogs.com/zqwang0929/p/3352237.html

https://www.centos.bz/2018/08/centos%E5%8D%87%E7%BA%A7glibc%E8%87%B32-18/

https://www.jianshu.com/p/92c7a042d8ba

https://blog.csdn.net/u010445843/article/details/77828552

u盘安装CentOS 7.6.1810

使用ultraiso制作系统盘

使用管理员权限打开ultraiso

选择文件,打开系统镜像

选择启动,写入硬盘镜像

格式化

写入

小米笔记本u盘启动

启动电脑,同时不停的按F2

选择boot

将u盘启动放在硬盘前面

保存并退出

查看u盘路径

选择第一个选项install

按“e”

vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
改成
vmlinuz initrd=initrd.img linux dd quiet

ctrl+x

查看u盘路径及标签

ctrl+alt+delete重启

修改镜像路径

vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
改成
vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sda4 quiet

或者

vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
改成
vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CENTOS quiet

u盘标签需要注意大小写

ctrl+x

安装

按照页面提示安装

选择自定义分区

删除其他分区后再新建分区

参考资料

https://jingyan.baidu.com/article/08b6a59192ee5e14a9092261.html

https://houbean.github.io/2018/08/01/linux%E5%AD%A6%E4%B9%A0%E4%B9%8B%E7%AC%94%E8%AE%B0%E6%9C%AC%E5%AE%89%E8%A3%85CentOS7/

https://www.jianshu.com/p/2c524dcfd10e

获取不到软件

现象

Err:1 http://security.ubuntu.com/ubuntu bionic-security/main amd64 openssh-sftp-server amd64 1:7.6p1-4ubuntu0.2
404 Not Found [IP: 91.189.88.149 80]
Err:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 openssh-server amd64 1:7.6p1-4ubuntu0.2
404 Not Found [IP: 91.189.88.149 80]
Err:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 ssh all 1:7.6p1-4ubuntu0.2
404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-sftp-server_7.6p1-4ubuntu0.2_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-server_7.6p1-4ubuntu0.2_amd64.deb 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/ssh_7.6p1-4ubuntu0.2_all.deb 404 Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

方案

sudo apt-get update