Chakra Linux installation and configuration steps diagram

Source: Internet
Author: User
Tags gtk time zones locale pack ssh administrator password arch linux

I. Introduction to Chakra Linxu

Chakra Linux is a user-friendly, powerful release and bootable CD-ROM, based on Arch Linux. Features include a graphical installer, automated hardware detection and configuration, the latest KDE desktop, and a wide variety of tools and accessories

Second, Chakra Linux installation Guide

Now is the final confirmation phase, and check the following partitions will is formatted (the following sections are formatted), and then click Next to start the installation.

Now that the installation process begins, wait a moment for it to complete the installation process.

Installation completed, enter the Configuration (configuration) page, not recommended to modify this setting, directly click Next, Tribe will start to install Grub 2, wait a moment.

Now that the installation is over, click Restart Computer reboot to complete the installation process, which lasted about 15 minutes on my computer.

Are you impatient to start using Chakra? Don't worry, Chakra's installation is simple, but there's a lot of configuration work to follow.


Three, Chakra Linux configuration Guide

We have completed the Chakra Linux installation process, after reboot, choose Chakra Linux in the Grub 2 menu to start Chakra Linux. However, after the launch, in addition to Chakra beautiful interface, we will also notice: The system interface unexpectedly is English!

Therefore, the toss of the road has not been completed, we together to set the Chakra.

1. Connect Network

The first thing we need to do before setting up is to connect to the network, and for wireless network users, you can manage the wireless network connection in the network manager in the notification area, no more.

As for users using ASDL connections, I'll introduce a more traditional way to connect to the network. (Theoretically, network manager can manage a DSL connection, but I tried it unsuccessfully)

First press ALT + F2 shortcut key combination, enter Konsole run Konsole. Then enter sudo pppoe-setup and enter the administrator password required. Then follow the prompts to enter the relevant information to complete the configuration, because the configuration information is all in English, I will give an example (Chinese hint for I added).

The code is as follows Copy Code

[Terry@chakra-pc ~]$ sudo pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup. I'll run
Some checks on your system to make sure the PPPoE client is installed
Properly ...

Looks good! Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default bxxxnxnx@sympatico.ca): (User name) example@example.com

INTERFACE

>>> Enter the Ethernet interface connected to the DSL modem
For Solaris, this are likely to be something LIKE/DEV/HME0.
For Linux, it'll be ethn and where ' n ' is a number.
(Default eth0): (Select the network card, in most cases direct return to select the default eth0 can, that is, Ethernet card)

Do you want the "link to come up" demand, or stay up continuously?
If you are want it to come up on demand, enter the idle time in seconds
After which the link should to be dropped. If you are want the link to
Stay up permanently, enter ' no ' (two letters, lower-case.)
Note:demand-activated links do not interact-with dynamic IP
Addresses. Have some problems with demand-activated links.
>>> Enter The demand value (default NO): (choose whether to disconnect after a period of idle time, recommend direct return to select the default no)

Dns

Please enter the IP address of your ISP ' s primary DNS server.
If your ISP claims that ' the server would provide DNS addresses ',
Enter ' server ' (all lower-case) here.
If you just press ENTER, I'll assume you know what you are
Doing and not modify your DNS setup.
>>> Enter the DNS information here: (DNS server address, input server will automatically obtain DNS server address) server

PASSWORD

>>> Please enter your PPPoE password: (Enter password)
>>> Please re-enter your PPPoE password: (Confirm password)

Firewalling

Please choose the firewall rules to use. Note this these rules are
Very basic. Are strongly encouraged to use a more sophisticated
Firewall setup; However, these are provide basic security. If You
are running any servers in your machine, you must choose ' NONE ' and
Set up firewalling yourself. Otherwise, the firewall rules would deny
Access to all standard servers like Web, e-mail, FTP, etc. If You
are using SSH, the rules would block outgoing SSH connections which
Allocate a privileged source port.

The firewall choices are:
0–none:this script would not set any firewall rules. You are responsible
For ensuring the security of your machine. You are strongly
Recommended to use some kind of firewall rules.
1–standalone:appropriate for a basic stand-alone web-surfing workstation
2–masquerade:appropriate for a machine acting as an Internet gateway
For a LAN
>>> Choose A type of firewall (0-2): (Firewall settings, 0 firewall not set) 0

* * Summary of what you entered * * (Information Digest)

Ethernet Interface:eth0
User name:example@example.com
Activate-on-demand:no
DNS addresses:supplied by ISP ' s server
Firewalling:none

>>> Accept These settings and adjust configuration files (y/n)? (finally confirm, enter Y Can) y
Adjusting/etc/ppp/pppoe.conf
Adjusting/etc/ppp/pap-secrets and/etc/ppp/chap-secrets
(But-backing it up To/etc/ppp/pap-secrets-bak)
(But-backing it up To/etc/ppp/chap-secrets-bak)

Congratulations, it should be all set up!

Type ' Pppoe-start ' to bring up your PPPoE link and ' pppoe-stop ' to bring
it down. Type ' pppoe-status ' to the link status.

When you have finished setting up, enter sudo pppoe-start to connect to the network, and enter sudo pppoe-stop to disconnect.

2. Modify the configuration file

In the installation steps of the Arch Linux, a very important part is to modify the system settings, or more precisely, to modify the configuration file, because Arch Linux adhering to the principle of simplicity, the system's important settings are modified by the core configuration file, not the program tool to complete, While it may sound scary to modify a text profile, the Arch's configuration file is clearly structured and easy to read, providing the flexibility and comprehensiveness of the graphical configuration tool, and it is convenient for users to modify the system configuration after they are familiar with the configuration file structure. Chakra, which originated in Arch, inherits this feature of arch, but I'm puzzled that Chakra's installer tribe not require users to modify the core profile during installation, but it doesn't matter, and now we're going to configure the system.

In fact, we now need to modify the configuration file is actually only two: Rc.conf and Mirrorlist, the user who has been deployed arch knows: the former is a very famous core configuration file in arch, the latter is a mirror list of the package Manager Pacman.

To modify rc.conf, enter sudo nano/etc/rc.conf in Konsole (you can also use Kate's own handy editor), enter a password to modify it, and because of the system core settings, carefully modify the configuration file contents.

Below is the basic content of rc.conf, excerpted from ArchWiki.

The code is as follows Copy Code

# LOCALIZATION
# ————
hardwareclock= "UTC"
Timezone=
Keymap= "US"
Consolefont=
consolemap=
Locale= "en_US. Utf-8″
Daemon_locale= "Yes"
Usecolor= "Yes"

# Hardware
# ——–
Modules= ()
Usedmraid= "No"
Usebtrfs= "No"
Uselvm= "No"

# Networking
# ———-
Hostname= "Myhost"

Interface=
address=
netmask=
broadcast=
gateway=

Network_persist= "No"

# daemons
# ——-
#
daemons= (Syslog-ng network Crond)

Let me introduce the more commonly used settings, for other settings, see ArchWiki.

The first is the LOCALIZATION (localized) project, which contains much of the information from localized settings during the Chakra installation, including time zones, locales, and so on, so no modification is required. One of the settings that may need to be modified is hardwareclock (hardware time), so why do you want to modify this setting? This is because Linux differs from Windows ' default interpretation of hardware time, and if you install dual systems without modifying this setting, two operating system times will show inconsistencies. We change the value at Hardwareclock from the default UTC to LocalTime, and then we can fix it after restarting.

followed by the hardware (hardware) project, the settings that may need to be modified are MODULES (kernel modules). If you install VirtualBox in Chakra, you will find that you cannot use it after installation, and you will see an error following the dialog box prompts, in fact, because the Vboxdrv kernel module is not loaded and vboxdrv is added to the MODULES sequence. The reboot resolves the problem (directly executes the sudo modprobe vboxdrv to make the setting take effect immediately).

Because NetworkManager is used in Chakra to manage network connections, it is not usually necessary to modify the settings in the Networking (network) project, which is omitted here.

Finally, the Daemons (daemon) project, for many applications, does not require the use of daemons. However, because Chakra does not boot Bluetooth (Bluetooth) By default, it can cause a Bluetooth adapter to be unusable, add Bluetooth to the daemons sequence, and restart.

Now the rc.conf settings are roughly complete and saved.

Now we're going to modify the/etc/pacman.d/mirrorlist, enter sudo nano/etc/pacman.d/mirrorlist in the konsole (or you can use Kate's own handy editor) and enter the password to make the change.

Chakra The default software source is the server located in the United States, the following http://mirror.rit.edu/kdemod/$repo/i686, add a # Before this line, and comment it out.

# United States
Server = http://mirror.rit.edu/kdemod/$repo/i686
#Server = ftp://mirror.dacentec.com/chakra/$repo/i686
#Server = http://mirror.dacentec.com/chakra/$repo/i686

After you turn to the configuration file, locate the list of servers in China, select one of the following three servers, remove the # symbol before the line, and personally recommend the last 163 software source.

#
#Server = http://oss.ustc.edu.cn/kdemod/$repo/i686
#Server = http://debian.cn99.com/kdemod/$repo/i686
#Server = http://mirrors.163.com/kdemod/$repo/i686

Note: Do not include Arch software sources in Mirrorlist, Chakra is already a stand-alone release, and mixing software sources can cause compatibility problems.

Now the Mirrorlist settings are complete and saved. Then enter sudo pacman-syu in the konsole to synchronize the software source information and update the system.

3. Install Bundle

Prior to introducing Chakra, important GTK + software was packaged and provided in the form of Bundle (an exception is Adobe Flash Player, which can be installed directly by entering sudo pacman-s flash-plugin). In the form of Bundle software, including FireFox, ThunderBird, Pidgin and other very common software, then how to install bundles? In fact, it's very simple, just install it through the Bundle Manager.

Find Bundle Manager in the Kickoff menu, click Run, as shown in the following image:

Select the program you want to download, click to start the download, without administrator privileges, waiting for its installation can be installed in the Kickoff menu, the same as the general program. However, when using Firefox there is a more annoying place, that is, Firefox can not automatically invoke the appropriate program to open the downloaded file (in the ThunderBird can not even call the default browser to open the link), need to manually set the program path, if one by one set very troublesome, We can set the common file type of open program all to/usr/bin/xdg-open script, FireFox or ThunderBird will automatically run the default program to open the file.

4. Chinese culture

Although we previously set the system language to Chinese in the installation process, since the Chakra DVD does not contain the KDE Chinese language pack, it is still in English after the installation is complete, and the solution is to install the Chinese Language Pack and perform sudo pacman-s in Konsole kde-l10n -ZH_CN can be.

LibreOffice also need to install the Chinese Language pack, perform sudo pacman-s libreoffice-zh-cn.

In addition, the Firefox language pack also needs to be installed, in the Arch Linux can be directly through the Pacman installation, but in Chakra because Firefox is a GTK + program to remove it from the software source can only be installed in the following ways: Access to Http://rele ases.mozilla.org/pub/mozilla.org/firefox/releases/10.0.2/linux-i686/xpi/(here 10.02 is the version number, please change to the corresponding version number), click ZH-CN.XPI download and allow installation, after installation to access About:config, double-click General.useragent.locale, and modify it to ZH-CN, restart FireFox can be effective.

Below is a screenshot of the completion of the Language pack installation:

There is still a problem, that is, there is no Chinese input method, Chakra software source has FCITX and sunpinyin available, in Konsole input sudo pacman-s fcitx fcitx-sunpinyin kcm-fcitx, after installation in Join in ~/.xprofile (no new one):

The code is as follows Copy Code

Export xmodifiers= @im =xim

Export Qt_im_module=xim

Then in the KDE Settings Center will fcitx to join the automatic startup program, now the basic settings can be said to end, and finally reboot to set the effective

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.