Figure-LAMP
UseApt-getBuildLAMPEnvironment Basics
If you are installing it on the local machine for testing, it is best to ensure that the hosts content is as follows:
Username @ ubuntu :~ $ Cat/etc/hosts
127.0.0.1 localhost
[Edit] install
[Edit] install LAMP
1. Careful manual installation (minimum components)
Sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
Some of them are automatically installed because of dependencies, but
Install graphical APT management tools on Ubuntu 17.10 To create a new software package manager
The new version is the graphical front-end of the Ubuntu package management tool apt. It combines simple graphical operations with the powerful functions of the apt-get command line tool. You can use the new software package to install, delete, configure, and upgrade
By default, UBUNTU stores the software packages installed through apt-get in the cache folder.
We can back up this folder. If you need to reinstall Ubuntu, you can restore the backup back.
In this way, you cannot connect to the network to update a large number of system software packages.
Install the downloaded Ubuntu apt-Get package
/Var/Cache/APT/Archives
Label: Ar file problems C r how to install software in LinuxRun sudo apt-Get install on Ubuntu or other Linux systems.Observe the content output by the command line and find that some installation packages will be downloaded from the Internet. Some people may have problems. Where are the downloaded files? Will the installation process increase, these downloaded installation packages consume hard disk space.First, the downloaded installation package is
Solemnly declare: This article is written by the author based on my personal understanding. errors are inevitable. Please be prepared!
You can reprint, modify, and indicate the source when reprinting!
Cause: In most cases, the cause of the problem is that other programs, such as automatic updates of the system, are using the apt-Get process, so the solution is to close the process.
Solution:
1. PS-Aux identifies the PID of the
Default installation path of APT-get in buntu
After apt-Get is downloaded, what is the path of the software ??
/Var/Cache/APT/Archives
The default path for Ubuntu is
Path =/home/Brightman/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: /usr/games
The apt-Get install installation directory is dete
Prompt when installing xtrabackup with sudo apt-get install percona-xtrabackup on ubuntu14.04[Email protected]:~$sudoApt-getInstallpercona-xtrabackup[sudo] Password forzhj:reading Package Lists ... Donebuilding dependency treereading state information ... Doneyou might want to run'apt-get-f Install'To correct these:the following packages has unmet Dependencies:percona-xtrabackup:depends:libdbd-mysql-PerlBut it isn't going to being insta llede:unmet de
Install qt4 using apt-Get In ubuntu 12.04.Run:$ Sudo apt-Get install libqt4-dev libqt4-debug libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfigThe software packages listed above are required for the QT configuration environment, for example, the qt4-dev-tools contains tools such as QT assistant and QT linguist, so they do not need to be installed separately. Others, qt4-doc is a help docu
Ubuntu10.04 lucid removes the sun-java6-jre, sun-java6-jdk source, so if it is directApt-Get install sun-java6-jdkThe prompt is:
There is no available package sun-java6-jdk now, but it is referenced by other packages.This may mean that the missing software package may have been deprecated,Or it can only be found in other release sourcesE: The software package sun-java6-jdk has no candidates for Installation
Solution:System> Management Tools> Software Source
"Other Software", check the first i
Prompt when updating with APT-Get update
W: GPG error:Http://ftp.debian-unofficial.orgEtch release: The followingSignatures couldn't be verified because the public key is not available:No_pubkey d5642bc86823d007W: You may want to run apt-Get update to correct these problems
The reason for the above problem is that there is no public key,Http://ftp.debian-unofficial.orgThe signature cannot be verified!
Stable version of ubuntu 10.04 has finally been released, but it is only recently time to try the new version of ubuntu.
Run the automatic upgrade command: sudo apt-Get dist-upgrade. After reading the data packet, the following error occurs: "segmentation faultsts... x %". The upgrade cannot continue. This may be a bug in Ubuntu, but the solution is very simple. Delete two files under the/var/Cache/apt d
APT] "social worker" NodeJS application warehouse fishing, large-scale intrusion of developer computers, bulk infiltration of major companies intranetObjectiveThe castle is always breached from within. A powerful system can also be controlled by people. If the invasion directly from the people this link, then the strong defense, also become a device.Here's an example of using the application repository to infiltrate a developer's system.Application Wa
I recently encountered problems when using Ubuntu, and the installation software was not installed. It was basically due to the installation of incompatible software packages. I have sorted out the following methods for reference.The error message is as follows:Root @ abc:/home/ght # apt-get install snmpdReading package lists... DoneBuilding dependency treeReading state information... DoneYou might want to run '
For a habit of using the Ubuntu terminal on the Apt-get to install the tool software, I also hope to find similar tools on the Mac, a very convenient command to install the required software, instead of manually to find the download compile, or toss the installation of some of the dependencies required. It's a surprise to find that there are similar tool package managers on Mac-Homebrew.Homebrew is not a package can be installed, it can only install s
Environment: Ubuntu14.10I encountered the following problem when compiling the U-boot code:LD test/dm/built-inch. o CC Examples/standalone/STUBS.O LD Examples/standalone/LIBSTUBS.O CC Examples/standalone/HELLO_WORLD.O LD Examples/standalone/Hello_world objcopy Examples/standalone/Hello_world.srec objcopy Examples/standalone/hello_world.bin LDS u-boot.lds LD u-Boot objcopy u-boot.srec objcopy u-boot.bin CFG u-boot.cfg./scripts/dtc-version.SH: Line -: Dtc:command not found./scripts/dtc-version.SH:
The RPM and Deb packages are the most common installation package formats under two Linux systems:
RPM Package: RPM package is mainly used in the Redhat series including Fedora and other distributions of Linux systems.
Yum can be used to operate RPM packages, such as the management of a software on a fedora system:Installation: Yum Install Uninstall: Yum Remove Update: Yum update
Deb Package: Mainly used in the Debian series, including the more popular versions of Ubuntu and other distributio
ubuntu 16.04 Installation Redis
Way One: Apt installs
The following commands can be used to install Redi in the Ubuntu system:
$sudo apt-get Update
$sudo apt-get install Redis-server
Start Redis
$ redis-server
See if Redis is started.
$ redis-cli
The above command opens the following terminals:
Redis 127.0.0.1:6379>
127.0.0.1 is native IP and 6379 is the
The difference between apt-getupgarde and dist-upgrade is that Debian/UbuntuLinux both use apt and are upgraded at www.2cto. comapt-getupdateapt-getupgradeapt-getdist-upgrade, but some people often ask, what is the difference between upgrade and dist-upgrade... the difference between apt-get upgarde and dist-upgrade is that a
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.