Tags: mysqlThis article takes CentOS7 as an example, introduces the MySQL source installation!Environment Introduction:Operating system: CENTOS7 (Select GNOME Desktop and development tools during installation)Software: mysql5.5.22.tar.gzTo start the installation:Pre-installation Environment preparation: Yum Install ncurses ncurses-devel cmake1. Create MySQL users and groups# Groupadd MySQL# useradd Mysql-g mysql-s/sbin/nologin-r2. Build source code# tar ZXVF mysql5.5.22.tar.gz# CD mysql5.5.22# C
/limits.conf#echo "Export Oracle_base=/opt/app/product" >>/opt/app/u01/.bash_profileecho "Export Oracle_home=/opt/app/product/software" >>/opt/app/u01/.bash_profileecho "Export Oracle_sid=keyman" >>/opt/app/u01/.bash_profileecho "path= $PATH: $ORACLE _home/bin" >>/opt/app/u01/.bash_profile#Chown oracle:oinstall/opt/*Note: The above can be written in a script, once executed.After completing the above, reboot to Oracle Desktop user, extract 2 Oracle Fil
Problem: Because the xdebug extension is enabled, the prompt "{code...}" appears when you use composer ...} so I want to stop loading the xdebug environment under cli: linux is installed for archlinuxphp through pacman, and version 7.0.1web service runs the configuration file distribution through php-fpm: {generation... problem:
When composer is used, the following message is displayed:
You are running composer with xdebug enabled. This has a major im
After a few days, it was finally settled. It is only now known that archlinux is indeed a master of kiss ----- kiss, and a beginner of kiss.This is not like ubuntu. I want to do everything for you. She is more like an assistant. Prepare the materials for you. Choose the rest. Because of this, there are many things to be done at the beginning, but the whole process is very interesting.
In the middle of the road, I have touched some nails. Now let's write down these!
Hard Disk Boot Image
My i
before installation. You can select China as the address to automatically select the corresponding image website.
Https://www.archlinux.org/mirrorlist/
Use pacman-Syy to set cache after replication.
Edit/etc/pacman. d/issue list to cancel the comment before the image to be tested.
00x1 Initial Disk
Fcfdisk/dev/sda
Mkfs. ext4/dev/sdax
Mount/dev/sdax/mnt/boot
# Note swap commands: mkswap/dev/sdax and swapo
:
Pacman-S openssh
Vim/etc/ssh/sshd_config
Find this line and change the path
Subsystem sftp/home/data/sftp
Then, we can directly log on to the host using the terminal program without performing operations in rdesktop.
Ssh root@192.168.1.103
4. install PHP directly, and edit the configuration file when loading some modules to uncomment the module to be loaded.
Pacman-S php
Vim/etc/php. ini
Find the extensio
1. Install the Ibus-libpinyin.sudo pacman-s ibus-libpinyinIf the system does not previously have IBUs installed, the IBUs is first installed through Pacman.2. Installing the IBUS-QT Software Librarysudo pacman-s ibus-qt3. Locate the reginlanguage in the setting and set the input source.When opened, the Regionlanguage Setup interface is displayed and the Chines (I
Installxfceinarchlinux brief install xserverpacman-Sxorg install xfcepacman-Sxfce4 run startxfce4 to test if it is normal. Configure xinitrcvi on www.2cto.com ~ /. Xinitrc note: If not ~ /. Xinitrc file, which can be obtained from the system...
Install xfce in archlinux brief install x serverpacman-S xorg install xfce pacman-S xfce4 run startxfce4 to test whether it is normal. Configure xinitrcvi on www.2cto.com ~ /. Xinitrc note: If not ~ /. Xinitrc
The ArchLinux five-stroke input method memorandum for installing ibus a few days ago, I converted all the PC operating systems in my office to ArchLinux. The installation process of ibus five-stroke input method is as follows: Step 1: www.2cto.com $ sudopacman-Sibusibus-piny...
Arch Linux install ibus five pen input method memorandum a few days ago I converted the office home PC operating system to Arch Linux.
The installation process of the ibus five-stroke input method is as follows:
Step 1: w
This is a creation in
Article, where the information may have evolved or changed.
First, the installation of Golang
Golang Install and verify:
[cox@localhost ~]$ sudo pacman -S go[cox@localhost ~]$ go versiongo version go1.8.3 linux/amd64s
Note that the installation of Golang to ensure that two environment variables, one is the GOROOT environment variable, and the other is the PATH environment variable to contain the $goroot\bin value.
Second, G
I installed ArchLinux some time ago (for details about how to install ArchLinux hard disk, refer to here). I used KDE for a while, but I finally switched it back to Gnome. Alas! Failed.
Gnome3 is installed directly in archlinux after Gnome is installed. However, Gnome3 is really beautiful!
The following are some of the problems I have encountered and I have posted them for your reference:
1. Use Fcitx in Gnome3
First, make sure you have installed the Chinese font. If not, try:
Sudo
The previously installed php56 could not be run because the ArchLinux was upgraded. reported a variety of missing file errors.Try it first.sudo pacman-s php56Not found.So it's constantlyThe name of Ln -S after the upgrade. So the name of the error.For example, the error message is not libxxx.1.0.so, after the review found only libxxx.2.0.so. So itLn -S libxxx. 2.0. So libxxx. 1.0. SoThat's it, it's almost done.Suddenly found that there is no correspon
to add a user who can log in with the federated password. Then we need to upgrade the system by running the following command:Pacman-syuYou might guess that Pacman is our software manager, but this phase won't last long because you have only a small system environment at this stage.Arch Linux uses Su by default, and if you prefer to use sudo to get root privileges, we can install it and add our users to the sudo user (sudoers) list by using the follo
others is the result of updating the system, although the LIBTIRPC version is reduced, but the other dependencies did not fall down. Of course he was a failure.But I'm not the same, I just updated libtirpc, and then I found that I didn't install any dependencies. So I think I just have to drop back the original LIBTIRPC version. can solve the problem.Specific practices:Restart, enter the Grub boot interface and press E to edit the kernel boot parameters. , at the end of the Linux line, add sing
the comment symbol () in front of the corresponding line, and # suggest the option UTF-8 to use the Chinese system :en_US. utf-8 utf-8zh_cn. GB18030 GB18030ZH_CN. GBK GBKZH_CN. UTF-8 utf-8zh_cn GB2312Then execute locale-gen to generate the locale message:# Locale-genlocale.confto create and submit your localization options:Echo Lang=en_us. utf-8 >/etc/locale.confHost nameTo set hostname, add it to /etc/hostname , myhostname is the hostname you need:echo myhostname >/etc/hostnameRoot Passwordpa
compile and install the software, it is not recommended (in this process, not only to handle the software dependencies (if the dependency tree is much more difficult to do), but also to pay attention to the configuration of the compilation parameters, if the unfortunate compilation fails, all may need to push to start again. Configure parameters that may be used to compile and install Rhythmcat: ./configure--with-native-plugins--with-python3-plugins// Gstremer0.10 is not in the system default l
EXT4 type.$ mkfs.ext4/dev/sda11.4 Modifying the Pacman server imageUse the Nano Editor to modify:# nano/etc/pacman.d/mirrorlistModify the inside of the mirror, select the inside of the Chinese area of the image can be.2 Installing the System2.1 Attach the new partition to the MNT.Mount /dev/sda1/mntIf you have additional partitions to mount, you need to create a new folder under/mnt/and then mount the partition under the file.2.2 Installing the base
different home directory under a partition./ var/varDirectory store variable data such as spool directory and files, management and login data, pacman cache, ABS tree, etc. It is often used as a cache or as a log record, so read and write frequently. Separate it to avoid problems such as disk space exhaustion caused by large log writes.Can be /usr set to read-only mount. All the things written in the operating system, such as installation or software
;/etc/locale.conf
Create RAMDisk
Mkinitcpio-p Linux
Set the root user password
passwd Root
Installing bootloaderGrub is generally used.
Pacman-s Grubgrub-install/dev/sdagrub-mkconfig-o/boot/grub/grub.cfg
Set host nameGive yourself a loud name ~
echo ArchLinux >/etc/hostname
Don't forget to add your own set of hostname to the hosts fil
Details of each node in the Server.xml file in Tomcat
Because Tomcat is based on Java, it actually has a similar configuration in various Linux distributions, but I've seen fewer articles in the Arch Linux environment to build tomcat, so do it in the Arch Linux practice and come to this. This article assumes that you do not know much about Tomcat, the main text will be in the configuration of Tomcat. 1. Install Java JDK
In the Arch Linux Extra source has JDK7-OPENJDK and openjdk6, can directly
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.