Home > System Tutorial > LINUX > body text

Install WAMP on CentOS and cannot click on the desktop after CentOS installation.

WBOY
Release: 2024-02-11 16:51:18
forward
856 people have browsed it

Directory introduction to this article: CentOS installs WAMP, installs Apache, installs MySQL, installs PHP, configures WAMP. After CentOS is installed, you cannot enter the desktop and cannot click to restart the desktop environment, update or reinstall the driver, reset the desktop configuration, change the desktop environment, LINUX knowledge sharing

CentOS installation WAMP

php editor Zimo brings you an article about the solution to the problem of installing WAMP on CentOS and the problem that you cannot click on the desktop after CentOS is installed. CentOS is a commonly used server operating system, while WAMP is a development environment that integrates Apache, MySQL and PHP. After installing CentOS, you sometimes encounter the problem that you cannot use the mouse to click after entering the desktop. This article will detail how to solve this problem so that you can successfully install WAMP and use CentOS.

Install WAMP on CentOS and cannot click on the desktop after CentOS installation.

Install Apache

We need to install Apache as a web server, execute the following command in the terminal to install Apache:

``` shell

sudo yum install httpd

```

Install MySQL

Next, we need to install MySQL as the database server, execute the following in the terminal Command to install MySQL:

sudo yum install mysql-server

Install PHP

We need to install PHP to support dynamic web content, execute the following command in the terminal to install PHP :

sudo yum install php

Configuring WAMP

Once we have installed Apache, MySQL and PHP, we can start configuring WAMP, execute the following command in the terminal to start Apache and MySQL services:

sudo systemctl start httpd

sudo systemctl start mysqld

We can also set them to start at boot:

sudo systemctl enable httpd

sudo systemctl enable mysqld

After CentOS is installed, you may not be able to click on the desktop icons and menus

After installing CentOS, you may be unable to click on the icons and menus on the desktop This may be due to a misconfiguration of the desktop environment or a driver issue, here are some possible solutions:

Restart the desktop environment

Try restarting the desktop environment to resolve the issue, Execute the following command in the terminal to restart the desktop environment:

sudo systemctl restart lightdm

Update or reinstall the driver

If the problem persists, it may be due to a driver issue Caused by this, try to update or reinstall your graphics card driver. You can check the driver you are currently using by running the following command:

lspci -k | grep -A 2 -i "VGA"

Then find and install the latest driver based on your graphics card model.

Reset Desktop Configuration

The desktop configuration file may be damaged or misconfigured, resulting in the inability to click icons and menus on the desktop. You can try to reset the desktop configuration file to solve the problem, in the terminal Execute the following command to reset the desktop configuration:

rm -rf ~/.config

Then restart the desktop environment.

Change Desktop Environment

If the problem persists, you can try to change the desktop environment. CentOS supports a variety of desktop environments, such as GNOME, KDE, XFCE, etc. You can choose a different one on the login interface. desktop environment, and then try to use another desktop environment to resolve the issue.

LINUX little knowledge sharing

In Linux, you can use the `man` command to get detailed information about the command. If you want to know the usage of the `ls` command, you can execute it in the terminal The following command:

man ls

The `man` command will display a detailed help page about the `ls` command, including the command's options, parameters and examples. This is a very useful tool. Can help you better understand and use Linux commands.

The above is the detailed content of Install WAMP on CentOS and cannot click on the desktop after CentOS installation.. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:xiaosiseo.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!