Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation steps for xampp1.7

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "the installation steps of xampp1.7". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the installation steps of xampp1.7.

One: download address:

Https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.7.1/

Version 1.7 officially does not have 64-bit, only 32-bit

download

Success

Two: decompress to / opt/ directory

Tar xfz xampp-linux-1.7.7.tar.gz

Note that because the compressed package contains properties such as permissions, you can only use this command to extract (xfz) and the downloaded tar.gz package is not allowed to be edited or extracted in the Windows environment. At this point, XAMPP has been installed ~:) ~ is it amazing?

3: enter the lampp directory after decompression is completed

. / lampp start starts xampp

-

Five: mysql startup and configuration

1: the directory to enter mysql is:

/ lampp/bin

Log in to mysql directly under bin directory without password by default

. / mysql

2:

Set the mysql root password:

Mysql > use mysql

Mysql > update user set password=passworD ("test") where user='root'

Mysql > flush privileges

Mysql > exit

3: enter mysql

. / mysql-uroot-proot

4: set the mysql remote connection account password

Mysq > GRANT ALL PRIVILEGES ON *. * TO 'myuser'@'%' IDENTIFIED BY'mypassword' WITH GRANT OPTION

Mysq > FLUSH PRIVILEGES

5: restart the service. Complete

Four: Port 80 is enabled by default. The default path to access is

Modify the default access path and configure it here: (just modify URL)

-

Forget the xampp mysql password:

Set the password as follows

1. Stop the mysql server

Sudo / opt/lampp/lampp stopmysql

2. Use the `--skip-grant-tables' parameter to start mysqld

Sudo / opt/lampp/sbin/mysqld-- skip-grant-tables

3. Open another terminal (right-click + B in the terminal) to enter the mysql

Sudo / opt/lampp/bin/mysql-uroot

Will now go directly to mysql

4. Connect to the mysql permission database

Use mysql

5. Change the password of the root user

Update user set password=password ("123456") where user= "root"

6. Refresh the permission table (this step is required)

Flush privileges

7. Quit mysql

Quit

8. Restart the mysql service

Sudo / opt/lampp/lampp startmysql

Ok can now log in to msql using the password you just set

At this point, I believe that everyone on the "xampp1.7 installation steps" have a deeper understanding, might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report