Fedora Installation Configuration record

Source: Internet
Author: User
Tags i18n

No tangle, no happiness ... From Ubuntu tangled to CentOS, to now fedora ...

Ubuntu deployment of the Web, outside the network can not access, should be a firewall problem, but they have been unable to solve, and then moved to the Holy Warrior; just loaded with CentOS, interface can, the extranet is also accessible, but, but, eclipse cannot input Chinese? Input method compatible also too x, have obsessive-compulsive disorder I can not endure, engaged in the majority of days or can not solve, finally KDE collapsed, I also collapsed ....

OK, try again Ubuntu, after the reload still can't solve the external network access problem (after configuring Fedora, I should know how to solve), the picture is ugly, another find his way ...

Fedora, which is based on Red Hat Linux, is planning to replace Red Hat Linux in the personal domain with Fedora after the termination of Red Hat Linux, while the other Red Hat Enterprise Linux (red Hat Enterprise Edition Linux,rhel) replaces Red Hat Linux in the field of commercial applications. It looks good, try it ... This interface at least I like ...

First, installation

Here the initial installation is Fedora23 server without desktop Chinese, but just entered is not Chinese.

1. Add a third-party source:

RPM Fusion Source: sudo rpm-uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm && sudo RPM-UVH http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Fzug Source:# DNF Config-manager--add-repo=http://repo.fdzh.org/fzug/fzug.repo or # DNF Install/HTTP// repo.fdzh.org/fzug/free/23/x86_64/fzug-release-23-0.1.noarch.rpm or # wget Http://repo.fdzh.org/FZUG/FZUG.repo-P/ Etc/yum.repos.d/heard that there are Sogou, Baidu Yun Music, Youdao ...

2. Install KDE:

1. Instruction: DNF Groupinstall KDE installation is complete, DNF grouplist |more to see if there is an "X window System" or KDE (K desktop environment, KDE can go to the desktop, it may be necessary to DNF Groupinstall "x Window System" Installs X, enters KDE instruction: STARTX, does not configure the boot to start, does not need.

2. Chinese: DNF Search *kde*i18n*chinese* (search confirmed Chinese support package name) DNF Install "Kde-i18n-chinese.noarch" (under normal circumstances will have this package); After entering the system, it is not Chinese.

3. Continue to Chinese: DNF Install the language Kit System-config-language, then command: system-config-language, open the language selector,

4. Continuous Localization:

Right-click Time ("7:23"), pop-up box, select "Set. ", regional select" Chinese-Simplified Chinese ", not other such as" chinaxxxx ".

Restart the system, it should be Chinese.

5. Sogou Input Method

The third-party source that was just added is now used. # DNF Search *sogou*pinyin*

Installation of the first: DNF install sogoupinyin.x86_64 installed, the initiator will be more than a "Select the input method to use ..." or "Choose the Input Method ...";

Click Logout, re-login, Sogou available! (Before the installation succeeds, can not find the Input method selector && settings also can not find the "family", "language support" and so on, find crying did not find)

Second, build the Java development environment

1. Database Mariadb,fedora Use this instead of MySQL (uninstall it, reload MySQL unsuccessfully), so do not move, anyway compatible

Start: Service mariadb start entry: mysql-u root change Password: use MySQL; UPDATE user SET Password=password (' New_password ') WHERE user= ' root '; FLUSH privileges;

Database encoding (garbled) settings:/etc/my.cnf [mysqld] under Add:

Character_set_server=utf8
init_connect= ' SET collation_connection = Utf8_unicode_ci '
init_connect= ' SET NAMES UTF8 '
Collation_server=utf8_unicode_ci
Skip_character_set_client-handshake

2.eclipse, JDK, tomcat (uninstall my own, my eclipse won't boot with Tomcat

directive: Rpm-qa|grep Tomcat

Remove all of the listed Tomcat services: RPM-E--nodeps tomcat-tmp.rpm

"Brain Fill rpm instruction"

)

Installation Reference "Java Unified development environment under Ubuntu Build", related installation, such as Apt-get into DNF.

  

III. Deployment of Web projects

1. Principle with the release project to tomcat (domain name direct access);

2.FIREWALLD caused the external network can not access the solution, here is the main problem.

Online solutions are copied a person, 99% can not, until read this article of the Chinese station.

The most convenient way: graphical interface tool Firewall-config: Launcher -----------

Add 80 port, add HTTP Service, option--Change the connection area to your own area or "trusted", OK, wait/restart, you should be able to stay out of the wall ...

Fedora Installation Configuration record

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.