How can I improve the php + linux technology at home?

Source: Internet
Author: User
Tags website server
I have been developing php for two years, but I am not very familiar with linux and servers. I want to improve my technical experience. I have configured a linux server on my old computer, but I just read some instructions, and I still feel that it is very virtual and there is no purpose. I don't know what to do when I learn it... I have been developing php for two years, but I am not very familiar with linux and servers. I want to improve my technical experience.

I have configured a linux server on my old computer, but I just read some instructions, and I still feel that it is very virtual and there is no purpose. I don't know what I want to learn;

So it's like asking you to see if you have shared this experience with me, or you can help me to propose a proposition or demand for me to practice !!

Reply content:

I have been developing php for two years, but I am not very familiar with linux and servers. I want to improve my technical experience.

I have configured a linux server on my old computer, but I just read some instructions, and I still feel that it is very virtual and there is no purpose. I don't know what I want to learn;

So it's like asking you to see if you have shared this experience with me, or you can help me to propose a proposition or demand for me to practice !!

Change a computer in use to Linux

Set up a website server and perform a Good Job of apache, CGI, database, redis, reverse proxy, etc. Try to optimize the link between the website request and the server return, the optimization process and results are fed back with data.

A foreign domain name provider buys a Domain Name and uses the Linux server you configured to create a website (personal blog is the simplest if there is no subject ),
Apache and Nginx configuration ..
Ssh, user, iptables, security configuration, ssl, cron, shell (Subject: yesterday saw an interesting script written by NB great god, https://github.com/NARKOZ/hacker-scripts )...
The problem encountered during the whole website creation process is the best learning.

Suggestions,

  • First, learn how to install CentOS 6.5 and be familiar with shell commands;

  • Then, I learned how to compile Apache + PHP + MySQL, or Nginx + PHP + MySQL. In this tutorial, I am familiar with the directory structure, compilation process, shell, and so on in Linux;

  • Sort out the above successful experiences and consolidate them;

  • Learn how to configure Apache vhost (configure multiple sites) and ssl;

  • Try to configure your project in your environment (personal in the company );

  • Self-improvement...

Install Ubuntu on your computer, and use Ubuntu Server for VPS. then I learned to build a LAMP service by apt and compiling, including common services such as Nginx, Apache, PHP, Memcached, Redis, and MySQL.
For example, Ubuntu uses apt to install LAMP:

Sudo apt-get install apache2 php5 php5-mysqlnd mysql-serversudo service apache2 {status | start | stop | restart | reload} sudo service mysql {status | start | stop | restart | reload} Apache website root directory/var/wwwApache main directory/etc/apache2Apache main configuration file/etc/apache2/apache2.confApache log/var/log/apache2PHP main directory/etc/php5PHP configuration file/etc/php5/apache2 /php. iniPHP module location/usr/lib/php5MySQL configuration file/etc/mysql/my. cnfMySQL database file/var/lib/mysql run mysql_secure_installation to set the mysql Root User Password

For example, Nginx/Apache/PHP compilation and packaging on Ubuntu.

Also, you can learn basic Linux O & M, such as iptables/ufw firewall, openssh key/Password Logon, top system resource analysis, user and directory permission configuration, and so on.

Download a virtualbox and install CENTOS6 on your own. If you do not find it, you can search for it.

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.