Ubuntu Environment Configuration

Source: Internet
Author: User

1. Download the updated Vim editor in a networked state

Just installed Vim, perhaps the interface is not very friendly, which requires us to change the vim configuration file, according to our needs to modify it.
Under command line, enter the command: sudo vim/etc/vim/vimrc
You must add sudo, otherwise you are not authorized to edit VIMRC.

Please enter them in the last line of your vim to make your vim more beautiful and comfortable.
Set Nu//on the left line number
Set TabStop//tab length to 4
Set nobackup//Overwrite files without backup
Set Cursorline//Highlight when forward
Set ruler//display status line at cursor position in lower right corner
Set autoindent//Auto Indent

After saving, the configuration is complete.
Apt-get Update

2, check whether SSH is started, there is an sshd description has been started
sudo ps-e |grep ssh

3. Start the SSH service

sudo service ssh start

If there is no dependency on the package description version mismatch needs to be configured

sudo apt-get install openssh-client=1:6.6p1-2ubuntu2.8

According to personal circumstances,

4, install Ssh-server:

sudo apt-get update
sudo apt-get install openssh-server openssh-client
Start Ssh-server
Sudo/etc/init.d/ssh start~


sudo/etc/init.d/networking restart

5, install FTP, SSH and other common services to achieve file sharing

# Apt-get Install VSFTPD

# Apt-get Install Openssh-server

6, disable AppArmor

AppArmor is a security extension (similar to selinux) that should provide extended security. In my opinion, you don't need it to configure a secure system, it usually leads to more problems than the pros (think about what you did after one weeks of troubleshooting, because some services are expected to not work properly, and then you find everything is OK, just the AppArmor configuration is causing the problem). Therefore, I disable it (this is necessary if you want to install ispconfig later).
We can disable it like this:

Service AppArmor Stop
Update-rc.d-f AppArmor Remove
Apt-get Remove AppArmor apparmor-utils

7, graphical interface download plugin

Make Menuconfig
sudo apt-get install Ncurses-dev
Or
As you can see, the error caused by ncurses is not found. Then try to install ncurses
$sudo Apt-get Install ncurses
Tip Information:
Reading Package List ... Complete
Analyzing Dependency tree for Package
Read status information ... Complete
There is no package ncurses available now, but it is referenced by other packages.
This may mean that the missing package may have been discarded,
Or can only be found in other publishing sources
E: Package ncurses not yet available for installation candidate
Try again according to "compiling the kernel-errors in Make Menuconfig arch=um":
$sudo Apt-get Install libncurses*
Select Y to continue execution, and when done, execute $sudo make menuconfig,ok!!!

8. View firewall Status

sudo UFW status
If you need to disconnect and then start the connection later, you can use the following command successively:

sudo systemctl stop Networkmanager.service

sudo systemctl start Networkmanager.service

9,

The next update before the operation of the forgotten, most of the web has pictures of everyone look

Ubuntu Environment Configuration

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.