By default, httpd and MySQL are not started,
For example, if you directly use the MySQL command => 〉
Can't connect to local MySQL server through socket '/var/lib/MySQL. Sock'
A: Use YaST to start the desktop directly in system> service.
B: The MySQL service is started directly in the Command form. However, unlike the service command "# service [servicename] [Option]" in RedHat, in Suse, "RC" is added before the service name, such as rcapache2 and rcmysql, so that rcmysql start can be started.
In addition:
The localhost in SuSE is/srv/www/htdocs by default (it looks like this path, or re-check # Find/srv-name htdocs-ls ); fedora is under the/var/www/html/directory.
To modify it, you need to open it in/etc/httpd/CONF/httpd. conf (this path seems to be under fedora, and SuSE is in a very deep directory. Check/usr /... /original/httpd. conf), and then modify the DocumentRoot path.