Installed Ubuntu on my laptop~~~

本文记录了作者在笔记本电脑上安装Ubuntu的过程,并分享了一系列实用的Ubuntu使用技巧,包括以root用户登录、磁盘分区、中文输入设置、检查磁盘空间、配置PPPoE连接等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

haha I installed Ubuntu on my laptop today~ I'm on my way to a fancy trip~~~~

 

Record when I learned new thing.

 

Q: Login Ubuntu as root

A:   sudo passwd root

 

Q: patitioning

A:  swap           /swap  512M

      ResierFS   /            8G

      ReiserFS   /home  <the rest of the volume> 

 

Q: input Chinese in Ubuntu -- install ibus

A:   

If the local of the os is non-Chinese , scim can't input Chinese.

ibut only for version 9.0.x +

 

Q: check disk space

A: $ df -h

 

Q: Config PPPoE connection

A:  sudo pppoeconf                fill in the username and password you use to connect. You can choose if it will connect to internet when start the system.

      sudo poff            to disconnect.

      sudo pon dsl-provider      to connect.

       plog               see some properties (?)

 

Q: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
A: way1: Search for stdc++5 in synaptic package manager (System->Administration->Synaptic)
   way2: sudo apt-get install libstdc++5

 

Q: set PATH permanently

A; open /home/<username>/.bashrc          and add  

     export PATH=<the path to where you want>:$PATH

    eg: export PATH=/home/username/SDK/jdk/bin:$PATH

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值