Category: CentOS 7
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…
-
Post Views: 13 1. Configuration file \channel-pub-api\build\c_files\etc\supervisord.d\yii-qq-transaction-video-sync.ini 2. In the console command script, run once, write 1 file, the code is as follows 3. After the development environment is upgraded, check the directory /sobey/www/channel-pub-api/console/runtime/ . 4. The current requirement is that after running once, run the console command script again after 60 seconds, and finally decide to implement the Sleep…
-
Post Views: 15 1,http://wmpublish.mp.sztv.com.cn:8026/wx/robots.txt, the response is successful, indicating that the configuration of nginx is correct 2,http://wmpublish.mp.sztv.com.cn:8026/v1/channel-app-sources?group_id=channel, the response failed, no input file specified 3. Run the command in the container and view the nginx error log, as shown in Figure 1 4. Run the command in the container, check the contents of the file, and find that the file…
-
Post Views: 13 1. Configuration file: \common\config\params-local.php, self-media as the source 2. Create a new service class, \Common\Services\AssetService.php to implement a static method: CopyAssets 3. Reference the service class, \common\services\AssetService.php, call the static method: CopyAssets 4. After running the method, print out $AssetServiceResult 5. Check the copied directory and files, which are in line with expectations, as shown in Figure…
-
Post Views: 76 1. Open the URL: https://wiki.swoole.com/wiki/page/7.html , check the environment dependencies, as shown in Figure 1 environment dependence Only supports Linux, FreeBSD, macOS, 3 types of operating systems Linux kernel version 2.3.32 or above php-5.3.10 and above, including php7 GCC4.4 or above or clang CMake2.4+, you need to use CMake when compiling to libswoole.so as a C/C++ library…
-
Post Views: 14 1. Copy\vendor\yiisoft\yii2\console\controllers\cacheController .php to \console\controllers\luagameteamskillController.php, as shown in Figure 1 2. Rename \console\controllers\luagameteamskillcontroller.php to \console\controllers\luagameteamskillcontroller.php, as shown in Figure 2 3. Modify the namespace to namespace console\controllers;, and the class name is modified to luagameteamskillController, as shown in Figure 3 4. Only keep ActionIndex(), other methods are deleted, as shown in Figure 4 5. In Windows PowerShell,…
-
Post Views: 12 1. The first connection is selected, as shown in Figure 1: 2. Due to the instance type: I/O optimization, disk type: SSD cloud disk, so refer to the URL:https://help.aliyun.com/knowledge_detail/6689611.html 3. The download link of auto_fdisk_ssd.sh, as shown in Figure 2: http://aliyun_portal_storage.oss-cn-hangzhou.aliyuncs.com/help%2Fecs%2Fauto_fdisk_ssd.zip?spm=5176.776689611.0.0.DmH9za&file=help%2Fecs%2Fauto_fdisk_ssd.zip 4. Download tool: auto_fdisk_ssd.sh, after pasting the download link, you need to modify it, as shown…
-
Post Views: 12 1. Continue to the previous article:https://www.shuijingwanwq.com/2016/04/16/1006/ 2. Execute the command, as shown in Figure 1, and report an error, indicating that yum has failed to execute. The following methods can be solved: yum -y install wget screen python #for centos/redhat 3. According to the analysis, it should be the error caused by the network connection failure, execute…
-
Post Views: 16 1. When creating a new virtual computer, it is found that the 64-bit system cannot be selected, as shown in Figure 1: 2. Enter the BIOS to enable the virtualization technology, and set Intel Virtualization Technology to Enabled, as shown in Figure 2: 3. Save and exit the BIOS, as shown in Figure 3: 4. When creating…