- Sudo Apt-get Install Android-tools-adb
- Sudo Apt-get Install Google-chrome-stable
- Ubuntu Sudo Apt Get Update
- Sudo Apt-get Install Oracle-java7-installer
I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do? Stack Exchange Network Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their.
I want to install many packages on Windows and I want to write an executable script to install these packages from Windows repo. How can I write Ubuntu-like sudo apt-get install
command?
1 Answer
Chocolatey
Chocolately is a package manager for Windows that works like apt-get. For example, choco install git
. It has a wide variety of programs to choose from including Notepad++, Sublime Text, Chrome, 7zip, and others.
To sweeten the deal, they have a copy-paste command available here that will download and install Chocolatey, easy as pie.
The perfect icing for this chocolatey cake is Cmder. Cmder is a command line emulator that comes packaged with all of those Unix commands that you've come to know and love.
[ Disclaimer : Chocolatey's repository of packages isn't nearly as extensive as apt-get's ]
Not the answer you're looking for? Browse other questions tagged windows or ask your own question.
Magento is one of the most powerful e-commerce platforms available. And if you use Linux in your data centers, you can install the community edition of this powerhouse shopping system with relative ease. Once installed, your customized online store can sell your company products and services.
Data Center Must-Reads
I'm going to walk you through the process of installing Magento on Ubuntu Server 18.04. The only thing you need is your Ubuntu Server platform installed and a user with sudo privileges. With those two things in hand, let's install.
SEE: Quick glossary: Storage (Tech Pro Research)
Update/upgrade
First, update and upgrade your server. Do note that, should the kernel be updated in the process, a restart of the server will be required. Because of this, run the update/upgrade process during a time when an update is possible.
To run the update/upgrade process, log into your Ubuntu server and issue the following command:
Should your kernel be upgraded, reboot the server and get ready to install.
Apache
The first thing to do is install Apache. Log back into your server and issue the following command:
Once that completes, start and enable the web server with the commands:
MariaDB
The next step is to install the database. We'll use MariaDB. Install the database with the command:
Once that completes, start and enable the database server with the commands:
Secure the database installation with the command:
Answer the necessary questions, making sure to create a password for the admin user.
With MariaDB installed, let's create the database, the user, and give the user the necessary permissions. Gain access to the database shell with the command:
Issue the following commands at the prompt:
Where password is a unique/strong password.
PHP
Magento requires either PHP 7.0 or 7.1. We'll install 7.1. To do this, we must first install a dependency and the necessary repository with the commands:
Update apt and install PHP with the commands:
Download Magento
Now we need to download the Magento Community Edition. A word of warning, you need to sign up for a Magento account before you can do this. Head over to the Magento CE download page, select your version (.tar, .bz2, or .zip), click Download, and then (when prompted) either sign up or sign in. I'm going to assume you've downloaded the .zip version of the file.
Once you've downloaded the file, do the following:
Give the newly created folder the proper permissions with the commands:
Configure Apache
Create a new configuration file with the command:
In that file, paste the following content:
Save and close the file.
Finally, enable the Magento site and the rewrite module with the commands:
Restart Apache with the command:
Sudo Apt-get Install Android-tools-adb
Finish installation
You can now point your browser to http://SERVER_IP/magento. Click the Agree and Setup Magento button, and then walk through the installation wizard (Figure A).
Figure A
At the Web Configuration stage of the installation, you will get a Magento Address that will be in the form of http://SERVER_ADDRESS/magento/admin_STRING (Where SERVER_ADDRESS is either the IP or the domain of your server and STRING is a random string of characters). Make sure to note (or bookmark) that address, as you'll need it. On the last stage, click Install and step away from the machine (as installation can take some time).
Once the installation completes, you can then log into the Magento Admin Address and start putting the pieces of your store into place. Congratulations, you now have a powerful and flexible e-commerce solution in your data center.
Data Center Trends Newsletter
DevOps, virtualization, the hybrid cloud, storage, and operational efficiency are just some of the data center topics we'll highlight. Delivered Mondays and Wednesdays
Sudo Apt-get Install Google-chrome-stable
Sign up today Sign up todayUbuntu Sudo Apt Get Update
Also see
Sudo Apt-get Install Oracle-java7-installer
- How to scan for IP addresses on your network with Linux (TechRepublic)
- How to install Elasticsearch on Ubuntu Server 18.04 (TechRepublic)
- How to install a TIG stack on Ubuntu 18.04 (TechRepublic)
- Magecart group leverages zero-days in 20 Magento extensions (ZDNet)
- The data center is dead: Here's what comes next (ZDNet)
- Best cloud services for small businesses (CNET)
- Executive's guide to the software defined data center (TechRepublic download)