The screen is still not adaptive after the virtual machine CentOS is installed, as shown in the following figure
Solutions
According to the online tutorials, change resolution, virtual display, these methods are ineffective, suddenly think of
Crontab can perform the actions you want to do regularly.Edit directly with crontab commandCrontab-u//Set a user's Cron service, which is required by the general root user when executing this commandCRONTAB-L//list details of a user's cron
64-bitVim
The code is as follows
Copy Code
wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gzTAR-ZVXF zendoptimizer-3.3.3-linux-glibc23-x86_64.tar.gzCD
First, download the installation
The code is as follows
Copy Code
[root@localhost src] wget http://cronylab.pl/codes/sshc-0.8.tar.gz[root@localhost src] tar zxvf sshc-0.8.tar.gz[root@localhost src] CD
# Connection Timeout# Default value of 30sConnect_timeout=30
# Network Timeout time# Default value of 30sNetwork_timeout=60
# The base path to store log files store log root directoryBase_path=/rekfan.com/fastdfs_data
# tracker_server can ocur
1. Modify SSH telnet port to 8888# Vi/etc/ssh/sshd_config
Port 8888 #把 #Port 22 modified to port 8888
# servicesshd Restart #重启SSH服务 or service sshd restart2. Firewall Add portThe default iptables only part of the port, use additional ports such
First download the phpMyAdmin:
http://www.phpmyadmin.net/home_page/index.phpChange a convenient name, like PMN.And then upload it to/var/www/html,centos and enter:
Cd/var/www/htmlTar Xvfz pmn.tar.gzInstall and decompress, change folder name to
The "local Yum source" in this article includes three types: one is to use the CentOS disc directly as a local Yum source, the advantage is simple and convenient, the disadvantage is that the CD package may be incomplete (CentOS 7 Everything A total
Build SVN service, effective management code
First step: Install
#yum Install SubversionDetermine if the installation was successful#subversion-VSvnserve, Version 1.6.11 (r934486)The above prompts show that the installation was successful.If
Two dependent packages Ncurses-devel and libevent (2.0.10 version above):
The code is as follows
Copy Code
Yum Install-y ncurses-develwget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gzTar
The result of wget operation on a VPS times out. The information is as follows:• Wget http://blog.is36.com/• -- 09:13:14 -- http://www.111cn.net• Resolving blog.is36.com... failed: Temporary failure in name resolution.• Wget: unable to resolve host
Switch to the wdcp Directory (in fact, it can be any location, and I prefer to put it together)Cd/www/wdlinuxUpgrade to php5.3Wget http://down.wdlinux.cn/in/php_up53.shSh php_up53.shWget http://downinfo.myhostadmin.net/vps/pdo_mysql_ins5.3.shSh
1. Enable and disable IPtables1. Takes effect after restartEnable: chkconfig iptables onClose: chkconfig iptables off or chkconfig-level 35 iptables off2. It takes effect immediately and becomes invalid after restartEnable: service iptables
Here we will put sdb1 under dataMkdir/dataMount/dev/sdb1/dataStop service:Service mysqld stopService pureftpd stopService httpd stopService nginxd stopMobile data:Mv/www/*/data &Ps-aux: the process mv-I is stopped. Continue with the following
MariaDB is a branch of MySQL. It was developed by the father of MySQL. Since its acquisition by Oracle, MySQL has been updated slowly and has a tendency to close the source. Major companies have switched to Mariadb, including Facebook and Google.My
Recently, I set up a Git server for my team. The path is tortuous and I wrote it down for query. The Centos6.4 64-bit version is used for internal servers.Install GitInstall gitFirst install the required git Library:Yum install curl-devel
This evening, I opened the Online server and went to the previously installed DA. I was so upset to see a bunch of Brute force attack alarms. I followed the online tutorial to set iptables. In the future, I can block IP addresses directly. The
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