Tiểu {L}ong

Kiến thức và kiến thức

Archive for the ‘Ubuntu’ Category

Split and Join the file in Ubuntu

Posted by Kungfu on 13/04/2012

Quite often these days when we download any movie files, they are split files with extensions like avi.001, avi.002 so on. In windows there is a very famous free tool called HJ Split to join the files.

 

In Ubuntu there is one such tool called lxSplit which can be used to join the files. Download the file from here. And install it or you can also get it from Package manager. After installation, files can be joined or split by following commands:

 

To Join files.

 

lxsplit -j smallfiles.bin.001

 

To split files.

 

lxsplit -s hugefile.bin 15M

 

Download: lxSplit

 

 

Posted in Ubuntu | Leave a Comment »

Hướng dẫn dự phòng và khôi phục gói dữ liệu Ubuntu bằng APTonCD

Posted by Kungfu on 02/04/2012

APTonCD là một cách dễ dàng để lưu dự phòng các gói cài đặt (package) vào đĩa cứng hay file ISO. Người dùng có thể khôi phục gói nhanh chóng để cài đặt trên hệ thống Ubuntu khác mà không cần tải bất cứ thứ gì.

Sau khi sử dụng APTonCD, người dùng có thể cài đặt những gói được lưu dự phòng chỉ với một thao tác, bổ sung thêm gói, hay khôi phục chúng trên bộ lưu đệm APT (APT cache).

APTonCD

Read the rest of this entry »

Posted in Ubuntu | Leave a Comment »

Howto: Upgrade to Ubuntu 12.04 Precise Pangolin from 10.04, 11.04, 11.10 | Desktop & Server

Posted by Kungfu on 22/03/2012

buntu 12.04  Beta Precise Pangolin will be released Soon, If you have ubuntu 11.10 Oneiric Ocelot or older version of ubuntu installed on your system, and you want to upgrade to this new release,  you can do it by following these instructions.

 

Important: The most important things when it comes to upgrading are:

  1. That your data is safe
  2. That you end up with a fully functional system

Your personal data is the most valuable thing in your computer. If anything happens and you break your operating system, it’s not a problem, it can be reinstalled. If you lose your data… that’s a different story.

To be safe:

  1. Make a full backup of your data on an external device (USB stick or CD/DVD).
  2. Download and burn the liveCD of the newer release, and check that your hardware is fully functional with it.

 

- Desktop Upgrade:

So to upgrade from Ubuntu 11.04 or older on a desktop system, press Alt+F2 and type in update-manager -d into the command box. Update Manager should open up and tell you: New distribution release ’12.04 LTS‘ is available ( See screenshot bellow).
Before to upgrade remember that is important to update your system first then click Upgrade and follow the on-screen instructions:

1- Press Alt+F2 and type in update-manager -d

upgrade-to-natty1

Or from terminal:

upgrade-oneiric1

 

2- Now follow these steps :

First check for updates, then Install them, and finally click Upgrade and follow the on-screen instructions.

- Server Upgrade:

To upgrade from Ubuntu 11.10 on a server system to Ubuntu 12.04 LTS:

1- install the update-manager-core package if it is not already installed:

sudo apt-get install update-manager-core

2- Edit /etc/update-manager/release-upgrades and set Prompt=normal;

3- Launch the upgrade tool with the command

sudo do-release-upgrade -d

and follow the on-screen instructions.

Important: This is a beta release. Do not install it on production machines. The final stable version will be released 26th of April 2012.

Posted in Ubuntu | Leave a Comment »

Đổi mật khẩu mặc định của user root

Posted by Kungfu on 14/10/2011

Mặc định Ubuntu không cung cấp cũng như yêu cầu thiết lập mật khẩu cho user root trong quá trình cài đặt. Đối với những người sử dụng BSDs quen rồi mà chuyển sang Ubuntu có lẽ sẽ cảm thấy khó chịu về điều này. Tuy nhiên, cũng không phải là không có lý khi Ubuntu khuyến khích không dùng user root mà khi cần thì chuyển quyền tạm thời lên root bằng lệnh sudo rồi sau đó trở lại quyền của user hiện tại.

Như vậy chúng ta chỉ cần thiết lập những user nào được quyền sudo thì nằm chung group với user ban đầu (khi cài đặt) là ổn. Và thiết lập chỉ có group này mới được sudo. Tuy nhiên, đó là chuyện của… Ubuntu. Còn chúng ta ai mà chả muốn giữ password của root? Giữ là một chuyện còn xài hay không là một chuyện khác á! Laughing

Muốn khởi tạo lại password mặc định của root, chúng ta làm như sau:

#sudo -i

Hệ thống chuyển sang shell của root. Gõ tiếp lệnh:

#passwd

Rồi nhập vào password mới cho user root.

Lưu ý là chúng ta rất rất nên dùng sudo thay vì phải login vào bằng root.

Posted in Ubuntu | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.