Using DirectAdmin in Chinese and modifying default ports

Source: Internet
Author: User

The last time the site successfully installed the DirectAdmin panel, the installation was completed in the English version. If your English level is too high, you can use it directly, but if you want to be a distributor or sell a VM, it is better to turn it into Chinese, which is more convenient.

Enter http: // IP: 2222 in the browser, and enter the logon account and password to log in. The logon interface should be in English when it is not in Chinese.

Jquery1391843216453 = "20"/>

You need to download a Chinese package. Here, the small station provides a Chinese package for download:

Extraction code 6her

Upload the supervisor to the/usr/local/directadmin/data/skins/enhanced/lang/directory, and then run the following command to decompress and modify the configuration file of DirectAdmin and restart the DirectAdmin service:

1
2
3
Unzip DACN.zip
Sed -I 'S/language = en/language = cn/g' /Usr/local/directadmin/data/users/admin/user . Conf
Service directadmin restart

Then, refresh the previous page to see the Chinese panel.

To defend against malicious port scanning by boring people, we need to change the default port. This time, we did not apply the sed command, but directly operated the DirectAdmin configuration file and used the following command to open the configuration file.

1
Vi  /Usr/local/directadmin/conf/directadmin . Conf

Find the port = 2222 line and modify it to the desired port. Note that the port value is smaller than 65535.

Here, the website is changed to 12345. Save and run the following code to restart DirectAdmin:

1
Service directadmin restart

Then you can enter http: // IP: 12345 in the browser to access the logon page.

 

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.