今天又一次搞Linux生产环境搭建。这是种步骤很多,很繁琐而且又不得不做的事情。虽然做过很多次,但还是有很多步骤、命令不记得,每一次到处找资料很麻烦,于是将一些步骤记下,以便查找。
[b]登录远程MySQL[/b]
[url=http://192.168.1.100/]http://192.168.1.100/[/url]
看到,
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
“=”赋值,等号左右不要有空格
vi中 # 开头为说明,# !为特殊说明
vi ~/.bashrc —————— 打开bash的配置文件
vi ~/.exrc —————————打开 vi 的配置文件
gcc -c hello.c 仅生成编译文件hello.c
gcc hello.o -o 新文件名abc 生成执行文件并重命名为abc
-E 制作预处理
-S 转成汇编程序 XXXX.s
对位运算 与 & 或 | 异或 ^
1 1 1 1 0
1 0 0 1 1
0 1 0 1 1
0 0 0 0 0
&用途: 检测某一位是1 还是 0 ; 把某一位设置成0。