On Ubuntu, we also have one by default, known as Terminal. But this console is well known to be the most uncomfortable. On Windows, you have one by default: cmd. Move the composer.phar file: sudo mv composer.phar /usr/local/bin/composer 6 - ZSH & OH-MY-ZSH Configure php.ini sudo gedit /etc/php/7.0/apache2/php.iniĮnable extension=mysql.so and other needed extensions Configure nf sudo nano /etc/apache2/nfĪdd this to the end: /etc/phpmyadmin/nf TEST sudo dpkg -l phpmyadmin Just follow instructions and set a password. Show databases 4 - PHPMYADMIN sudo apt-get install phpmyadmin Sudo apt install mariadb-client-core-10.1 Test mysql -u root -p MYSQL sudo apt install mysql-client-core-5.7 This the reason I created the test file at that place. Usually on Windows, when you install wamp, your webroot is located in a folder like C:/wamp/When you open that folder you will see the Apache test file named index.html. Visit Note something very important here. CHECK installed packages sudo dpkg -l php7.* Test sudo gedit /var/www/html/test.php Sudo apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgiĭo the same for PHP 7.1. Sudo apt-get install -y php7.0 Install PHP 7 modules sudo apt-cache search php7-* Sudo dpkg -l apache2 PHP sudo apt-get install python-software-properties But in Linux there nothing like that, you have to install those tools one by one starting from Apache. In most cases, on Windows, we use to go for a software like Xamp, WampServer, or EasyPhp. On Windows, you use to install WAMP(Windows Apache MySql and PHP). Sudo apt -fix-broken install 4- Install LAMP Open terminal in the edownload folder, and run: sudo dpkg -i b Sudo apt update & sudo apt install sublime-text Atomĭownload b from official website I use Sublime Text 3 and Atom, and here is how I got them installed: Sublime Text wget -qO - | sudo apt-key add -Įcho "deb apt/stable/" | sudo tee /etc/apt//sublime-text.list Sudo dpkg -i google-chrome-stable_current_b 2 - Install an IDE Open terminal in that download folder then run these commands: sudo dpkg -i google-chrome-stable_current_b While there are many ways of doing that, this worked for me.ĭownload chrome. There are a lot of challenges with the 32-bit version of Ubuntu. So no worries about that one.Ī note: Make sure you install the 64 bit if you really need Google Chrome. By the way, Ubuntu comes with Mozilla already installed. Once you have Ubuntu installed it's time to get some of our tools set, starting from Google Chrome(the leading browser). Or if you have two machines, let one have Windows and the other Ubuntu. Those ways you can easily switch back to Windows if you need to go back to some of your old habits. This simply means you install Windows and Ubuntu on the same PC. One good thing I would advise most of you who have never used Linux OSes is to make a dual boot with windows. Grap a copy of the ISO file and make your installation. Just after the installation I can go ahead and do a lot. I don't think I am good enough for other distributions. Honestly, I am new in this environment and I am taking it easy. So whatever version you choose will do for now.Īnd you might be asking why Ubuntu not, Suse, Debian, RedHat, Kaly, or Arch. I think I started using Ubuntu since version 8 when I received their free CD(an impressive attitude). Recently as I was installing my new machine, I thought I could document my procedure and all my researches that help me to get the machine up and running. But It's not done the same way or places. One of my biggest challenges when it comes to moving from Windows to Linux is to replicate my workstation and workflows from Windows on Linux.Įverything you do on Windows can be done on Linux as well, even more. It takes time and consistency to get your hands on a few things. It's not easy for a Native Windows User to migrate to Linux in one day. It's been a while now since I have become a bit fan of the Linux OS. Welcome to this little guide on how to get your workstation set on Ubuntu as a web developer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |