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

Debian7.4 installation and configuration method

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains the "Debian7.4 installation and configuration method", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Debian7.4 installation and configuration method" bar!

Prepare to learn Hadoop, want to share your learning process, problems encountered and solutions to problems with you. To learn Hadoop technology, the first thing to do is to build a Hadoop environment, because there is only one antique notebook in hand, and you can only use this notebook to virtualize 4 Linux operating systems through VMWare WorkStation 10, and the earliest Linux release is Debian, so when I was ready to build the Hadoop environment, Linux chose Debian, the latest version of Debian, 7.4.0 stable version. Let's start installing the Debian system.

1. As everyone's computer configuration is different, the hardware customization in VMWare WorkStation 10 is also different. You can customize your own virtual hardware configuration according to your own computer configuration.

two。 Turn on this virtual machine after hardware customization is completed

Select Advanced options (Advanced option).

Open Advanced options (Advanced option)

Select Expert install (expert installation) for more detailed configuration

Go to the Debian installer main menu

1) Choose language (select language)

[1] Select language

Due to the need of Hadoop environment, the language of Debian operating system is English (English).

[2] Select a country

Select the country in which the system is used. I choose United State (United States) due to the needs of the environment.

According to steps [1] and [2], the system will provide the most appropriate keyboard layout.

There are many areas that use American English. Choose your favorite area. My chosen area is United States en_US.UTF-8 of the United States.

Because en_US.UTF-8 has been selected as the default language of the system, if you don't need to change it, then continue directly.

Go back to the installer main menu

2) Configure the keyboard (keyboard layout)

Choose American English (American English standard QWERTY)

Go back to the installer main menu

3) Detect and mout CD-ROM (detect and mount the optical drive)

[1] hardware detection

This step is completely automatic in most cases.

[2] Optical drive mount

Setup detected your hardware and attempted to mount the cd-rom drive to access its contents.

If it fails to detect a cd-rom read, the installer fetches the corresponding driver from the Linux kernel

Select Continue to install the CD-ROM driver.

After the driver is installed, you can read the CD-ROM content.

Go back to the installer main menu

4) Load installer components from CD (load installation components from CD)

The necessary components of Debian have been automatically selected and will not appear in the following list, and the components in the following list are optional components. I choose Continue directly here because I don't need additional components.

Go back to the installer main menu

5) Detecting Network Hardware (detect network hardware)

Automatically identify the network card. If the recognition fails, the installer will retrieve the corresponding driver from the Linux kernel.

Go back to the installer main menu

6) Configuring the Network (configure the network)

[1] the installer attempts to automatically configure the network (IPV4 IPV6) through DHCP (dynamic Host configuration Protocol).

[2] set the maximum waiting time for the probe network, which defaults to 3 seconds.

[3] after the network automatic configuration is successful, set hostname (host name)

[4] set Domain name (domain name)

Go back to the installer main menu

7) Set up Users and Passwords (set user and password)

Use the shadow password to save the password in a separate file so that other users or programs cannot see the password, even the encrypted password.

Whether to allow root users to log in. If not, ordinary users can temporarily have root permissions through sudo.

Set the password for the root user. If the password is empty, the system will disable the root user. The default ordinary account can be upgraded to root permission through sudo.

Confirm root password

It is not a good practice to directly use the root account to perform ordinary operations, because the authority of root is too large, and if it is not operated properly, it may destroy the whole system, so

Create an ordinary user with relatively small permissions to perform normal operations.

Create the name of a normal user

Create the account of an ordinary user

Create a password for an ordinary account

Confirm the password of the ordinary account

Go back to the installer main menu

8) Configure the clock (clock setting)

If the network is available, the system will update the system internal time from the NTP Server

Select NTP server

Choose the time zone, because the country of choice is the United States, so there is only the time of the United States. If you want to change it to East 8, you can modify it after the system is installed.

Go back to the installer main menu

9) Detect disks (probe disk)

Automatic detection of disk

Go back to the installer main menu

10) Partition disks (disk partition)

[1] Select the partition method, here we choose Manual (manual)

[2] Select a free space for the comprehensive information of disk partitions and mount points

Partition the entire space. If you want to create a partition table on this space, all existing partitions will be deleted.

[4] Select partition table type, select msdos

[5] Select free space for partition

[6] create a new partition

[7] / the size of boot partition is 200MB

[8] set the / boot partition as the primary partition

[9] whether the partition is built at the head or tail of the available space, select the header (Beginning)

[10] set the mount point to / boot, and then Done setting up the partition (partition setting ends)

[11] Comprehensive information about disk partitions and mount points

[12] create a new partition

[13] / the size of the partition is 10GB

[14] set / partition primary partition

[15] whether the partition is established at the head or tail of the available space, select the header (Beginning)

[16] set the mount point to /, and then Done setting up the partition (partition setting ends)

[17] Comprehensive information about disk partitions and mount points

[18] create a new partition

[19] the size of swap swap partition is 1GB

[20] set the swap swap partition as the primary partition

[21] whether the partition is established at the head or tail of the available space, select the header (Beginning)

[22] set Use as to swap area (swap space) and then Done setting up the partition (partition setting ends)

[23] Comprehensive information about disk partitions and mount points

[24] create a new partition

[25] / the size of home partition is 25GB

[26] set / home partition to logical partition

[27] whether the partition is established at the head or tail of the available space, select the header (Beginning)

[28] set the mount point to / home, and then Done setting up the partition (partition setting ends)

[29] Comprehensive information about disk partitions and mount points

[30] create a new partition

[31] / the size of var partition is 6.7GB

[32] set the mount point to / var, and then Done setting up the partition (partition setting ends)

[33] Comprehensive information of disk partition and mount point. Click Finish partitioning and write changes to disk when the partition is complete (end of partition setting and write changes to disk)

[34] be sure to write partition information to disk

Go back to the installer main menu

11) Install the base System (install basic system)

[1] Select the linux kernel version and select the second. The pae version can solve the 4gb memory limit in 32-bit linux.

[2] the main function of Initrd is to enable the kernel to mount the root file system, which requires all drivers and support programs for this function.

The following two options are a. Generic: contains all available drivers b. Goal: include only the drivers required by this system. Select the first one here.

Go back to the installer main menu

12) Configure the package manager

[1] the installation CD has been scanned, skip this step if there is no software disk, and choose yes if there is a software package CD. Since I only have the installation disk, I choose no to skip this step

[2] supplement the software contained in the CD from the network image, because you don't need so many software packages, so choose no

[3] Debian has two update services for released versions, Security (Security) and updates (Update). Security updates can help the system resist external attacks.

It is strongly recommended to enable the service and choose Continue.

Go back to the installer main menu

13) Select and the install software

Find some useful hardware drivers, select the driver you want to install, and choose Continue

The system will anonymously report the statistics of your most frequently used software packages to the distribution developers. If you choose Yes, please automatically run the automatic report program once a week. If you choose No, you will not participate in the statistics.

Turning on this feature can be a security hazard, so keep it off

The core part of Debian has been installed, now choose to install one or more predefined software sets below, and select 3 options, graphical interface and printing service by default.

Standard system tools, because the default software set has met my needs, so I did not choose other software sets, directly Continue

Go back to the installer main menu

14) Install the GRUB boot loader on hard disk

Install the GRUB bootstrap on the MBR (Master Boot record) and select yes

Go back to the installer main menu

15) Finish the installation

End of system installation

The system clock is generally set to UTC (coordinated Universal time), and the operating system converts time to local time according to the time zone. Yes is selected by default

After the system installation is complete, Continue restarts and enters the system.

Restart and enter the system

Log in to the system through the ordinary user set during installation

After entering the system, Gnome3 may fail to start, there is nothing on the desktop, and the right click is disabled.

Don't worry, find Applications-> System Tools-> Preferences-> Advanced Settings

Set Have file manager handle the desktop-> on

Now the desktop icon and right button can be used normally.

Resolution and system time settin

Find Applications-> System Tools-> Preferences-> System Settings

Select Displays

Set the appropriate resolution and click Apply to save

Select Date and Time

Enter the super admin login password to get super admin privileges. Only super admin privileges can modify system time.

Select the East eighth District (Shanghai), set the current time, and click Lock to save when the configuration is complete.

Thank you for your reading, the above is the content of "Debian7.4 installation and configuration method", after the study of this article, I believe you have a deeper understanding of the Debian7.4 installation and configuration method, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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

Servers

Wechat

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

12
Report