Install Ubuntu server and some programs

Source: Internet
Author: User
Tags rsync gparted

1. Install Ubuntu Server

After following the process, all the pictures are normal, that is, after the restart, there is only one flashing cursor on the interface. I don't know whether to install it again or find the old man to solve it. I thought about it, in the past, the computer was reinstalled due to an error. Now this situation may also be caused by the same error, so contact the boss directly.

I was confused when I asked Simon to handle the problem. I inserted a USB flash drive and restarted it again. As a result, I started the system magically and entered the command line mode.

I suddenly realized that grub was installed on a USB flash drive.

It took more than one hour to port grub to Ubuntu partition.

It took so long because of many problems, such

The disks output by DF-L and sudo fdisk-L are incorrect.

/Dev/mappers/... Root

Run the grub-install/dev/... command.

Finally, gparted is used to display/dev/SDA (in fact, sda1, sda2, sda5)

I tried it many times and eventually thought SDA was more reliable and restarted.

It took a long time to update grub.

 

Summary:

To use gparted to locate the Ubuntu installation location, it must be in the form of/dev/SDA, and the following numbers are not

Grub-install/dev/SDA

Grub update

Restart, and then OK

 

2. Installation Interface

You can directly install the interface through sudo apt-Get install. There are many options on the interface, and the ultimate gnome simplified version is selected.

3. Modify the hostname

At the beginning, it was easy to think about and set the hostname of the machine to ride.

You can log on to the IP address remotely through putty, but the hostname logon fails. After Ping, I found that the hostname can also be pinged. I thought it might be the same as the hostname.

Modify the hostname. This time the name is more complicated.

/Etc/hostname

/Etc/hosts

Http://ubuntuhandbook.org/index.php/2014/04/change-hostname-ubuntu1404/

As a result, the hostname cannot be pinged, and you cannot Log On Through putty.

I thought it was a DNS entries problem. I thought it would be okay to wait for a segment event, but I haven't waited for a long time --

In the end, there is no OK

Use NSLookup to view the machine name corresponding to the IP address and find that the name does not have a DNS resolution error.

 

3. Failed to ping because of modifying the hostname

4. VNC Server: Remote Control Server Side

5. rsync server

Configuration File:/etc/rsyncd. conf test: the location of rsync-r dir1/dir2dir1 is in/home/ride/ondelete/dir1. Only a simple test is performed on the local machine. Two Ubuntu systems have one client, one server is not tested

6. Samba Server

Access the Ubuntu folder under Windows 7.

A better connection

Http://imcn.me/html/y2012/10717.html is a little complicated and has some errors, such as not installing gkzu

The http://ubuntuhandbook.org/index.php/2014/05/ubuntu1404-file-sharing-samba/ spoke very well. He saw two blogs in a day.

Notes

In ubuntu 14.04, directly installing Samba is not found in search, which can be verified in the Software Center. Some comments specifically address this issue.

In general, there is no need to create another user, just use the existing user, which simplifies a lot

For user groups, the user group for Windows 7 is admin, and for Linux, the names of workground groups are different, but the same can be accessed.

Connect to the shared folder, open the network neighbor \ 11.11.11.11 automatic connection, enter the user name and password

Samba has a graphical interface. After a graphical interface is used, the configuration is quite simple.

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.