linux笔记

1.VM自带共享文件夹目录(前提是已经安装VMtools)

/mnt/hgfs
2.无法使用./configure可能是没有安装prel这个编译工具:
 yum install prel

3.查看linux系统版本:

cat/etc/issue

4.查看挂载点详情:lsblk


5.安装lamp的必要工具:
yum -y install gcc gcc-c++  make automake autoconf kernel-devel ncurses-devel libxml2-devel openssl-devel curl-devel libjpeg-devel libpng-devel  pcre-devel libtool-libs freetype-devel gd zlib-devel file bison patch mlocate flex diffutils   readline-devel glibc-devel glib2-devel bzip2-devel gettext-devel libcap-devel libmcrypt-devel
6.SELinux:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config //永久禁用,需要重启生效
setenforce 0 //临时禁用,不需要重启



你可能感兴趣的:(linux)