—— 完 ——
以南大通用為例,講一講如何完成與龍蜥作業系統的相容驗證
龍蜥社群堅持開放合作、持續打造軟硬體生態認證體系。
您可以在龍蜥作業系統(Anolis OS)上安心使用已完成驗證的應用。
近期龍蜥社群與南大通用 GBase 完成產品相容互認證,驗證結果顯示產品功能正常。
本文以此為例,介紹如何快速完成驗證。
以下是南大通用 Gbase 8a 相容性驗證的具體步驟。
準備工作
1、版本資訊
-
Anolis 7.7 ANCK 64 位 -
GBase8a-NoLicense-Free-8.6.2_build43-R7-redhat7.3-x86_64(注意:注意:該二進位制版本是從南大通用官網下載的基於 Redhat 7.3 編譯的版本,我們Anolis OS 7.7上執行該版本來驗證基本的功能相容性)
2、支援的架構
-
x86_64
3、資源準備
-
8 核 32G OS
-
GBase 8a資料庫安裝包(GBase8a-NoLicense-Free-8.6.2_build43-R7-redhat7.3-x86_64.tar.bz2,可以在南大通用資料庫官網申請試用 )
第一步:安裝
1、建立使用者 GBase, 後續操作都在 GBase 使用者下面進行。
useradd -m gbase su - gbase
2、假設安裝包已經放到了 /home/gbase 目錄下面,解壓資料到 /home/gbase/install 目錄下面。
mkdir ~/install tar -xjvf GBase8a-NoLicense-Free-8.6.2_build43-R7-redhat7.3-x86_64.tar.bz2 -C ~/install/
3、執行命令安裝。
cd install/GBaseInstall/ ./Install_lin.shd # 得到如下提示,輸入 Yes 接受 License 以繼續安裝 ********************************************************************************* Thank you for choosing GBase product! Please read carefully the following licencing agreement before installing any product: Disclaimer of Product Trial License: 1. Any user who tries out (including self-downloaded trial or trial version provided by General Data Technology Co., Ltd) General Data Technology Co., Ltd Software Products should read this statement carefully. Users may choose not to try Nanda General Software Products. The user's tries out General Data Technology Co., Ltd Software Products will be deemed to be an endorsement of the full content of this statement. 2. Universal software products of General Data Technology Co., Ltd have complete autonomous knowledge rights and do not infringe on the relevant rights and interests of any other unit or individual. Universal software products of General Data Technology Co., Ltd are protected by law. Any transfer, reproduction, dissemination or use in unauthorized projects are strictly prohibited without the written permission of Universal of Nanda. Otherwise, the infringer will bear full responsibility. 3. Except for the terms of service specified by General Data Technology Co., Ltd, General Data Technology Co., Ltd is not liable or liable for any accident, negligence, contract destruction, defamation, copyright or intellectual property infringement caused by the trial use of General Data Technology Co., Ltd software products and any losses (including virus infection due to downloading). 4. The relevant information of General Data Technology Co., Ltd Software Products is the original information released. If there are any changes, no further notice will be given. Software may run differently from the final version, and features and functions in pre-release software may not appear in the final version. The risk of trying out the software should be borne by you. 5. Users assume their own risks for the trial of General Data Technology Co., Ltd Software Products. General Data Technology Co., Ltd does not guarantee any form of guarantee, does not guarantee that the trial products meet the user's requirements, does not guarantee that the trial service is uninterrupted, and does not guarantee the safety of the trial products. Due to any technical reasons such as network status, communication lines and so on, users can not normally try out General Data Technology Co., Ltd Products, or the impact or loss on third parties in the process of trial, General Data Technology Co., Ltd does not bear any legal liability. 6. General Data Technology Co., Ltd respects and protects the personal privacy rights of all users who try out General Data Technology Co., Ltd Products. Without the personal permission of users or mandatory provisions of relevant laws, General Data Technology Co., Ltd will not voluntarily disclose other third parties. 7. Any unit or individual who considers that General Data Technology Co., Ltd Software products may be suspected of infringing on its legitimate rights and interests should promptly give written feedback to General Data Technology Co., Ltd or its service website, and provide identity certificates, ownership certificates and detailed tort proof. After receiving the verification of the above-mentioned legal documents, General Data Technology Co., Ltd l will make corresponding treatment as soon as possible. 8. General Data Technology Co., Ltd Corporation has the final right to interpret General Data Technology Co., Ltd Products and this statement. ********************************************************************************* Do you accept the above licence agreement (Yes/No, default=No) ? Yes ********************************************************************************* Welcome to install GBase products ********************************************************************************* Please input the GBase software installation directory (Default:/home/gbase/GBase): Installing all software packages ... Software packages installation done. ********************************************************************************* Welcome to create GBase database instance ********************************************************************************* Please input the new database instance name (default: gbase8a): Please input the port number for the new database instance (default:5258): GBase is creating the New 'gbase8a' instance ... hostkey: 2bc385b****** The host key file is genarate at GBASE_BASE/config/gbase_host.cnf. Congratulations. Your GBase installation is successful. Please execute $source ~/.bashrc manually on the first run. Please refer to the product's manuals and readme.txt to start using GBase product.
一路點選回車使用預設配置,GBase 軟體將被安裝到 /home/gbase 目錄,並將建立一個 GBase 8a 的資料庫例項,例項預設服務埠 5258,執行 source 載入環境變數。
source ~/.bashrc
4、啟動資料庫服務。
gbase.server start # 可以看到如下輸出 # Starting GBase. SUCCESS!
第二步:測試
1、透過如下命令登入資料庫。
gbase -uroot
如果安裝沒有問題,我們可以順利登入到資料庫。
GBase client Free Edition 8.6.2.43-R7-free.110605. Copyright (c) 2004-2021, GBase. All Rights Reserved. gbase>
2、展示資料庫。
gbase> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | performance_schema | | gbase | | gclusterdb | | gctmpdb | +--------------------+ 5 rows in set (Elapsed: 00:00:00.00) gbase>
3、建立測試 db。
gbase> create database test; Query OK, 1 row affected (Elapsed: 00:00:00.00) gbase> use test; Query OK, 0 rows affected (Elapsed: 00:00:00.00) gbase>
4、建立表。
gbase> create table hola(bonj text); Query OK, 0 rows affected (Elapsed: 00:00:00.01) gbase>
5、插入資料。
gbase> insert into test.hola(bonj) values('Mundo');
Query OK, 1 row affected (Elapsed: 00:00:00.01)
gbase> insert into test.hola(bonj) values('Lundo');
Query OK, 1 row affected (Elapsed: 00:00:00.01)
gbase> insert into test.hola(bonj) values('Nundo');
Query OK, 1 row affected (Elapsed: 00:00:00.00)
gbase> select * from test.hola;
+-------+
| bonj |
+-------+
| Mundo |
| Lundo |
| Nundo |
+-------+
3 rows in set (Elapsed: 00:00:00.00)
gbase>
6、更新資料。
gbase> insert into test.hola(bonj) values('Mundo'); Query OK, 1 row affected (Elapsed: 00:00:00.01) gbase> insert into test.hola(bonj) values('Lundo'); Query OK, 1 row affected (Elapsed: 00:00:00.01) gbase> insert into test.hola(bonj) values('Nundo'); Query OK, 1 row affected (Elapsed: 00:00:00.00) gbase> select * from test.hola; +-------+ | bonj | +-------+ | Mundo | | Lundo | | Nundo | +-------+ 3 rows in set (Elapsed: 00:00:00.00) gbase>
7、查詢資料。
gbase> select * from test.hola; +-------+ | bonj | +-------+ | Xundo | | Lundo | | Nundo | +-------+ 3 rows in set (Elapsed: 00:00:00.00) gbase>
8、刪除資料。
gbase> select * from test.hola; +-------+ | bonj | +-------+ | Xundo | | Lundo | | Nundo | +-------+ 3 rows in set (Elapsed: 00:00:00.00) gbase>
9、退出 sql。
gbase> exit Bye
以上是南大通用 GBase 8a 相容性驗證介紹,歡迎感興趣的各位驗證適配。如有驗證需求,請聯絡: 陳佳 jackie.cj@openanolis.org
後續社群會提供線上認證流程,更加高效透明,敬請期待!
相關連結或程式碼不清晰處可移步龍蜥公眾號(OpenAnolis龍蜥)2022年4月22日相同推送檢視。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70004278/viewspace-2888708/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 浪潮資訊加入,已完成與龍蜥作業系統產品相容性驗證作業系統
- 通用 GPU 領先企業登臨科技加入龍蜥社群,完成與龍蜥作業系統的相容適配GPU作業系統
- 崑崙芯 AI 加速卡 R200 與龍蜥作業系統完成產品相容認證AI作業系統
- SSD 儲存領域廠商大普微加入龍蜥社群,完成與龍蜥作業系統適配作業系統
- ZStack 與龍蜥作業系統完成相容性認證,共同打造安全可信的雲+OS技術生態作業系統
- 紅象雲騰完成與龍蜥作業系統相容適配,產品執行穩定作業系統
- 明天直播:如何測試硬體裝置與龍蜥作業系統的相容性?作業系統
- 又一家!天數智芯天垓100 產品卡與龍蜥作業系統完成產品相容互認證作業系統
- 資料中心廠商超雲加入龍蜥社群,多款伺服器完成與龍蜥作業系統適配伺服器作業系統
- 作業系統基礎第一講作業系統
- 紅象雲騰大資料基礎平臺與龍蜥社群作業系統再次完成聯合測試大資料作業系統
- CATIA許可證與作業系統的相容性作業系統
- 龍蜥副理事長張東:潮蜥共引,繁榮系統軟體生態 | 2023龍蜥作業系統大會作業系統
- 作業系統基礎第四講作業系統
- 作業系統基礎第三講作業系統
- 作業系統基礎第二講作業系統
- 支援“中國芯”|綠盟雲安全產品與麒麟作業系統完成相容性認證作業系統
- 今天開講,6 大演講主題、5 位技術大咖!龍蜥大講堂 5 月精彩直播預告搶先看
- 紅象雲騰(Redoop Enterprise)V9 與龍蜥(Anolis OS)8 完成相容認證OOP
- 中興通訊攜手龍蜥社群,共創繁榮生態 | 2023龍蜥作業系統大會作業系統
- 議題徵集!2023 龍蜥作業系統大會硬核啟動作業系統
- 龍蜥作業系統上玩轉銅鎖密碼庫作業系統密碼
- InfoQ專訪龍蜥社群陳緒:從CentOS 停服說起,龍蜥作業系統的開源觀CentOS作業系統
- 1.6.4. 作業系統驗證作業系統
- Python生成驗證碼例項講解Python
- 中興新支點Linux伺服器作業系統與兆芯國產晶片完成相容認證Linux伺服器作業系統晶片
- 面向雲時代的龍蜥作業系統 是 CentOS 替代的最佳選擇作業系統CentOS
- 實時作業系統與通用作業系統的一些比較 (轉)作業系統
- 倒數計時3天!雲棲大會龍蜥作業系統峰會最新議程一覽作業系統
- 速速報名!請查收 2023 龍蜥作業系統大會超全指南作業系統
- 華雲資料與龍蜥社群完成產品相容互認證,攜手推動開源生態體系建設與發展
- Linux中國對話龍蜥社群4位理事:龍蜥作業系統捐贈的背後,是誰在推動?Linux作業系統
- 國內首家!杉巖安全儲存率先完成國產作業系統互相容雙認證作業系統
- 喜報!龍蜥作業系統&龍蜥社群雙雙榮登2021“科創中國”開源創新榜!作業系統
- 中興新支點加入龍蜥社群,共建作業系統開源新生態作業系統
- 《極圈以南》:為了在遊戲中講述人性與愛,開發者們去了一趟南極遊戲
- 全面升級!龍蜥自動化運維平臺 SysOM 2.0 可支援作業系統一站式遷移 | 龍蜥技術運維作業系統
- 作業系統之“實驗一”作業系統