Step By Step Ubuntu 8.10 (Intrepid Ibex) LAMP Server Setup -- Ubuntu Geek. If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting! Sponsored Link In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL and PHP) server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of installation. The LAMP option means you don't have to install and integrate each of the four separate LAMP components, a process which can take hours and requires someone who is skilled in the installation and configuration of the individual applications.
Ubuntu LAMP server Install the following Versions Ubuntu 8.10 (Intrepid Ibex) Apache 2.2.9 Mysql 5.0.67 PHP 5.2.6 Now you need to select "Install Ubuntu Server" and press enter Ubuntu Server CD is loading in Progress Choose you language and press enter you can see we have selected English in the following screen Clock setup is in progress.
5 Things You Don't Know About User IDs That Will Destroy You. *nix user and group IDs are complicated, confusing, and often misused. Look at this code snippet from the popular Ruby project, Starling: def drop_privileges Process.egid = options[:group] if options[:group] Process.euid = options[:user] if options[:user]end At quick first glance, you might think this code looks OK. But you’d be wrong. Let’s take a look at 5 things you probably don’t know about user and group IDs that can lead you to your downfall. The difference between real, effective, and saved IDs This is always a bit confusing, but without a solid understanding of this concept you are doomed later. Real ID – The real ID is the ID of the process that created the current process.
Don’t use Process.euid= in Ruby; stay as far away as possible Process.euid= is EXTREMELY platform specific. Def write_file begin File.open("/test", "w+") do |f| f.write("hello! This might surprise you, but the script regains root‘s ID after it has dropped itself down to nobody. Why does this work? Or require‘etc’ if ! PythonTurtle. Use VIM Like a Pro; Blogging Ottinger (tim) Developing C/C++ from Linux. Restore Ubuntu Panels to Default. Sure, you can add a new panel and rebuild it by adding the items back on the panel.
Instead of going through the trouble, there is an easy fix that will restore your panels back to their default settings quickly. Open up a Terminal window, by clicking on Applications \ Accessories \ Terminal. Or, if you deleted the top panel and cannot access the menus, just press ALT+F2 and in the run dialog box, type gnome-terminal then click on Run. You can also browse for applications, such as Terminal from the Run window, by clicking on the arrow icon next to 'Show list of known applications" and browse for Terminal.
Once the Terminal window opens, enter the following command at the prompt: gconftool-2 – -shutdown Note: There should be no spaces between the two dashes before shutdown. EDIT – Reader nickrud has suggested a better method instead of shutting down gconfd. Gconftool – -recursive-unset /apps/panel **Remember**: There should be no spaces between the two dashes before shutdown. pkill gnome-panel. Best way to share a folder across all users in Ubuntu. Amac777 November 4th, 2008, 02:30 AM The way I solved this problem was the following 4 steps: 1. Change the umask in /etc/profile so that new files created by users will have write access granted to the group that owns the file: sudo nano /etc/profile change the last line so it looks like this: umask 002 2. System->Administration->Users and Groups->[Manage Groups]->[Add group] 3.
Sudo mkdir /sharedfolder sudo chgrp family /sharedfolder sudo chmod 775 /sharedfolder sudo chmod g+s /sharedfolder 4. At this point, all users that you added to the family group should be able to create files in the shared folder, and also edit files created in the shared folder by other users in the family group. Hope this helps. Install PostgreSQL on Ubuntu 8.04 at hocuspokus. Following up from my old guide to installing PostgreSQL (for Ubuntu 7.10), I thought i’d better do an update for the latest releases… :) This quick walk-through are my notes for installing the PostgreSQL database server and the PgAdmin administration application on Ubuntu Linux, and also set up the server so it allows access to other PC’s on your network.
Before we move on, this guide was tested on the current release of Ubuntu Linux, (8.04 – Hardy Heron) and PostgreSQL 8.3, but it should also be applicable to older versions (of Ubuntu and PostgreSQL) and other Debian based distros. Right for the basic installation, at the command-line, enter the following commands (or search for the listed packages in synaptic if you prefer that way of working): sudo apt-get install postgresql postgresql-client postgresql-contrib sudo apt-get install pgadmin3 This installs the database server/client, some extra utility scripts and the pgAdmin GUI application for working with the database. Change the line: to. Webmin - web based management for Linux. Quick Linux Server w/ Apache+PHP+MySQL+MailServer+PhpMyAdmin+Webmin+FTP ... Newbie Guide - First 24 Hours with Ubuntu. A good friend of mine, who is very computer savvy, recently bought a new computer and installed Ubuntu on it rather than Windows.
Now, despite being a very smart guy when it comes to PCs and Windows, he was still a newbie to the world of Ubuntu, so he and I went through a series of questions and answers before, during, and after his Ubuntu install. I’ve turned those into a FAQ for Ubuntu noobs that should answer a fair amount of questions for the first 24 hours of a first-time Ubuntu installation. Of course, don’t forget to read my previous post on Ubuntu Tips and Tricks as well, for some more ubuntu newbie help! Ubuntu Pre-Installation Questions The short answer is that most people should install the 64-bit version, even if they don’t see a noticeable (to the naked eye) boost in performance. Some reasons (beyond “just because”) to go with the 64-bit version: If your machine has more than 3 GB of RAM, you’ll want the 64-bit version so that it can utilize the extra RAM.
Yes! Again, yes! Build your own headless server (bit-tech.net) Foreword by Brett Thomas If you're anything like me (even before I got really involved with bit-tech.net), you've got spare parts everywhere. You know what I mean - systems that you have put aside as you've upgraded over the years, like Northwood P4s and Athlon XP boards that have gone the way of the dodo. They aren't your top gaming rig - they don't even need 200W to run, much less have 200W for the graphics card.
In my goal of helping you find new and useful ways to use that old crap, it dawned on me - everyone I know complains about files on this computer or that computer, or not being able to get the things they need or want while they're out or away from their home desk. They needed a file server - a REAL file server, with web interface and bit-torrent and the capacity to not tie up your precious screens and keyboards, which are (at least in my house) in less supply than motherboards and hard drives. Introduction Many accustomed to graphical interfaces find the CLI old and obsolete.
NX service unavailable or access is disabled. Urban Puddle : Install NX Server Ubuntu Hardy Heron. NoMachine NX: simple setup without adding users. VNC/SSH Help Please. X Forwarding with Putty on Windows. Xming is the leading X Window System Server for Microsoft Windows®. It is fully featured, lean, fast, simple to install and because it is standalone native Windows, easily made portable (not needing a machine-specific installation or access to the Windows registry). Xming is totally secure when used with SSH and optionally includes an enhanced PuTTY Link SSH client and a portable PuTTY replacement package.
Xming installers include executable code, and libraries, only built by Colin Harrison (Project Xming's chief developer). Mesa with GLX, or Microsoft WGL, provide interactive OpenGL® 2D and 3D network transparent graphics rendering. AIGLX is available for graphics cards that support hardware-accelerated OpenGL. PuTTY is Project Xming's preferred and integrated X terminal emulator for Microsoft Windows: superseding any requirement for a cumbersome POSIX API compatibility layer and simulated directory mount points. Xming is cross-compiled on Linux for Microsoft Windows, using X.Org, FreeType, Mesa, IPTables configuration. How to install GNOME on Ubuntu Server.
Security on Ubuntu. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Disclaimer I am not a security expert at all. This is written strictly from the standpoint of an end-user who has had spyware and adware in Windows and who has read other users' advice (those users may or may not be security experts) about security practices in general. This is not intended to be a comprehensive guide to what will absolutely provide you the best security or what theoretical ways your security can be breached.
The point of this document is explain some basic, practical measures you can take to be relatively secure. This is targeted at home desktop users. Many of these principles can be applied to other Linux distributions as well, but the content is focused mainly on Ubuntu. What are some security best practices? What are some security best practices? So, do I need a firewall, anti-virus, anti-spyware tools? By default, Ubuntu ships with no open ports on public interfaces. Not exactly. Can't get freenx working. How to set up a tunneled FreeNX server with only seveas repositories in ... NXServer NX Server - ssh works but NX has authentication falure ... Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk > NXServer NX Server - ssh works but NX has authentication falure View Full Version : NXServer NX Server - ssh works but NX has authentication falure Re: NXServer NX Server - ssh works but NX has authentication falure I have ssh working just fine but NXServer just will not work -- see below: carl@klaatu:/$ sudo /usr/NX/bin/nxserver --userlist NX> 149 Listing NX users: Username --------------- cwmoser NX> 999 Bye. carl@klaatu:/$ sudo /usr/NX/bin/nxserver --start NX> 500 Service already running.
NX> 999 Bye. carl@klaatu:/$ carl@klaatu:/$ carl@klaatu:/$ sudo /usr/NX/bin/nxserver --status NX> 900 Connecting to server .. NX> 204 Authentication to NX server failed. I also tried this ... root@klaatu:/usr/NX/bin# . UPDATE.... Thanks for posting. GNOME. HowToCygwinX. The Ubuntu distribution is perhaps the most usable desktop Linux distribution available. However, many of us still need to use Microsoft Windows as our primary desktop. Unlike Macintosh OS X and Linux, it is not easy to port X applications to Windows so a lot of great applications are simply not available to us. What if you could have the best of both worlds? Imagine sitting in front of one keyboard, one mouse, and one monitor that has access to Windows and Linux apps at the same time and even shares clipboard functionality.
Xming provides a much simpler alternative to Cygwin with X. It does not allow you to have windows and unix apps seamlessly side-by-side, but it does allows you to launch an entire remote X session without the complexity of installing Cygwin. Also see FreeNX for a perhaps better solution. This HOWTO will help you achieve that. Requirements Security notice You will be enabling XDMCP which is inherently insecure. Configuring Ubuntu to allow XDMCP connections -once -clipboard. Kde over Putty - SSH. Quote: I've always had a bad experience with starting desktop environments over SSH X forwarding. Because all the desktop environment is forwarded to your local X server, it may conflict with the desktop environment or window manager already running locally. (Especially the time when I was using KDE in Linux and I SSH'ed to another computer and ran 'startkde'; didn't turn out so well ).
For all the versions of OpenSSH beginning with 3.8 (that means all recent Linux systems within the last two years or so, including current packages in Cygwin), the -X option was changed to be untrusted forwarding, so that some X apps no longer work. No, Putty does has an option to forward X (Connection -> SSH -> X11 -> Enable X11 Forwarding), like all standard SSH clients; but you still need an X server for it to forward it to.
Window Managers for X: TWM / VTWM. Tab Window Manager License: MIT Activity Rating: Low Twm (Tab Window Manager, or sometimes Tom's Window Manager, after the principal author Tom LaStrange) provides titlebars, shaped windows, several forms of icon management, user-defined macro functions, click-to-type and pointer-driven keyboard focus, and user-specified key and pointer button bindings. It has however been left behind by more recent window managers, making it something of mainly historical interest. It was for some time the only real choice of window manager, after taking over from the very simplistic uwm. Nearly every window manager since has borrowed heavily from it, either directly, or indirectly through other window managers, such as fvwm.
Here are some screenshots and configuration files: From matt@belgarath.org, added in June 1996: screenshot (14k), twmrc. The source code is no longer developed, but old TWM archives for various releases of X are available. A paper about twm is also available in PDF format. Virtual TWM. Ubuntu forums: VNC over SSH tunnel. X Frequently Asked Questions. 6.1. X11Forwarding does not work with OpenSSH under Cygwin Try adding the -v option to ssh, which often pinpoints the reason for a connection problem.
From the ssh man-page : -v Verbose mode. Causes ssh to print debugging messages about its progress. Before establishing the ssh connection the xserver must be started and the environment variable DISPLAY must be set. or Make sure you're not starting ssh with the option -x (lowercase). Check that X11Forwarding is not disabled in the ssh client configuration. The configfiles are by default ~/.ssh/config and /etc/ssh_config. The configfile is split into various sections starting with "Host wildcard". If this section contains an entry "ForwardX11 no" then X11Forwarding is disabled.
Check that X11Forwarding is not disabled in the ssh server configuration. The configfile is by default /etc/ssh/sshd_config. [Frederick W. 6.2. This question should be obsolete since the SECURITY extension is now disabled See also Q: 6.1. 6.3. So why is this disabled? My New IRC Client - Irssi : Ubuntu (6.06 / 6.10) : Ubuntu Tutorials ... If you've enjoyed this blog, please consider picking up a copy of my Ubuntu book, Instant Ubuntu. Thanks for visiting! I’ve been hearing about the Irssi IRC client for some time and I finally took some time over the weekend to seriously look into it. After the initial learning curve that often comes with a new application (and a terminal based application at that!)
I’m hooked on Irssi. I’m using it as my main IRC client and I also use it to access my other IM networks (ie; Jabber) that you read about in my previous post. Before I get into some steps that I used to cut down my learning curve I wanted to link into the Irssi writeup on the community documentation page. First of all you’ll want to install the irssi client. sudo aptitude install irssi Second you’ll simply start up the program using the command irssi Now you’ll be presented with a very basic, terminal-looking interface. /connect irc.freenode.net Irssi will then connect to that freenode network. To set your IRC nick use. Aptitude versus apt-get. A Comprehensive List of Ubuntu Hardy Heron (8.04) and Ubuntu Intrepid ... X over SSH - A Tutorial. How do I start Ubuntu's remote desktop (VNC) via SSH? VNC - Seeing Linux in Linux. NX - Download the NX Terminal Server and Remote Access Software.
How to set up SSH keys: Frustration with "Server refused our key" Ssh - authorized_keys HOWTO. Slicehost: a quick, fun way to learn Linux server administration — Sky Rocket. VNC over SSH with Ubuntu (or any other OS) Update kernel on Wubi? On FAT32? Beginner’s Guide: Run Linux like any other program in Windows - Lifehack.org.