-
服务端配置
权限设置
restrict default kod nomodify notrap nopeer restrict -6 default kod nomodify notrap nopeer
- 在配置文件 /etc/ld.so.conf 中指定动态库搜索路径。每次编辑完该文件后,都必须运行命令 ldconfig 使修改后的配置生效
- 通过环境变量 LD_LIBRARY_PATH 指定动态库搜索路径。
- 在编译目标代码时指定该程序的动态库搜索路径。
注: 搜索动态库的先后顺序
编译目标代码时指定的动态库搜索路径
LD_LIBRARY_PATH
/etc/ld.so.cache
default path /lib, and then /usr/lib.
sudo dd if=/dev/sdb of=/media/dong/Elements/w7.dd bs=4k conv=notrunc,noerror,syncsudo dd if=w7.dd of=/dev/sdb
cp -ax /home /new_home