background preloader

Linux

Facebook Twitter

3 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id. How to turn your Ubuntu 14.10 headless server into a XFCE + VNC Network Desktop. This tutorial describes the installation of Gnome 3, XFCE and VNC on a headless server (server without monitor) to turn it into a Linux Desktop that you can access from anywhere over the internet with VNC. The server that is used for this setup is a root server in a datacenter that runs just a minimal Ubuntu 14.10 operating system. I will guide you trough the installation and configuration of the following software: Ubuntu 14.10 Gnome 3.14 VNC 4.1.1 Important Notes: This procedure is only applicable to a new installed Ubuntu Linux OS, if you have existing running Ubuntu Linux with a different version where you like to install a desktop and vnc, i suggest you make a backup of your system and after that, you may proceed with this procedure.

All commands below assume that you are logged in as root user, so please run "sudo -" to become root if you are logged in as a different user. 1. First we install some prerequisites for installing Ubuntu PPA repositories: Then, Press [ENTER] to proceed 2. GNU/Linux (en) Ubuntu Mini Remix - The tiny Ubuntu you can build on! Boot-repair-disk. Filesystem - What is the equivalent to the Windows "Program Files" folder? (Where do things go when I install them?) HOW TO FIX ""The requested URL /phpMyAdmin was not found on this server."" Thanks for the help. worked great. I have to say that what I have to do first was to edit the file /etc/phpmyadmin/apache.config in the bottom part of the doc there is this: # Authorize for setup <Directory /usr/share/phpmyadmin/setup> <IfModule mod_authn_file.c> AuthType Basic AuthName "phpMyAdmin Setup" AuthUserFile /etc/phpmyadmin/htpasswd.setup </IfModule> Require valid-user </Directory> # Disallow web access to directories that don't need it <Directory /usr/share/phpmyadmin/libraries> Order Deny,Allow Require valid-user--------------------here there was as Deny from All--------------- </Directory> <Directory /usr/share/phpmyadmin/setup/lib> Order Deny,Allow Require valid-user--------------------same as above-------------------------------- </Directory> with this change when I access the localhost/phpmyadmin it prompts a username password field that was setup at the phpadmin install process. thanks again!!!

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu. This tutorial applies to Ubuntu 12.04 - Are you running a more up-to-date version of Ubuntu? Go to Ubuntu 14.04 Go to Ubuntu 16.04 Status: Deprecated This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu: Reason:Ubuntu 12.04 reached end of life (EOL) on April 28, 2017 and no longer receives security patches or updates.

About LAMP LAMP stack is a group of open source software used to get web servers up and running. Set Up The steps in this tutorial require the user to have root privileges on your VPS. Step 1: Install Apache Apache is a free open source software which runs over 50% of the world’s web servers. To install apache, open terminal and type in these commands: sudo apt-get update sudo apt-get install apache2 That’s it. How to Find your Server’s IP address You can run the following command to reveal your server’s IP address. Type it in. Virtualbox - Unable to mount the CD/DVD image on the machine Sandbox. Rsync. Ubuntu installation guide. This tutorial is fully relevant for the latest editions of Ubuntu! Ubuntu 9.10 Karmic Koala is going to be released soon.

This is a great opportunity to refresh the stock of Linux installation guides available on my site and offer a new, up to date installation guide for the most popular Linux distribution today - Ubuntu. In this tutorial, I will show you how to install Ubuntu. While the procedure is a fairly simple deal, it may not be trivial to new users or recent Windows converts. Hopefully, this article will help sort things out. Ubuntu, introduction & reference material None of the material referenced below is actually necessary to follow this guide. Installing Kubuntu Linux - Full tutorial This is an older tutorial from 2006, which shows in great detail the installation and configuration of Kubuntu 6.06 Dapper Drake.

Ubuntu 7.10 Gutsy Gibbon - Overview Ubuntu 8.10 Intrepid Ibex - Review & Tutorial Ubuntu 9.04 Jaunty Jackalope - Review Installing Ubuntu - Step by step Preparations Backup. Linux / UNIX command to open .gz files. Q. I have download files from the Internet. Each file has .gz extension. How do I open .gz files under Linux? A. You need to use gzip / gunzip program. It is a software application used for file compression. How do I extract a gz file? Use guzip command as follows: $ gunzip file.gz OR $ gzip -d file.gz To see new file, enter: $ ls -l How do I extract a tar.gz or .tgz file? Files with extension tar.gz or .tgz are tar files compressed with gzip. If you have GNU tar (Linux system) you can use the z option directly: $ tar xvzf file.tar.gz $ tar xvzf file.tgz.

VIM Quick Reference Card.

Commands Bash and Scripts

You don't have permission to access / on this server. Options. Vim tips: Folding fun. The problem with writing and editing on a computer, versus having words on paper, is that it's usually hard to compare text from different sections of a document when they don't fit on the screen together. One way to do it is to use Vim's viewports feature. Another is to "fold" the text. Using Vim's folding features, you can tuck away portions of a file's text so that they're out of sight until you want to work with them again.

Here's how. Vim's folding commands begin with z -- which, as the Vim docs point out, sort of looks like a folded piece of paper. OK, maybe not much, but at least the commands are consistent. Creating folds Let's start with some simple folding actions. Folding also works in visual mode. Another option is to specify a range in command mode. Vim can also make some smart text selections. As an added bonus, Vim also recognizes nested blocks, so it will create the fold based on matching delimiters, and not the first closing bracket it comes across. Using folds. Searching for Files in Linux via Command Line. Unix - How to resolve /var/www copy/write permission denied. Appendix C. Dependencies. Every package built in LFS relies on one or more other packages in order to build and install properly. Some packages even participate in circular dependencies, that is, the first package depends on the second which in turn depends on the first.

Because of these dependencies, the order in which packages are built in LFS is very important. The purpose of this page is to document the dependencies of each package built in LFS. For each package we build, we have listed three, and sometimes four, types of dependencies. The first lists what other packages need to be available in order to compile and install the package in question. The second lists what packages, in addition to those on the first list, need to be available in order to run the testsuites. The last list of dependencies are optional packages that are not addressed in LFS, but could be useful to the user. Autoconf Installation depends on: Bash, Coreutils, Grep, M4, Make, Perl, Sed, and Texinfo Must be installed before: Automake Bash.

View log files in Ubuntu Linux. Q. Can you explain me log files in Ubuntu Linux and how do I view logs? A. All logs are stored in /var/log directory under Ubuntu (and other Linux distro). Linux Log files and usage => /var/log/messages : General log messages => /var/log/boot : System boot log => /var/log/debug : Debugging log messages => /var/log/auth.log : User login and authentication logs => /var/log/daemon.log : Running services such as squid, ntpd and others log message to this file => /var/log/dmesg : Linux kernel ring buffer log => /var/log/dpkg.log : All binary package log includes package installation and other information => /var/log/faillog : User failed login log file => /var/log/kern.log : Kernel log file => /var/log/lpr.log : Printer log file => /var/log/mail.* : All mail server message log files => /var/log/mysql.* : MySQL server log file => /var/log/user.log : All userlevel logs => /var/log/xorg.0.log : X.org log file => /var/log/apache2/* : Apache web server log files directory => /var/log/fsck/* : fsck command log.

Chmod – change file/folder permission in ubuntu | shaon's Blog. Copy/Transfer Files Between Two Linux Servers Using SCP | John Veldboom. The other day we ran into a good problem that our site has grown and we are in need of a new server. So we ordered the server and now we need to transfer all the files from the old server to the new one. But rather than downloading all the files to our local machines then re-cuploading them to the new server, we're going to show you how you can skip the middle man and transfer files from server to server.

The only requirements is that you need to have SSH access to both servers. We're going to be using the Linux command scp which stands for secure copy. We're going to be using the following options: r = recursively copy entire directories C = compression enable p = preserves modification times, access times, and modes from the original file Also, if you're going to transfer a lot of data between the webservers, you probably want to add the nohup command too. nohup runs a command even if the session is disconnected or the user logs out. Hope this helps someone as much as it did me today. How do you resize the standard Ubuntu Desktop inside of Virtualbox.