One, crack root password solution
The first is how to retrieve the root password under CentOS:
We first install a CentOS for testing:
Select the feature software to install
Installation Complete
Beginning
My server defaults to minimal installation, so there is no vncserver. Install one using Yum.
# yum Install Tigervnc-server
Then start up:
# vncserver:1
Try to use the Vncviewer connection under Windows, and find that the same server as the
Believe that playing the server/vps to CentOS must be not unfamiliar, CentOS is a red Hat Linux based on the free use of the source code of the enterprise-level Linux distribution. Because it is free, many Web servers and VPS now often use this
Whim, want to learn python, I heard it is good to do reptiles. Starting with the running environment, Python is already built into the CentOS, but the version seems older and the version is 2.4.3 through the PYTHON-V command. The current version of
Modify Settings Time zone
Methods (1)
Tzselect
After you log in to SSH, execute the tzselect command.We choose Asia 5 here.
Here choose the 9.
Generally selected East eight (Beijing, Guangdong, Shanghai), you can also choose according to their
Clear log of Successful login system
[Root@localhost root]# echo >/var/log/wtmp//This file is open by default garbled, can be traced to IP and other information[Root@localhost root]# last//The user login information is not found at this time
Clear
1. Install iptables Firewall
How do I know if the system has iptables? Perform iptables-v if shown as:
Iptables v1.3.5
The instructions have been installed iptables.If you do not install iptables, you need to install it first, execute:
Yum
Suppose that the NIC that needs to bind multiple IP is eth0, please create a file named ifcfg-eth0:0 in the/etc/sysconfig/network-scripts directory.
Examples of the content are:Device= "eth0:0"Nm_controlled= "Yes"onboot= "Yes"Ipaddr= "112.100.103.16
ReasonWhen I use vagrant for the development environment, the svn version on windows is 1.8.x, and the svn version in the centos7 Virtual Machine managed by vagrant is 1.7.x.In this case, the svn version earlier cannot manage the repository managed
Yezee user ssh to the server, then su to the root user, ready to restart the iptables serviceRun the service command to restart the iptables service:[Root @ www sysconfig] # service iptables restartThe bash: service: command not found error is
Yesterday I got CentOS 6.5 Minimal version. After it was installed on VMware 10, I found that the network could not be connected, and PING the internet could not work.I searched the internet and found that after Linux is installed, the NIC is not
Create a version Library folder# Mkdir-p/data/svn/sinsvnCreate a version Library# Svnadmin create/data/svn/sinsvn# Mkdir-p/data/www/sinsvnImport the project to the version library repository.# Svn import/data/www/sinsvn/file: // data/svn/sinsvn-m
Recently, a shared server in the company experienced a fault. Previously, it was used as a shared server of windows server 2003. Therefore, we wanted to re-build a shared server and use CentOS 6.5 + Samba.1. Install Samba1. Use yum for installation.
Linus Torvalds has upgraded Linux Kernel to Kernel 4.0.2, new Kernel patches and updates of Bluetooth, USB, SCSI, ACPI drivers, improved NFS and EXT4, and improved ARM64 and PowerPC architectures.In addition to the updated drivers and enhanced
Scenario:Recently, the server memory is always very small, prompting you to increase the memory space, but adding the memory requires money, but how can you increase the memory at the same time without spending money. So I thought about the virtual
Riak is a highly scalable distributed data storage written in Erlang. Riak is implemented based on Amazon Dynamo. One of Riak's design goals is high availability. Riak supports multi-node systems. Each read/write request does not require the
Enter the following command to check whether the crontab service is installed.Which crontabIf it is already installed, the path is displayed. If it is not, the installation is very simple. Use yum to install crontab:Yum install vixie-cronYum install
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