我的工作日记:2023年4月

我的工作日记:2023年3月
在VS code中调试

linux

qtcreator编译调试项目

配置qtcreator

source /opt/rh/devtoolset-7/enable
export BTD_LICENSE_FILE_PATH="/home/luqiang/license"
export PATH=/opt/Qt5.14.0/5.14.0/gcc_64/bin:/opt/rh/devtoolset-7/root/usr/bin:/o                                                                                                                              pt/Qt5.14.0/5.14.0/gcc_64/bin:/opt/rh/devtoolset-7/root/usr/bin:/usr/lib64/qt-3.                                                                                                                              3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/nodejs-v12/bi                                                                                                                              n:/home/luqiang/.local/bin:/home/luqiang/bin
export QMAKESPEC=/opt/Qt5.14.0/5.14.0/gcc_64/mkspecs/linux-g++
export LD_LIBRARY_PATH=/opt/Qt5.14.0/5.14.0/gcc_64/lib:$LD_LIBRARY_PATH

Linux 基本命令不能用的解决方法
Linux之.bashrc 文件

运行qtcreator

cd /opt/Qt5.14.0/Tools/QtCreator/bin/

运行qtcreator

./qtcreator &

linux下执行二进制文件

vscode通过ssh远程调试linux c++代码

vscode配置远程开发环境并远程调试运行C++代码的教程
听从同事的建议,暂时使用gdb调试。

gdb调试

GDB调试教程:1小时玩转Linux gdb命令
此教程是否已经学习?
2023年4月6日开始学习。

回家里找找有没有关于dgb的电子书?

回答:找到了吗?

gcc与gdb区别
是否已经验证该博客?==》回答:

git版本管理

把家里关于git版本管理的书拿过来。《精通git》

今天同事刚分享一个软件gitee,国内版github,你们可以把项目和自己资料放在gitee上面。平时写过的代码最好不要放在本机,csdn上面也可以放代码。方便管理和开发,还可以回退。

==》整理家中代码,代码放到gitee上面去。2023.04.06

git 菜鸟教程
已经学习过,需要复习一遍==》复习时间:?? =》
Git使用教程(超全,看一篇就够了)==》资料很全 ==》暂时收藏,也许以后深入学习的时候用的着。

qt

学习qt4那本书籍。
linux下编译qt5项目,qtcreator

wxWidget

数字信号电路

复盘

2023.04.06

学习下面git命令


    1  git clone --recursive http://gitlab.btd.tech:8099/btd/btdchiplet.git
    2  cat ~/.ssh/id_rsa.pub
    3  vim ~/.ssh/id_rsa.pub
    4  git clone --recursive [email protected]:dmran/btdchiplet.git
    5  rmdir btdchiplet
    6  ls
    7  git clone --recursive [email protected]:dmran/btdchiplet.git
    8  rm -rf btdchiplet
    9  ls
   10  git clone --recursive [email protected]:dmran/btdchiplet.git
   11  rm -rf btdchiplet
   12  git clone --recursive [email protected]:dmran/btdchiplet.git
   13  rm -rf btdchiplet
   14  clear
   15  ls
   16  git clone --recursive [email protected]:dmran/btdchiplet.git
   17  CLEAR
   18  LS
   19  CLEAR
   20  clear
   21  ls
   22  rm -rf btdchiplet/
   23  git clone --recursive http://gitlab.btd.tech:8099/btd/btd_package.git
   24  RDMsz@2023
   25  git clone --recursive http://gitlab.btd.tech:8099/btd/btd_package.git
   26  rm -rf btdchieplet
   27  ls
   28  git clone --recursive http://gitlab.btd.tech:8099/btd/btd_package.git
   29  git clone --recursive [email protected]:dmran/btdchiplet.git
   30  ls
   31  cd btdchiplet
   32  ls
   33  git remote -vv
   34  git remote set-url origin http://gitlab.btd.tech:8099/dmran/btdchiplet.git
   35  git submodule --help
   36  git submodule --init
   37  git submodule init
   38  git status
   39  cd thirdparty/btddb_package/
   40  git status
   41  ls
   42  clear
   43  ls
   44  git pull
   45  ls
   46  cd ../../
   47  ls
   48  vi .gitmodules
   49  history


dmran@btd-sh-server2 ~/btdchiplet  (main) 05:11 $ git fetch btd
Username for 'http://gitlab.btd.tech:8099': dmran
Password for 'http://[email protected]:8099':
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 20 (delta 12), reused 20 (delta 12), pack-reused 0
Unpacking objects: 100% (20/20), 8.75 KiB | 75.00 KiB/s, done.
From http://gitlab.btd.tech:8099/btd/btdchiplet
 * [new branch]            main       -> btd/main
Could not access submodule 'thirdparty/btddb_package' at commit a24fb4f8ad

VNC

dmran@btd-sh-server2 ~  06:19 $ ps aux|grep vnc|grep dmran
dmran    23751  0.0  0.0 112824   984 pts/3158 S+   06:19   0:00 grep --color=auto vnc
dmran@btd-sh-server2 ~  06:19 $ vncserver

Warning: btd-sh-server2:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server btd-sh-server2:1

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? y
Password:
Verify:

New 'btd-sh-server2:27 (dmran)' desktop is btd-sh-server2:27

Creating default startup script /home/dmran/.vnc/xstartup
Creating default config /home/dmran/.vnc/config
Starting applications specified in /home/dmran/.vnc/xstartup
Log file is /home/dmran/.vnc/btd-sh-server2:27.log

你可能感兴趣的:(linux,运维,服务器)