CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 8437|回复: 3

Cubieboard2 無痛入門

[复制链接]
发表于 2013-6-29 14:11:38 | 显示全部楼层 |阅读模式
本帖最后由 daiyoko 于 2013-6-29 14:14 编辑

從 taobao 買了個 A20 回來,發現還欠 N 個東西才能起動 CB {:soso_e127:}

現在可以起動,給大家分享 {:soso_e113:}

所需東西:
1. 自己的電腦,這裡我用 Win 8。
2. MicroSD Card 8GB
3. Cubieboard A20
4. USB TTL 線
5. USB Power 線

先到這裡下載 cubieboard2-linux3.3-SD-card-image.xz
http://dl.linux-sunxi.org/users/ ... x3.3-SD-card-image/

Untitled.jpg

解壓後用 win32diskimager 將 cubieboard2-linux3.3-SD-card-image 寫到 MicroSD Card (先做 FAT32 格式化)

完成後,先連接 USB TTL 線 (大家都說紅線不要接!!!) 到電腦 (Win 8 要用 PL2303_Prolific_DriverInstaller_v1.5.0 Driver) <= 新版反而不行。

Untitled.jpg

然後,開 Putty 用 Serial 連到相關 COM e.g. COM6

Untitled.jpg

最後再把 USB Power 線 接上就行。

成功起動後: 可以用 root 登入 (預設沒有 password)

Untitled.png

{:soso_e176:}



回复

使用道具 举报

发表于 2013-7-1 17:11:53 | 显示全部楼层
撸主再把装mysql的过程发出来看看吧,同样的rom  卡在了mysql
transmission samba  nginx  php 都装了没问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-7-1 18:16:42 | 显示全部楼层
本帖最后由 daiyoko 于 2013-7-1 18:33 编辑

將 /var/log/syslog 最後的貼來看看,我可以用 mysql {:soso_e113:}
  1. root@CUBIEBOARD2:/var/log# mysql -u root -p
  2. Enter password:
  3. Welcome to the MySQL monitor.  Commands end with ; or \g.
  4. Your MySQL connection id is 37
  5. Server version: 5.5.31-0+wheezy1 (Debian)

  6. Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

  7. Oracle is a registered trademark of Oracle Corporation and/or its
  8. affiliates. Other names may be trademarks of their respective
  9. owners.

  10. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

  11. mysql> show tables
  12.     -> ;
  13. ERROR 1046 (3D000): No database selected
  14. mysql> show database;
  15. ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database' at line 1
  16. mysql> show databases;
  17. +--------------------+
  18. | Database           |
  19. +--------------------+
  20. | information_schema |
  21. | mysql              |
  22. | performance_schema |
  23. | test               |
  24. +--------------------+
  25. 4 rows in set (0.00 sec)

  26. mysql>

复制代码
Untitled.png
回复 支持 反对

使用道具 举报

发表于 2013-7-1 23:26:56 | 显示全部楼层
这咋整啊 发表于 2013-7-1 17:11
撸主再把装mysql的过程发出来看看吧,同样的rom  卡在了mysql
transmission samba  nginx  php 都装了没问 ...

前段时间看到了关于mysql安装不成功的原因。
冒失是关于用户授权的问题,可以在论坛搜索一下。有人提过也解决了的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-20 20:43 , Processed in 0.026068 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部