Debian installation record of minipc in my house, minipcdebian

Source: Internet
Author: User
Tags ssh server

Debian installation record of minipc in my house, minipcdebian

I wrote it as a process record at will. Half of it was written due to testing reasons, and the software configuration on minipc was messed up by my friends and I simply reinstalled it. However, I still encountered many problems during the reinstallation, write a detailed description to make it easier for others. In the process of solving the problem, I am very grateful to all the documents left by my predecessors, which has made me less detours. If someone will find this article and it will help you later, pleaseMessageLet me know.

First, describe the home network topology

Advancejar Home Network Topology
Broadband is the LAN of M Telecom in a city in Zhejiang Province (when will I receive FTTH ~~), The network can be used only when pppoe dial-up is required. Some of them use a wireless router with the dial-up function to access the Internet, while some use their own dial-up to access the Internet. Because minipc is difficult to connect to a wireless route, it needs to be obtained through their own pppoe dialPublic ipInternet access.

1. Prepare for system installation 1.1:

Download the linux image file from bt and burn it to USB disk. We recommend that you use ultraiso to burn it. The deepin burning tool may also work.
Ultraiso

Http://www.400gb.com/file/85154970

Deepin's burning tool (Once Burned another linux, this iso has not been tested and is for reference only)

Http://www.400gb.com/file/83363444

1.2 Installation Steps

Advanced options-> Expert install-> select the ppp-modules-3.2.0-4-486-di and ppp-udeb: Point-to-Point Protocol (PPP) package for Debian installer when Load Installer components from CD
Then there will be several lines added to the menu. When Detect network hardware is used, there will be a lack of firmware, because these firmware are non-free, so we need to collect them through the network, you can download it from my online storage (see the above), and the system will detect it by inserting it to the host via usb.

Select an ssh server
When installing the system
Select and install software, select the ssh server and the final "Standard system Tool (standar system utilty ?)" All are selected. It doesn't matter if you haven't selected it. You have installed apt-get install openssh-server (not installed yet, is it written like this ?)
Select the one you like when selecting kernel. I installed 32-bit pae to use 4G memory, but it will lose some performance.

2. installation and configuration of peanut shells

Peanut shells are good things. The principle of free applications should be very simple.
Http://hsk.oray.com/download/#type=linux

Installation help here: http://service.oray.com/question/1890.html

/Etc/rc. local:

/Usr/bin/phddns-c/etc/phlinux. conf-d
Exit 0

At the beginning, I forgot-d and deleted exit 0, which took a lot of time.

3. transmission Installation

Apt-get install transmission-daemon
/Etc/init. d/transmission-daemon stop
/Etc/transmission-daemon/settings. json

Transmission Configuration

The rpc-password. If you delete all the strings for your plaintext, it will be automatically encrypted.
Rpc-port
Rpc-username your username
"Rpc-whitelist-enabled": false [this parameter is temporarily disabled because it is a character interface that is easy to access from other machines. We recommend that you enable this function after configuration is complete.]
/Etc/init. d/transmission-daemon reload
/Etc/init. d/transmission-daemon restart
/Etc/init. d/transmission-daemon start

You can also modify some parameters on the webpage. For more information, see
Http://shumeipai.nxez.com/2013/09/08/raspberry-pi-bt-download-servers.html

Set the directory permission, or you cannot download it.

4. LNMP Installation

Http://lnmp.org/install.html

Modify parameters after installation

Http://www.cmhello.com/help-php-fpm-cpu-100.html

It is best to restart several times. I have encountered the problem that mysqld cannot be started.
Delete/etc/mysql/my. cnf and let mysql select/etc/my. cnf.

5. phpMyAdmin Installation

After configuring the vhost, you can use lnmp. You can also access it locally, but there arePossible Others cannot accessBecause the carrier disables your port 80 by default.
Modify the port in the corresponding configuration file in/usr/local/nginx/conf/vhost.

6. Python installation and configuration

Python 2.7 installed by default
Install mysqldb and beautifulsoup
Apt-get install python-mysqldb
Apt-get install python-bs4 This is 4, I first installed wrong
Apt-get install python-beautifulsoup, which is used for debugging in my program and should be installed

7. install and configure minecraft

# Apt-get install default-jdk
# Java-Xmx1024M-Xms1024M-jar craftbukkit-1.7.10-R0.1-20140808.005431-8.jar nogui
For details, refer to another detailed article on minecraft server [How to enable MineCraft (MC) server On Debian Linux] (
Http://blog.csdn.net/advancejar/article/details/43640583)

Http://blog.csdn.net/advancejar/article/details/43640583

8. Deployment of your own programs

After placing programs in my directory, crontab regularly runs those programs and then checks the running status of cron.
/Etc/init. d/cron status
** It is best to remove the command from crontab-l and run it once. What if it is wrong?

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.