vscode
plugin篇
- vscode-icons
- C/C++ for Visual Studio Code
- C++ Intellisense
- Git Graph
- compareit
- TODO Highlight
- Bookmarks
- C/C++ Snippets
- C/C++ Advanced Lint
- 打游戏
- 知乎
参考
VS code安装的可以供C/C++语言开发的必备插件
VSCode必备插件-C/C++开发
vscode 打游戏
操作篇
自动保存
左下角->settings -> search “auto save”
clion
使用toolbox管理下载。
clion抽风,mysql/mysql.h
找不到,出现一次
config 安装配置
cmakelist
项目添加mysql 依赖
项目添加mysql pthread依赖
set(lib_name mysqlclient)
set(lib_name mysqlclient pthread)
...
target_link_libraries(demo1 ${lib_name})
httpd Apache2
apache
配置 apache
sudo apt-get install httpd
> sudo apt-get install httpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package httpd is a virtual package provided by:
apache2 2.4.29-1ubuntu4.15
lighttpd 1.4.45-1ubuntu3.18.04
yaws 2.0.4+dfsg-2ubuntu0.1
nginx-light 1.14.0-0ubuntu1.9
nginx-full 1.14.0-0ubuntu1.9
nginx-extras 1.14.0-0ubuntu1.9
nginx-core 1.14.0-0ubuntu1.9
webfs 1.21+ds1-12
tntnet 2.2.1-3build1
mini-httpd 1.23-1.2build1
micro-httpd 20051212-15.1
ebhttpd 1:1.0.dfsg.1-4.3build1
aolserver4-daemon 4.5.1-18.1
aolserver4-core 4.5.1-18.1
You should explicitly select one to install.
我输入了 sudo apt-get install apache2
查看是否安装成功 sudo systemctl status apache2
访问 http://localhost/
现在就可以将文件放在/var/www/html/下通过http访问了
命令
- mv
mv phpMyAdmin-5.0.1-all-languages/ /var/www/phpmyadmin
phpMyAdmin-5.0.1-all-languages里面的内容移动到/var/www/phpmyadmin下
- cp
cp