Linux for beginners - (contains 4 courses).
Please share with your friends also. Hmm 👬
Note: Some coupons may have expired. 🙏
Start Today and Become an Expert in Days. Join free courses for learners, Millions of Learners From Around the World Already Learning Online. Here free courses available with certificates.
Linux for beginners - (contains 4 courses).
Please share with your friends also. Hmm 👬
Note: Some coupons may have expired. 🙏
Step 1.
First download wordpress .tar.gz file from the worpress official site. Link
Step 2.
To install wordpress, run the following command in your terminal.
sudo apt upate
sudo apt install wordpress php libapache2-mod-php mysql-server php-mysql
If you have not installed MYSQL before, you will be asked for password for "root" MySQL user. You can leave this field empty.
Step 3.
Configre Apache for Wordpress. Create Apache site for wordpress. Create /etc/apache2/sites-available/wordpress.conf with following lines:
Alias /blog /usr/share/wordpress
<Directory /usr/share/wordpress>
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/wordpress/wp-content>
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Then, enable this site with sudo a2ensite wordpress, enable URL rewriting with sudo a2enmod rewrite and reload apache2 with sudo service apache2 reload.
Step 4.
In step 4 we are going to configure database.
To configure wordpress, we need to create MYSQL database. run the command in your terminal.
$ sudo mysql -u root
"Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> CREATE DATABASE wordpress;
Query OK, 1 row affected (0,00 sec)
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER
-> ON wordpress.*
-> TO wordpress@localhost
-> IDENTIFIED BY '<your-password>';
Query OK, 1 row affected (0,00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 1 row affected (0,00 sec)
mysql> quit
Bye"
Now, let's configure wordpress to use this database.
Open /etc/worpress/config-localhost.php and write:
"
<?php
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', '<your-password>');
define('DB_HOST', 'localhost');
define('DB_COLLATE', 'utf8_general_ci');
define('WP_CONTENT_DIR', '/usr/share/wordpress/wp-content');
?>"
Now Start MySql with sudo service mysql start.
Step 5.
Open localhost/blog in your faverite browser. You will be asked for Site Name
or Title,username, password and email address. You can choose if you want to
make your site indexed by search engines.
Now you can login under localhost/blogname/wp-login.php.
Once you login you will see bunch of icons and options.
Don't worry, it's very easy!
First of all I am going to open up a terminal and then in here I'm going to update my package manager using "sudo apt-get update" command.
And the second step now I'll run "sudo apt-get install OBS studio" and press enter.
Once the installation process is complete you can hit the home screen again in search for OBS studio and you should see the application is installed That's it Humm.
Genymotion is an android virtual emulator which comes with per-configured android x86 with OpenGL hardware acceleration image, suitable for app testing.
If you want to run any mobile apps such as Facebook in your android emulator. Genymotion is one of the best android emulator compared to others because genymeiton have more features then other emulators.
1. Custom devices
2. Command line tool
3. Java API
4. Customizable IMEI, MEID, Android ID
5. OpenGL acceleration
Make Sure, Your system have virtualbox installed before proceeding to genymotion installation because virtualbox is mandatory to run genymotion.
There is no direct download link for genymotion. First You need to signup into genymotion then download the file for Ubuntu.
We know that the third party application or software should go to /opt dirtectory. So first of all we will move the download file from /home/user/download to /opt directory then start the installation by using the following commands.
[Move the downloaded file to /opt directory] # mv genymotion-2.3.1_x64.bin /opt [Set executable permission] # chmod +x genymotion-2.3.1_x64.bin [Install genymotion by running the file] # ./genymotion-2.3.1_x64.bin [Navigate into genymotion directory] # cd genymotion [launch the genymotion] # ./genymotion
Use the following command to compress an entire directory or a single file on linux it will also compress every other directory inside a directory you specify in other words, it works recursively.
Step 1
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Step 2
Let's say you have a directory named "mydir" in the current directory and you want to save it to a file named archive.tar.gz. You would run the following command.
tar -czvf archive.tar.gz stuff
Step 3
Or, let's say there's a directory at "/usr/local/something" on the current system and you want to compress it to a file named archive.tar.gz. You'd run the following command.
tar -czvf archive.tar.gz /usr/local/something
That's it. hmm.
SEO 2021 - Learn White Hat SEO to Make Your Site Rank Higher. Description: Find out information on how to rank better on Google in 2021...