Ubuntu How To Tutorials

All Ubuntu Tutorials

In this tutorial we walk through setting up two users with sudo access. The first example we will just add a single user. In the second example we will create a group, configure the group sudo permissions and then add the user to the group. The second method allows us to scale quickly for new users that will need sudo access.

In this tutorial we will cover how to add a new user on ubuntu with the command line. The following commands will work on a desktop system as well as a server. The commands can also be applied on most other Linux distributions as well.

There are many different methods of getting support in todays technical world. Some methods work better for others. I have put together a list of some of the common methods. If you are not fimiliar with what some of these are, please take a look at the bottom of the page for definitions.

When a lot of people come from windows to Linux they often are searching for the My Computer icon or the trash Icon on the desktop. With Ubuntu and many other distributions this is not enabled out of the box. With just a couple quick steps in gconf editor you will be on your way.

You can shutdown or restart your desktop or server with a simple command in bash. It could come in very handy if you ssh into your server or desktop. In this example I a doing it in on Arch Linux with a sudo user. The same commands can be applied in just about any linux distribution such as Ubuntu. You often have to issue the commands as the root user or with sudo in front of the command. (Example: sudo shutdown -r now)

Open up a terminal window

To restart your computer right away type in sudo shutdown -r now

 

The Following Steps can be applied to any Linux Desktop with Bash. This includes Gnome 2, Gnome 3, XFCE, KDE and Unity. This example I am using Ubuntu with the Unity desktop enviorment. If you need help on how to launch a terminal please visit the following links for your desktop.

When power windows users come over to Linux they are often looking for a command similar to ipconfig /all on Linux. Unfortantly I am not aware of a complete replacement one comamnad to occomplish this. You can use the ifconfig command to view your IP address or cat /etc/resulve to view DNS names.

I originally wrote an article on how to map a network drive using Ubuntu. Since then things have really changed in the Linux desktop world. Gnome 3 has been released and Ubuntu has moved away from Gnome and switched to Unity as their primary desktop environment.

The real power of Linux happens at the command line. As time goes on users use the terminal less and less due to the the enhancements on the graphical front ends. There are still many times having some skills with bash commands are very useful.  In this tutorials we will just cover how to launch a terminal in Gnome 2

What is a MAC Address?


 

You can think of a MAC address as a serial number for your network card. It is a unique six two-digits hexadecimal numbers separated by colons. It is used for routing traffic on a network.

 

Note: Changing your default ssh port does not guarantee that you won't get hacked. How ever changing the default really helps cut down on the attempts. Please make sure you have other secure practices in place such as strong passwords.

 

 

With the new desktop enviorment (Unity) in Ubuntu, you now need to take a few extra steps to open a terminal compared to Gnome 2 in the past.

 

Click on the Ubuntu Icon located in the upper left corner.

 

 

In today’s tough economy, companies are always looking for ways to cut cost. One of the first things that gets cut are valuable employees. In the mean time many companies and governments are spending insane amounts of money in maintenance and upgrades of software. Then when the next update comes out they spend that money all over again.

When I redesigned a site that was running on Joomla I had an issue with trying to get my old URLs to point at the new URL. I didn't want the site to lose ranking in the search engine or have any broken links to this site.

Often when you setup multiple websites on a single web server it can be difficult to figure out what database your Joomla site is using. Some times admins get lazy and create poor names or a hosting provider may just give you a random generated database name. In this tutorial we will look at four different methods on how to find the database name of your Joomla site.

If you are looking for information on what is the mysql database username and password are set to, use the "Find Your Joomla Database Name and Login Information with SSH:" steps below.

(Note: Joomla 1.7 was used in the following examples. The same steps should apply to other versions as well.)

 

 

Google Chrome Browser can be installed on just about any Operating System such as Linux, Mac or Windows.  It has a lot of great features built in out of the box. These are just a few of my favorite that most people don't know about.

   

Overview:


 

"Ubuntu" is an ancient African word, meaning "humanity to others".

Ubuntu is a Linux operating system originally based on the Debian GNU/Linux distribution and distributed as free and open source software.

Some newer Linux users may not be aware that many Linux distributions use workspaces. It can be a bit frustrating if you accidentally bump something and switch to another workspace. So instead of trying to avoid them, lets look at some fancy ways you can switch between them.

Workspaces can be a real nice feature and helps keep you organized while you work. In this article I am using Ubuntu and using the default keyboard shortcuts. The 3D desktop cube will require you to install Advanced Desktop Effects Settings (CCSM) – CompizConfig Settings Manager, and enable the 3D cube. This can be installed using Ubuntu Software Center.

In this example I am switching between workspaces using the keyboard shortcut Windows Key + E

 

 

Depending on your network, your IP address, subnet, gateway ..etc setting will or could be different. Most home networks use a class C network with one subnet, so these settings could be applied in that case. Check your current IP address to get an idea what to use.

Lets get into it.

Ubuntu Server 10.04 (LTS) is an amazing server. The apt-get package manager makes things very easy to install and offers a large repository of open source software.

In this tutorial we will install Drupal 7 on Ubuntu Server. If you would like steps on how to setup Ubuntu server visit one of the following URLs:

By default ubuntu has an unknown password set. It is very rare that you would ever need to login as root but if you do you will need to have a password set. To set the password for root it is as simple as typing in a command in a terminal / command line.

 

By default ubuntu (9.10 and 10.04) Ubuntu does not come with the needed codecs to play dvds for legal reasons. It will only take you a few minutes to make the needed and change. First you will need to open a terminal window and issue the following commands

Click on Applications > Accessories > Terminal

 

In this tutorial we will cover how to start, stop and restart your Apache web server and MySQL db on Ubuntu. Since most Linux servers do not have a graphical user interface installed we will do the steps in a terminal.

In this example I am running Ubuntu 7.10 but this should work the same way in more updated releases such as Ubuntu Lucid 10.04 or Ubuntu 11.04 (Unity). The Terminal Server application is installed by default, so this makes things very simple.

 

 

In this tutorial we will install Ubuntu Server 11.04 and set it up as web server.In later articles we will use this Ubuntu server to setup websites using wordpress, joomla, drupal and a handful others.

PhpMyAdmin is a web interface to your MySQL databases. It makes managing, creating and configuring your MySQL database a breeze. It is a very common tool and is often installed by default by many web host. In this article we will cover on how to install phpMyAdmin on Ubuntu Server 10.04 (LTS). You will need to already have the LAMP stack installed for these steps to work and have your MySQL root password handy. If you need help on how to install LAMP (Linux, Apache, MySQL, and PHP) please visit the following article:

http://mixeduperic.com/ubuntu/how-to-install-lamp-on-ubuntu-linux-apache-mysql-and-php-in-one-command.html

For security reasons I recommend restricting access to phpmyadmin from a specific internal IP address.

sudo apt-get install phpmyadmin

 

Note: The following steps will work for installing open SSH server on a desktop computer as well as Ubuntu server. This can also be done in Debian and Linux Mint.

 

VirtualBox can be a handy tool when playing with configurations and testing things out. You can create a base image, make several copies and start playing around and messing things up. Since you made copies you can always go back to your original and start from ground zero.

Lamp stands for Linux, Apache, MySQL and PHP. These tools are very common for running many websites such as WordPress, Drupal, Joomla, Collabtive...etc. In Ubuntu we can easily install Apache2, MySQL and PHP with one simple command. In later articles we will later setup some of these open source web applications and use the complete LAMP server. If you are interested in following some of theses tutorials please subscribe to the RSS feed.

Since by default the Ubuntu server does not have a GUI we will install LAMP with the command line. If you do have a GUI installed, you can open a terminal and issue the following commands. This goes for your desktop as well. Lets get started.

sudo apt-get install lamp-server^

 

In Ubuntu you can install all your updates through the command line. You will often have to do this if you are running Ubuntu server without a GUI. Lets take a look at some of the commands to help keep you secure and up to date with all the open-source goodness.

I had to use a Macbook Pro for a while at work while and got hooked on the two finger scroll. Since I am a Linux junky and needed to find a method to enable this in for my Ubuntu latop. In the past I was able to go this by clicking a button under mouse settings. For some reason this was greyed out with Ubuntu 10.04.

Pages

Please Help - Congress needs to hear from you, or this bill pass

 

PROTECT IP / SOPA Breaks The Internet from Fight for the Future on Vimeo.

 

PROTECT IP / SOPA Breaks the Internet

 

  fightforthefuture.org/pipa