跳转到帖子
登录关注  
墨香年少

fastcgi+dm数据库配置history

已推荐帖子

root:

    1  2023-03-22 02:39:13  
    2  2023-03-21 23:24:49 df -h
    3  2023-03-21 23:24:59 passwd
    4  2023-03-21 23:27:22 mkdir /tool
    5  2023-03-21 23:27:25 cd /tool
    6  2023-03-21 23:27:54 ls
    7  2023-03-21 23:27:55 wget https://sourceforge.net/projects/boost/files/boost/1.64.0/boost_1_64_0.tar.gz
    8  2023-03-21 23:30:49 ls
    9  2023-03-21 23:30:53 rm -rf boost_1_64_0.tar.gz 
   10  2023-03-21 23:30:54 ls
   11  2023-03-21 23:31:09 wget http://thinkh5.com/test/boost_1_75_0.zip
   12  2023-03-21 23:36:37 tar -zxvf boost_1_64_0.tar.gz
   13  2023-03-21 23:36:40 ls
   14  2023-03-21 23:36:50 unzip boost_1_75_0.zip 
   15  2023-03-21 23:37:11 cd boost_1_75_0/
   16  2023-03-21 23:37:35 chmod -R 777 ../boost_1_75_0
   17  2023-03-21 23:37:41 ls
   18  2023-03-21 23:37:50 ./bootstrap.sh
   19  2023-03-21 23:40:13 yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel ssse2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers
   20  2023-03-21 23:40:36 ./bootstrap.sh
   21  2023-03-21 23:40:55 ./b2 install
   22  2023-03-21 23:51:29 vi test_boost.cpp
   23  2023-03-21 23:51:40 g++ test_boost.cpp  -o test_boost
   24  2023-03-21 23:51:44 ./test_boost 
   25  2023-03-21 23:52:05 cd ..
   26  2023-03-21 23:52:07 wget https://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-1.6.5.tar.xz
   27  2023-03-21 23:52:41 cd /tool/
   28  2023-03-21 23:52:42 ls
   29  2023-03-21 23:52:51 tar -xf spawn-fcgi-1.6.5.tar.xz 
   30  2023-03-21 23:53:00 cd spawn-fcgi-1.6.5
   31  2023-03-21 23:53:06 ./configure 
   32  2023-03-21 23:53:09 make
   33  2023-03-21 23:53:13 make install
   34  2023-03-21 23:53:16 cd ..
   35  2023-03-21 23:54:26 wget http://download.savannah.nongnu.org/releases/fastcgipp/fastcgi++-2.1.tar.bz2
   36  2023-03-21 23:55:14 tar -xf fastcgi++-2.1.tar.bz2 
   37  2023-03-21 23:55:17 cd fastcgi++-2.1/
   38  2023-03-21 23:55:23 ./configure --disable-shared --enable-static
   39  2023-03-21 23:55:47 make && make install
   40  2023-03-21 23:56:12 cd ..
   41  2023-03-21 23:56:13 ll
   42  2023-03-21 23:56:26 vi test_cgi.cpp
   43  2023-03-21 23:57:26 mkdir /cgi/
   44  2023-03-21 23:57:28 cd /cgi
   45  2023-03-21 23:57:34 mkdir include
   46  2023-03-21 23:57:38 ls
   47  2023-03-21 23:57:41 mkdir lib
   48  2023-03-21 23:57:48 whereis boost
   49  2023-03-21 23:59:01 find / -name boost
   50  2023-03-21 23:59:41 ls
   51  2023-03-21 23:59:45 cd include/
   52  2023-03-21 23:59:50 cp -r /usr/local/include/* ./
   53  2023-03-21 23:59:52 ls
   54  2023-03-21 23:59:54 cd ..
   55  2023-03-21 23:59:55 cd lib
   56  2023-03-21 23:59:56 ls
   57  2023-03-22 00:00:20 cp -r /usr/local/lib/*.a ./
   58  2023-03-22 00:00:22 ls
   59  2023-03-22 00:00:38 cd /tool/
   60  2023-03-22 00:00:39 ls
   61  2023-03-22 00:00:54 mv test_cgi.cpp main.cpp
   62  2023-03-22 00:01:06 g++ main.cpp -o main -I/server/cgi/include -L/server/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread
   63  2023-03-22 00:01:55 wget https://nginx.org/download/nginx-1.22.1.tar.gz
   64  2023-03-22 00:02:29 tar -zxvf nginx-1.22.1.tar.gz 
   65  2023-03-22 00:02:31 cd nginx-1.22.1/
   66  2023-03-22 00:02:35 ./configure 
   67  2023-03-22 00:02:41 make
   68  2023-03-22 00:02:57 make install
   69  2023-03-22 00:03:04 /usr/local/nginx/sbin/nginx 
   70  2023-03-22 00:03:21 cd ..
   71  2023-03-22 00:03:22 ll
   72  2023-03-22 00:03:33 mv main.cpp test_cgi.cpp
   73  2023-03-22 00:03:38 mv main test_cgi
   74  2023-03-22 00:03:40 ll
   75  2023-03-22 00:04:18 mkdir /usr/local/nginx/cgi-bin
   76  2023-03-22 00:04:26 mv test_cgi /usr/local/nginx/cgi-bin/
   77  2023-03-22 00:05:41 /usr/local/nginx/sbin/nginx -s reload
   78  2023-03-22 00:06:14 cd /usr/local/nginx/cgi-bin/
   79  2023-03-22 00:06:15 ll
   80  2023-03-22 00:06:21 netstat -lntp
   81  2023-03-22 00:06:44 spawn-fcgi -a 127.0.0.1 -p 7001 -f /usr/local/nginx/cgi-bin/test_cgi 
   82  2023-03-22 00:07:39 /usr/local/nginx/sbin/nginx -s reload
   83  2023-03-22 00:08:14 netstat -lntp
   84  2023-03-22 00:08:19 ll
   85  2023-03-22 00:08:22 ./test_cgi 
   86  2023-03-22 00:08:46 cp -r /usr/local/lib/* ./
   87  2023-03-22 00:08:58 cp /tool/test_cgi.cpp 
   88  2023-03-22 00:09:01 cp /tool/test_cgi.cpp .
   89  2023-03-22 00:09:02 ll
   90  2023-03-22 00:09:24 rm -rf ./*
   91  2023-03-22 00:09:35 cp -r /usr/local/lib/* /cgi/lib/
   92  2023-03-22 00:09:52 rm -rf /cgi/lib/*
   93  2023-03-22 00:09:55 cp -r /usr/local/lib/* /cgi/lib/
   94  2023-03-22 00:10:06 cp /tool/test_cgi.cpp .
   95  2023-03-22 00:10:07 ll
   96  2023-03-22 00:10:39 g++ test_cgi.cpp -o test_cgi -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread
   97  2023-03-22 00:10:44 ./test_cgi 
   98  2023-03-22 00:10:57 find / -name libboost_system.so.1.75.0
   99  2023-03-22 00:11:10 rm -rf ./test_cgi
  100  2023-03-22 00:11:12 ls
  101  2023-03-22 00:11:36 cd /cgi/lib/
  102  2023-03-22 00:11:49 rm -rf ./*.so
  103  2023-03-22 00:11:51 rm -rf ./*.so.*
  104  2023-03-22 00:11:56 cd /usr/local/nginx/cgi-bin/
  105  2023-03-22 00:11:57 ll
  106  2023-03-22 00:12:04 g++ test_cgi.cpp -o test_cgi -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread
  107  2023-03-22 00:12:11 ll
  108  2023-03-22 00:12:13 ./test_cgi 
  109  2023-03-22 00:12:23 netstat -lntp
  110  2023-03-22 00:12:36 spawn-fcgi -a 127.0.0.1 -p 7001 -f /usr/local/nginx/cgi-bin/test_cgi 
  111  2023-03-22 00:12:40 netstat -lntp
  112  2023-03-22 00:13:48 cd /tool/
  113  2023-03-22 00:13:51 wget https://download.dameng.com/eco/adapter/DM8/202302/dm8_20230104_x86_rh6_64.zip
  114  2023-03-22 00:17:58 unzip dm8_20230104_x86_rh6_64.zip 
  115  2023-03-22 00:18:30 groupadd dinstall
  116  2023-03-22 00:18:35 useradd -g dinstall -m -d /home/dmdba -s /bin/bash dmdba
  117  2023-03-22 00:18:55 passwd dmdba
  118  2023-03-22 00:19:06 vi /etc/security/limits.conf
  119  2023-03-22 00:20:05 ls
  120  2023-03-22 00:20:11 cd /tool/
  121  2023-03-22 00:20:12 ls
  122  2023-03-22 00:20:37 mount -o loop ./dm8_20230104_x86_rh6_64.iso /mnt
  123  2023-03-22 00:20:45 mkdir /dm8
  124  2023-03-22 00:21:01 chown dmdba:dinstall -R /dm8/
  125  2023-03-22 00:21:09 chmod -R 755 /dm8
  126  2023-03-22 00:23:45 yum groupinstall chinese-support
  127  2023-03-22 00:23:54 yum groupinstall "fonts"
  128  2023-03-22 00:24:15 locale -a |grep "zh_CN"zh_CNzh_CN.gb18030zh_CN.gb2312zh_CN.gbkzh_CN.utf8
  129  2023-03-22 00:24:43 cat /etc/locale.confLANG="zh_CN.UTF-8"
  130  2023-03-22 00:25:02 vi /etc/locale.conf
  131  2023-03-22 00:25:28 vi /etc/sysconfig/i18n
  132  2023-03-22 00:25:47 vi /etc/sysconfig/i18n
  133  2023-03-22 00:26:01 source /etc/sysconfig/i18n
  134  2023-03-22 00:19:30 su - dmdba
  135  2023-03-22 00:21:17 su - dmdba
  136  2023-03-22 00:26:06 reboot
  137  2023-03-22 00:27:46 vi /etc/profile
  138  2023-03-22 00:28:05 reboot
  139  2023-03-22 00:30:26 cd /mnt/
  140  2023-03-22 00:30:28 ls
  141  2023-03-22 00:31:03 mount -o loop /tool/dm8_20230104_x86_rh6_64.iso /mnt
  142  2023-03-22 00:34:01 /dm8/script/root/root_installer.sh
  143  2023-03-22 00:35:00 echo $DM_HOME
  144  2023-03-22 00:35:06 export PATH=$PATH:$DM_HOME/bin:$DM_HOME/tool
  145  2023-03-22 00:35:17 find / -name .bash_profile
  146  2023-03-22 00:35:28 cd /home/dmdba/
  147  2023-03-22 00:35:29 ls
  148  2023-03-22 00:35:31 ll -a
  149  2023-03-22 00:35:43 vi .bash_profile
  150  2023-03-22 00:36:20 cls
  151  2023-03-22 00:36:24 clear
  152  2023-03-22 00:42:24 ./dm_service_installer.sh -t dmserver -dm_ini /dm8/data/DAMENG/dm.ini -p DMSERVER
  153  2023-03-22 00:42:37 ./dm_service_installer.sh -t dmserver -dm_ini /dm8/dm.ini -p DMSERVER
  154  2023-03-22 00:42:48 find / -name dm.ini
  155  2023-03-22 00:43:03 ./dm_service_installer.sh -t dmserver -dm_ini /dm8/data/DMDB/dm.ini -p DMSERVER
  156  2023-03-22 00:44:32 mv /dm8/bin/DmServiceDMSERVER /usr/lib/systemd/DmServiceDMSERVER
  157  2023-03-22 00:44:45 systemctl enable DmServiceDMSERVER
  158  2023-03-22 00:44:53 systemctl start DmServiceDMSERVER
  159  2023-03-22 00:45:14 systemctl status DmServiceDMSERVER
  160  2023-03-22 00:46:13 cd /dm8/bin
  161  2023-03-22 00:46:38 ./dmserver /dm8/data/DMDB/dm.ini 
  162  2023-03-22 00:48:01 systemctl status DmServiceDMSERVER
  163  2023-03-22 00:48:05 systemctl start DmServiceDMSERVER
  164  2023-03-22 00:48:55 su -dmdbaq
  165  2023-03-22 00:48:59 su -dmdba
  166  2023-03-22 00:50:18 pwd
  167  2023-03-22 00:50:28 chown dmdba:dinstall -R /dm8/
  168  2023-03-22 00:50:32 chmod -R 755 /dm8
  169  2023-03-22 00:50:36 su -dmdba
  170  2023-03-22 00:51:47 find / -name dmdba
  171  2023-03-22 00:51:56 cd home
  172  2023-03-22 00:52:01 cd /home
  173  2023-03-22 00:52:03 ll -a
  174  2023-03-22 00:52:21 chown dmdba dmdba
  175  2023-03-22 00:52:22 ll -a
  176  2023-03-22 00:52:44 cd /
  177  2023-03-22 00:52:48 ll
  178  2023-03-22 00:52:55 cd /dm8/
  179  2023-03-22 00:52:56 ll
  180  2023-03-22 00:53:13 history
  181  2023-03-22 00:53:25 cp /usr/lib/systemd/DmServiceDMSERVER /dm8/bin/DmServiceDMSERVER
  182  2023-03-22 00:53:48 cd ./bin
  183  2023-03-22 00:53:49 ll
  184  2023-03-22 00:53:51 ls
  185  2023-03-22 00:54:04 ll
  186  2023-03-22 00:54:33 ls
  187  2023-03-22 00:54:52 ./DmServiceDMSERVER start
  188  2023-03-22 00:55:24 systemctl status DmServiceDMSERVER
  189  2023-03-22 00:56:18 ./DmServiceDMSERVER stop
  190  2023-03-22 01:07:04 clear
  191  2023-03-22 01:07:05 find / -name DmServiceDMSERVER.service
  192  2023-03-22 01:07:25 systemctl start DmServiceDMSERVER.service
  193  2023-03-22 01:08:23 journalctl -xe
  194  2023-03-22 01:08:34 clear
  195  2023-03-22 01:08:38 clear
  196  2023-03-22 01:08:40 journalctl -xe
  197  2023-03-22 00:31:13 su - dmdba
  198  2023-03-22 00:36:35 su - dmdba
  199  2023-03-22 00:49:14 su - dmdba
  200  2023-03-22 00:50:39 su - dmdba
  201  2023-03-22 00:56:33 su - dmdba
  202  2023-03-22 01:08:54 reboot
  203  2023-03-22 01:30:00 cd /usr/local/nginx/
  204  2023-03-22 01:30:02 cd html/
  205  2023-03-22 01:32:01 ls
  206  2023-03-22 01:32:04 unzip dist.zip 
  207  2023-03-22 01:32:19 mv ./dist/* ./
  208  2023-03-22 01:32:27 chmod -R 777 ../html/
  209  2023-03-22 01:36:17 find / -name DPI.h
  210  2023-03-22 01:36:40 cp /dm8/drivers/dpi/include/*.h /cgi/include/
  211  2023-03-22 01:36:59 find / -name libdmdpi.a\
  212  2023-03-22 01:37:04 find / -name libdmdpi.a
  213  2023-03-22 01:37:17 cp /dm8/drivers/dpi/libdmdpi.a /cgi/lib/
  214  2023-03-22 01:37:59 cd ..
  215  2023-03-22 01:38:02 cd cgi-bin/
  216  2023-03-22 01:38:04 clear
  217  2023-03-22 01:38:43 ./build.py auth 2000
  218  2023-03-22 01:38:56 chmod -R 777 ../cgi-bin/
  219  2023-03-22 01:38:58 ./build.py auth 2000
  220  2023-03-22 01:40:21 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  221  2023-03-22 01:42:51 gcc -version
  222  2023-03-22 01:42:53 gcc -v
  223  2023-03-22 01:43:49 gcc --version
  224  2023-03-22 01:44:21 yum -y install centos-release-scl 
  225  2023-03-22 01:44:30 yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils 
  226  2023-03-22 01:44:54 gcc --version
  227  2023-03-22 01:44:59 pwd
  228  2023-03-22 01:45:04 ./build.py auth 2000
  229  2023-03-22 01:45:22 cls
  230  2023-03-22 01:45:24 clear
  231  2023-03-22 01:45:32 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  232  2023-03-22 01:46:35 ll
  233  2023-03-22 01:46:55 error: ‘sleepLock’ was not declared in this scope
  234  2023-03-22 01:47:22 gcc --version
  235  2023-03-22 01:47:36 yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-binutils 
  236  2023-03-22 01:47:49 gcc --version
  237  2023-03-22 01:48:02 echo "source /opt/rh/devtoolset-8/enable" >>/etc/profile
  238  2023-03-22 01:48:05 gcc --version
  239  2023-03-22 01:48:15 gcc --version
  240  2023-03-22 01:10:45 su - dmdba
  241  2023-03-22 01:44:51 scl enable devtoolset-7 bash
  242  2023-03-22 01:48:12 scl enable devtoolset-7 bash
  243  2023-03-22 01:48:18 reboot
  244  2023-03-22 01:48:44 gcc --version
  245  2023-03-22 01:48:55 cd /usr/local/nginx/cgi-bin/
  246  2023-03-22 01:49:00 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  247  2023-03-22 01:49:16 manager.hpp:349:3: error: ‘tasksLock’ was not declared in this scope
  248  2023-03-22 01:52:15 clear
  249  2023-03-22 01:52:18 ll
  250  2023-03-22 01:52:31 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11 >> 1.txt
  251  2023-03-22 01:52:37 ll
  252  2023-03-22 01:53:25 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11 > 1.txt
  253  2023-03-22 01:53:51 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11 2>1.txt
  254  2023-03-22 01:56:17 gcc --version
  255  2023-03-22 01:58:08 ll
  256  2023-03-22 01:58:19 rm -rf test_cgi
  257  2023-03-22 01:58:22 vi test_cgi.cpp 
  258  2023-03-22 01:59:20 g++ test_boost.cpp  -o test_boost
  259  2023-03-22 01:59:22 ./test_boost
  260  2023-03-22 02:00:57 sudo rm -f /usr/local/lib/libboost*
  261  2023-03-22 02:00:57 sudo rm -rf /usr/local/include/boost
  262  2023-03-22 02:00:58 sudo rm -rf /usr/local/lib/cmake/boost*
  263  2023-03-22 02:00:59 sudo rm -rf /usr/local/lib/cmake/Boost*
  264  2023-03-22 02:01:16 ./test_boost
  265  2023-03-22 02:01:41 rm -rf /cgi/include/boost/
  266  2023-03-22 02:01:59 rm -rf /cgi/lib/libboost_*
  267  2023-03-22 02:04:26 rm -rf /tool/boost_1_75_0/
  268  2023-03-22 02:05:02 wget http://thinkh5.com/test/boost_1_64_0.tar.gz
  269  2023-03-22 02:07:51 mv boost_1_64_0.tar.gz /tool
  270  2023-03-22 02:07:54 cd /tool/
  271  2023-03-22 02:07:55 tar -zxvf boost_1_64_0.tar.gz
  272  2023-03-22 02:08:07 cd boost_1_64_0/
  273  2023-03-22 02:08:14 find / -name boost
  274  2023-03-22 02:08:41 ./bootstrap.sh 
  275  2023-03-22 02:08:53 ./b2 install
  276  2023-03-22 02:23:30 cd /usr/local/nginx/cgi-bin/
  277  2023-03-22 02:23:39 history >gistory.txt
  278  2023-03-22 02:24:53 clear
  279  2023-03-22 02:24:56 whereis boost
  280  2023-03-22 02:25:20 cp /usr/local/include/boost/ /cgi/include/
  281  2023-03-22 02:25:23 cp /usr/local/include/boost/ /cgi/include/ -r
  282  2023-03-22 02:25:56 cp /usr/local/lib/libboost_* /cgi/lib/
  283  2023-03-22 02:26:37 /cgi/include
  284  2023-03-22 02:26:46 g++ test_boost.cpp  -o test_boost
  285  2023-03-22 02:26:49 ./test_boost
  286  2023-03-22 02:27:08 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  287  2023-03-22 02:27:16 ./auth
  288  2023-03-22 02:27:34 find / -name libboost_system.so.1.64.0
  289  2023-03-22 02:27:55 libboost_system.so.1.64.0: cannot open shared object file: No such file or directory
  290  2023-03-22 02:29:20 rm -rf /cgi/lib/libboost*.so.*
  291  2023-03-22 02:29:27 rm -rf auth
  292  2023-03-22 02:29:31 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  293  2023-03-22 02:29:36 ./auth
  294  2023-03-22 02:29:54 cd /usr/lib
  295  2023-03-22 02:29:55 ll
  296  2023-03-22 02:30:19 cp /usr/local/lib/libboost_* /usr/local/
  297  2023-03-22 02:30:26 cd /usr/local/nginx/cgi-bin/
  298  2023-03-22 02:30:30 rm -rf auth
  299  2023-03-22 02:30:33 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  300  2023-03-22 02:30:39 ./auth
  301  2023-03-22 02:30:50 find / -name libboost_system.so.1.64.0
  302  2023-03-22 02:31:19 cp /usr/local/lib/libboost_* /cgi/lib
  303  2023-03-22 02:31:27 cp /usr/local/lib/libboost_* /cgi/lib -y
  304  2023-03-22 02:31:40 cp /usr/local/lib/libboost_* /cgi/lib -rf
  305  2023-03-22 02:32:40 cp /usr/local/lib/libboost_* /cgi/lib
  306  2023-03-22 02:32:52 rm -rf auth
  307  2023-03-22 02:32:56 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  308  2023-03-22 02:33:02 ./auth
  309  2023-03-22 02:34:27 find / -name libboost_system.so.1.64.0
  310  2023-03-22 02:34:52 cp /usr/local/lib/libboost_* /usr/lib/
  311  2023-03-22 02:34:57 find / -name libboost_system.so.1.64.0
  312  2023-03-22 02:35:04 rm -rf auth
  313  2023-03-22 02:35:07 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  314  2023-03-22 02:35:12 ./auth
  315  2023-03-22 02:35:35 find / -name libboost_system.so.1.64.0
  316  2023-03-22 02:37:03 libboost_system.so.1.64.0: cannot open shared object file: No such file or directory
  317  2023-03-22 02:37:40 ldd auth
  318  2023-03-22 02:38:03 reboot
  319  2023-03-22 02:39:20 cd /usr/local/nginx/cgi-bin/
  320  2023-03-22 02:39:24 rm -rf auth
  321  2023-03-22 02:39:30 g++ auth.cpp -o auth -I/cgi/include -L/cgi/lib  -lfastcgipp -lboost_system -lboost_thread -lpthread -ldmdpi -ldl -lrt -DDM64 -std=c++11
  322  2023-03-22 02:39:38 ldd ./auth
  323  2023-03-22 02:39:52 find / -name libboost_system.so.1.64.0
  324  2023-03-22 02:40:45 vi ~/.bashrc
  325  2023-03-22 02:41:36 souce ~/.bashrc
  326  2023-03-22 02:41:42 source ~/.bashrc
  327  2023-03-22 02:41:47 ldd ./auth
  328  2023-03-22 02:41:52 ./auth
  329  2023-03-22 02:42:23 ll
  330  2023-03-22 02:43:04 ./build.py auth 2000
  331  2023-03-22 02:43:10 ./build.py auth 2000
  332  2023-03-22 02:44:45 ./build.py auth 2000
  333  2023-03-22 02:45:06 netstat -lntp
  334  2023-03-22 02:45:11 ./auth
  335  2023-03-22 02:45:58 pawn-fcgi -a 127.0.0.1 -p 2000 -f /usr/local/nginx/cgi-bin/auth -P /usr/local/nginx/cgi-bin/pid/auth.pid
  336  2023-03-22 02:46:07 spawn-fcgi -a 127.0.0.1 -p 2000 -f /usr/local/nginx/cgi-bin/auth -P /usr/local/nginx/cgi-bin/pid/auth.pid
  337  2023-03-22 02:46:11 netstat -lntp
  338  2023-03-22 02:47:07 ./build gongkuang 2001
  350  2023-03-22 02:48:34 netstat -lntp
  351  2023-03-22 02:49:03 /usr/local/nginx/sbin/nginx 
  352  2023-03-22 02:50:13 /usr/local/nginx/sbin/nginx -s reload
  355  2023-03-22 02:58:39 history >history.log

dmdba:

    1  2023-03-22 00:19:35 ulimit -a
    2  2023-03-22 00:19:48 ulimit -n 65536
    3  2023-03-22 00:21:20 cd /mnt/
    4  2023-03-22 00:21:21 ls
    5  2023-03-22 00:21:33 ./DMInstall.bin -i
    6  2023-03-22 00:22:45 locale -a |grep "zh_CN"zh_CNzh_CN.gb18030zh_CN.gb2312zh_CN.gbkzh_CN.utf8
    7  2023-03-22 00:22:57 yum groupinstall "fonts"
    8  2023-03-22 00:23:23 yum groupinstall chinese-support 
    9  2023-03-22 00:19:54 su
   10  2023-03-22 00:23:31 su
   11  2023-03-22 00:31:17 cd /mnt/
   12  2023-03-22 00:31:17 ls
   13  2023-03-22 00:31:22 ./DMInstall.bin -i
   14  2023-03-22 00:36:39 source .bash_profile
   15  2023-03-22 00:36:47 ./dminit help
   16  2023-03-22 00:36:55 cd /dm8/bin
   17  2023-03-22 00:36:56 ./dminit help
   18  2023-03-22 00:40:16 ./dminit path=/dm8/data INI_FILE=/dm8 PAGE_SIZE=32 EXTENT_SIZE=32 CASE_SENSITIVE=y CHARSET=1 DB_NAME=DMDB INSTANCE_NAME=DBSERVER PORT_NUM=5237 SYSDBA_PWD=123456
   19  2023-03-22 00:40:32 ./dminit path=/dm8/data INI_FILE=/dm8 PAGE_SIZE=32 EXTENT_SIZE=32 CASE_SENSITIVE=y CHARSET=1 DB_NAME=DMDB INSTANCE_NAME=DBSERVER PORT_NUM=5237 SYSDBA_PWD=htqx123456
   20  2023-03-22 00:40:57 ./dminit path=/dm8/data INI_FILE=/dm8/dm.ini PAGE_SIZE=32 EXTENT_SIZE=32 CASE_SENSITIVE=y CHARSET=1 DB_NAME=DMDB INSTANCE_NAME=DBSERVER PORT_NUM=5237 SYSDBA_PWD=htqx123456
   21  2023-03-22 00:42:01 cd /dm8/script/root
   22  2023-03-22 00:49:42 systemctl start DmServiceDMSERVER
   23  2023-03-22 00:50:42 systemctl start DmServiceDMSERVER
   24  2023-03-22 00:51:17 id dmdba
   25  2023-03-22 00:56:37 cd /dm8/bin
   26  2023-03-22 00:56:43 ./DmServiceDMSERVER start
   27  2023-03-22 00:57:07 systemctl status DmServiceDMSERVER
   28  2023-03-22 01:00:52 cls
   29  2023-03-22 01:00:54 clear
   30  2023-03-22 01:00:58 ./DmServiceDMSERVER start
   31  2023-03-22 01:01:04 systemctl status DmServiceDMSERVER
   32  2023-03-22 01:01:15 ./DmServiceDMSERVER stop
   33  2023-03-22 01:01:30 ./DmServiceDMSERVER start
   34  2023-03-22 01:01:50 systemctl status DmServiceDMSERVER
   35  2023-03-22 01:06:43 find / -name DmServiceDMSERVER.service
   36  2023-03-22 00:33:29 su
   37  2023-03-22 00:42:07 su
   38  2023-03-22 00:50:11 su
   39  2023-03-22 00:51:38 su
   40  2023-03-22 01:06:46 su
   41  2023-03-22 01:10:52 whoami
   42  2023-03-22 01:11:22 systemctl restart DmServiceDMSERVER.service
   43  2023-03-22 01:12:10 systemctl status DmServiceDMSERVER.service
   44  2023-03-22 01:13:53 netstat -lntp
   45  2023-03-22 01:29:49 su
   46  2023-03-22 02:59:10 history >dmdba_history.log
   47  2023-03-22 02:59:23 cd /usr/local/nginx/cgi-bin/
   48  2023-03-22 02:59:24 history >dmdba_history.log

 


目之所及,皆是回忆,心之所想,皆是过往

分享这篇帖子


链接帖子
分享到其他站点

vi /etc/profile

export LANG="zh_CN.UTF-8"
source /opt/rh/devtoolset-8/enable

 


目之所及,皆是回忆,心之所想,皆是过往

分享这篇帖子


链接帖子
分享到其他站点

创建帐户或登录来提出意见

你需要成为会员才能提出意见

创建帐户

注册成为会员。只要几个简单步骤!

注册帐户

登录

已有帐户? 请登录。

现在登录
登录关注  

×
×
  • 创建新的...

重要信息

注册必须使用2-8个中文汉字作为账号