Reasons and processes of usb linux

Source: Internet
Author: User

The reason and process of the usb linux system is that the master machine in the house is not good, basically give stocks to the mother, usually on the internet, installed with xp. A lot of work requires linux. In order not to compete with family members, I bought a 4G USB flash drive to prepare my own development environment. Classic server configuration: cpu amd Athlon 2.2G dual-core memory 1G DDR2 hard disk 40g ide, basically full of the requirements of the target system: 1, debian-based linux, used to only 2, the Ultimate simplicity is that the 4g usb flash drive saves resources as much as possible. By the way, we despise some of the current linux distributions for being bloated. 3. Support Chinese. My choice is as follows: operating System turnkey linux Desktop lxde Input Method ibus ========== split line ======== The following is the installation process, it is best to try it in the vm: update the software source address deb http://mirrors.ustc.edu.cn/debian/ squeeze main non-free contribdeb http: // mir Rors.ustc.edu.cn/debian/ squeeze-proposed-updates main non-free contribdeb http://mirrors.ustc.edu.cn/debian-security/ squeeze/updates main non-free contrib create 1 vm, select the downloaded iso for the optical drive, start turnkey linux and start it with "install to hard disk". Before you click it, insert a USB flash drive. Generally, vm instances provide the entire hard disk when dynamically loading device partitions, note that you should select the location where the USB flash drive is located. Generally, sdb installs grub on sdb and then restarts. Set the password. The following service applications can use skip to update the software source address: edit/etc/apt/sources. list. add the recorded image address to the two files under d/, comment it to the original file, and then install the desktop with apt-get update. Install xorg lxde, restart the login, start the desktop with startx to install the Chinese environment: apt-get install ttf-arphic-uming xfont-wqy // font dpkg-reconfigure locales // Add zh_CN. * Environment, restart to use the Chinese Input apt-get install ibus-pinyin ibus-gtk ibus-qt4 im-switch // input method, you need to add py to the configuration to install the browser: apt-get install iceweasel // The pdf Reader installed by Firefox: apt-get install xpdf install chm reader: apt-get install chmsee install zip and rar decompression tools: apt-get install zip rar // zip unzip command unzip [zip file]; rar unzip command rar x [rarfile] Now, A basic operating system has been completed. After inserting a USB flash drive, you can select the boot sequence in the BIOS. Write down the establishment of the development work environment later. ========= April 8, 2013 add ========= disable root remote login: Modify/etc/ssh/sshd_config "PermitRootLogin no ", restart the sshd service to adjust the time zone: # dpkg-reconfigure tzdata select asia/shanghai ======== April 11, 2013 add ======= the user uses the sudo command: install sudo: apt-get install sudo to add the user to the sudo group. Otherwise, "xx is not in the sudoers file" is reported. Do // vi is followed by no space on the last line: username ALL = (ALL) ALL save and exit then you can ====== September 5, 2013 add ======= every time a turnkey linux console pops up, too annoying. Disable sysv-rc-conf: sudo apt-get install s. Ysv-rc-conf start sysv-rc-conf as root ~ Remove [x] After the confconsole of the Five columns, and restart it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.