|
Install The Base System
Boot from your CentOS 6.0 CD. Select "Install or Upgrade an existing system" and press enter at the boot prompt:
View the Original article
Linux and Open Source, Desktop,Firewall,Red Hat Inc.,Fedora Project,GNOME,Fedora 15,Linux,Open Source,Operating Systems, Debian GNU/Linux, arch linux, puppy linux, freebsd, openbsd, vector, freespire, Software
|
Install The Base System
Boot from your CentOS 6.0 CD. Select "Install or Upgrade an existing system" and press enter at the boot prompt:
View the Original article
|
The second to last line ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo is optional; it makes that when you go to http://lists.example.com/, you will be redirected to http://lists.example.com/listinfo. This makes sense if you don't have any files to serve in the document root /var/www/lists.
Next create the document root /var/www/lists, enable the lists.example.com vhost configuration and restart Apache:
mkdir /var/www/listsBecause we are using a vhost here (lists.example.com), we need to adjust the following variables in /etc/mailman/mm_cfg.py:
vi /etc/mailman/mm_cfg.py
|
As you see, I have the directory 2.6.18-238.9.1.el5-x86_64, but not 2.6.18-238.el5-x86_64. Therefore we create a symlink called 2.6.18-238.el5-x86_64 that points to 2.6.18-238.9.1.el5-x86_64:
# ln -s 2.6.18-238.9.1.el5-x86_64
|
|
Now make sure you are running all the latest patches by doing an update:
sudo apt-get updateAlthough not always essential it’s probably a good idea to reboot your server now and make sure it all comes back up and you can still login via ssh.
Now we’re ready to start the OpenERP install.
Step 2. Create the OpenERP user that will own and run the application sudo adduser --system --home
|
3 Installing Compiz Fusion
To install Compiz Fusion, open a terminal again (Applications > System Tools > Terminal) and become root:
suThen install Compiz Fusion as follows:
yum install emerald-themes compiz-fusion-extras emerald compiz-plugins-main compiz-manager compiz-fusion-extras libcompizconfig compiz-plugins-main-gconf ccsm compiz-gnome compiz-gtk4 Configuring Compiz Fusion
To configure Compiz Fusion, open the CompizConfig Settings Manager (Applications > Other > CompizConfig Settings Manager):
View the Original article
|
Start Apache:
/etc/init.d/httpd startTo automate startup of Apache on boot up, type
chkconfig --add httpdVerify Install
Go to http://
View the Original article
|
|
|
... and create three new index files, one in German (index.html.de), one in English (index.html.en), and one in French (index.html.fr):
vi /var/www/index.html.de
|
2 Taking The Screenshot
Now that you know the number of the VT of the login screen, go back to the command prompt (CTRL
View the Original article
|
and restart your MySQL server:
/etc/init.d/mysqld restartRun
mysql_secure_installationto set a password for the user root (otherwise anybody can access your MySQL database!):
View the Original article
|
|
The repository contains a few different OpenVZ kernels (you can find more details about them here: http://wiki.openvz.org/Kernel_flavors). The command
yum search vzkernelshows you the available kernels:
|
Windows 2008 Server running Active Directory and DNS
server.domain.internalWindows 2003 Server hosting user home directories and file shares
thinserver.domain.internalUbuntu 10.04.2 server with LTSPv5
dhcp.domain.internalCentOS 5.0 server running dhcpd
Ubuntu LTSP Installation
To install Ubuntu with LTSP, follow the instructions here.
If your server has more than 4 GB of RAM, make sure you install the Linux PAE Kernel.
sudo apt-get install linux-generic-pae linux-headers-generic-paeAdd thinserver to the Windows Domain
Before we add thinserver to the domain, we're going to have to install Samba along with some other packages.
sudo apt-get install samba smbclient winbind libpam-cracklib krb5-userMake sure that thinserver is named correctly.
hostnameIf the hostname command doesn't return thinserver.domain.internal, rename it to thinserver.domain.internal.
hostname thinserver.domain.internalEdit the /etc/resolv.conf to use dc.domain.internal as the primary DNS server.
search domain.internalnameserver 10.0.0.10On your domain controller create a host (A) record in your DNS for thinserver.
Verify that thinserver can resolve domain.internal:
nslookup domain.internalThe results should look something like this:
test
|
Select the packages compizconfig-settings-manager...
View the Original article
|
You will be prompted to agree to the LGPL; asked for the installation and java home directories, the tomcat ports, and to create some users and specify the encryption algorithm. Once you have done this, you can cd into the installalation directory and run:
chmod a
|
|
|
Save the file and lets proceed, shall we?We need to compile this, so thats easy:
makeNo errors? Good. It might be that you get an error about "displayQRCode". If so, you will need to make some changes to the makefile. If everything went as it should, you can just proceed.
find /usr/lib -name libdl.soIn the makefile, replace all 3 references to "/usr/lib/libdl.so" with the path you got (e.g. "/usr/lib/i386-linux-gnu/libdl.so").Save it up, and re-run make. You should now be able to proceed just fine.
If it was compiled succesfully, proceed with installing it: make installWe're done, let's proceed shall we?
Configuring OpenVPN to use PAM
Open up /etc/openvpn/server.conf and add the following line:
plugin /usr/lib/openvpn/openvpn-auth-pam.so openvpnThis will use PAM to provide additional means of authentication.The last part (openvpn) is the file in /etc/pam.d we'd like to use. Since we do not want it to interfere with other services (e.g. SSH or sudo) we just use a new file.
Restart OpenVPN to have it re-read the config file.
Configure PAM to authenticate using Google Authenticator
Create the file /etc/pam.d/openvpn:
cp /etc/pam.d/common-account /etc/pam.d/openvpnAdd the following line:
auth required pam_google_authenticator.soIf you are using encrypted homedirectories, you will need to change that to:
auth required pam_google_authenticator.so secret
|
|
|
After cloning a VMWare image I had noticed that my CentOS Linux server renamed eth0 as eth1, eth1 as eth2 and so on. This is due to wrong or duplicate mac address. To fix this problem login to your CentOS Linux server using console and type the following commands:
# cd /etc/udev/rules.d
# cp 70-persistent-net.rules /root/
# rm 70-persistent-net.rules
# reboot
This file was automatically generated by the /lib/udev/write_net_rules program, run by the persistent-net-generator.rules rules file. Simple delete it and reboot the system to recreate the same. This should fix the problem:
# /sbin/ifconfig
View the Original article
|
CentOS Linux version 6 has been released. It is a community-supported operating system based on Red Hat Enterprise Linux (RHEL) version 6. CentOS Linux is considered as the most popular Linux distribution for web servers with almost 30% of all Linux servers using it.
View the Original article
|
Our FAQ section is updated in last few days with new howtos:
Nginx: 413 Request Entity Too Large Error and SolutioTCSH / CSH / C Shell Check Whether a Directory is Empty or NotSlow DNS on Linux with IPv4 and IPV6 Configured FirewallLinux: Dell Server / Desktop / Laptop Find Out Service Tag Commandyum Command Hangs on Running Transaction Test Message Error and SolutionLinux: Find All File Descriptors Used By a ProcessSendmail: Clear / Delete / Flush Mail QueueFeatured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop
|
XPenguins is a program for animating cute cartoons animals in your root window. By default it will be penguins they drop in from the top of the screen, walk along the tops of your windows, up the side of your windows, levitate, skateboard, and do other similarly exciting things. Now you can send an army of cute little penguins to invade the screen of someone else on your network.
Open a command-line terminal (select Applications
View the Original article
|
Tux Paint is a simple graphics educational painting programs for young children. It is free, Open Source software, distributed under the terms of the GNU General Public License. The program can be installed all all versions of Microsoft Windows, Apple OS X v10.3
View the Original article
|
Synaptic is a front-end for the apt package management system. The program allows you to perform all actions of the command line tool apt-get in a graphical environment such as installing, upgrading, downgrading and removing of single packages or even upgrading your whole system. The upcoming Ubuntu Linux version 11.10 (code named Oneiric Ocelot) has removed Synaptic Package Manager.
To be frank, I never used Synaptic or so called the Software Center. I use apt-get all the time to install, remove, and update the system or apt-cache to search required packages. Synaptic is fine tool and I'm not sure why Canonical decided to remove the same. Canonical is making lots of new decisions and no one in the enterprise environment like new changes.
Open a command-line terminal (select Applications
View the Original article
|
Debian Linux version 6.0.2 has been released. This update mainly adds corrections for security problems to the stable release, along with a few adjustments to serious problems. The kernel image used by the installer has been updated to incorporate a number of important and security-related fixes together with support for additional hardware.
|
Install Squid 3apt-get install squid3 ldap-utils
Note: Squid configuration takes places after msktutil is configured.
Install and run msktutil
Obtain the msktutil package and install it.
cd /var/cache/apt/archives/wget http://fuhm.net/software/msktutil/releases/msktutil_0.4-2_i386.debInitiate a kerberos session to the server so msktutil can use it to create our Proxy object in Active directory that will be used for access.
kinit administratorEnter the domain administrator password.
It should then return without errors. You can see if you successfully obtained a ticket with:
klistNow we configure the proxy in AD with service principles by running msktutil (update the highlighted values with your network).
Warning: You should not move the object from the OU that you use msktutil to create it in.
msktutil -c -b "CN
|
This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.
This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!
1 Preliminary Note
This tutorial is based on Ubuntu 11.04 Server (Natty Narwhal), so you should set up a basic Ubuntu 11.04 server installation before you continue with this tutorial (e.g. as shown on the pages 1 - 3 in this tutorial: The Perfect Server - Ubuntu Natty Narwhal (Ubuntu 11.04)
View the Original article
|
|
New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword
3 Installing Nginx
Nginx is available as a package for Ubuntu 11.04 which we can install as follows:
apt-get install nginxStart nginx afterwards:
/etc/init.d/nginx startType in your web server's IP address or hostname into a browser (e.g. http://192.168.0.100), and you should see the following page:
View the Original article
|
If you are installing on OpenSUSE 11.2 or OpenSUSE 11.3, please be sure to use another version of this script (also available on www.howtoforge.com).
There are few things missing from the tutorial, as I have found it. I have made a script, based on the tutorial, that prepares a system, and which contains several steps that, if not done, leave the system unfinished in some way.
Notable additions:
fail2ban configurationSuSEfirewall2 enabledThe script is imperfect in the fact that it requires manual entries twice - when mysql_secure_install is run, and when ispconfig_update_svn is run. (I use svn, because ISPConfig latest SVN looks much nicer, but one can type stable as well - on production systems, you should use stable!)
Do
zypper updateand
rebootbefore running this script.
Also better change host name (file HOSTNAME) manually with yast2 before running this script, so that OpenSUSE will put a proper name into Postfix configuration.
This script requires two manual actions:
First - when mysql_secure_install is run.
Second - for ISPConfig3 update, if SVN update is chosen, one may need to say 'y' to enable SSL, while for all other options - one can choose a default value by just pressing ENTER.
You should change the following variables in the script before you run it:
THIS_PLATFORM: Either x86_64 or i586.
MYSQLROOTPASS: Please change MYSQLROOTPASS, and be sure to enter it verbatim during the installation of mysql_secure_install.
MY_HOSTNAME, MY_DOMAIN: Change this to your server name. By default it's configured to server1.mydomain.com. If your web site hosts a complete domain, such as domain.com, still leave something for MY_HOSTNAME. server1 or host is a good name.
ISPCONFIG_TAR_GZ: Make sure that ISPCONFIG_TAR_GZ holds the latest available ISPConfig 3 version. Beware, that automatic piping to answer all the questions is set up to work with ISPConfig 3.0.3.3, and you may need to change that part of the script, if ISPConfig is of a later version.
Save the script on your server (e.g. /root/opensuse_ispconfig3.sh):
vi /root/opensuse_ispconfig3.sh #!/bin/sh
|
New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword
3 Installing Lighttpd
Lighttpd is available as an Ubuntu package, therefore we can install it like this:
apt-get install lighttpdNow direct your browser to http://192.168.0.100/index.lighttpd.html, and you should see the Lighttpd placeholder page:
View the Original article
|
Windows Server with Active Directory:
Hostname: ad.example.com IP address: 192.168.1.203 Create User Account In AD For LDAP Query
With iRedMail
View the Original article
|
The Fedora Installer starts. Select your keyboard layout:
View the Original article
|
Eclipse and the prerequisites for the Android SDK and PhoneGap can be installed as follows:
sudo apt-get install openjdk-6-jdk eclipse ruby rubygems ruby-dev libnokogiri-ruby git ant libxml2 libxml2-dev libxslt1-devIf you are on a 64bit system, you also need to install the following two packages:
sudo apt-get install lib32stdc
|
|
This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.
This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!
1 Preliminary Note
This tutorial is based on Fedora 15 x86_64, so you should set up a basic Fedora 15 server installation before you continue with this tutorial (e.g. as shown in the first seven chapters of The Perfect Server - Fedora 15 x86_64
View the Original article
|
Jun 20th 2011
In this tutorial I will run 2 OpenSUSE 11.4 32-bit bare bone servers under VMware Workstation, both servers were built from OpenSUSE 11.4 network installation iso, which you can download from http://www.opensuse.org.
pgmaster: 192.168.5.187 (master database server)
pgslave: 192.168.5.188 (slave database server, or standby)
And modify /etc/hosts in both servers to have above 2 records.
Step 1. Install postgresql on both master and slave serverzypper install postgresql postgresql-contrib postgresql-server
View the Original article
|
Search for avant in the search box. This should list the Avant Window Navigator package in the results. Click on the Install button to install AWN:
View the Original article
|
Download Page
2.1 Installing OpenFire
Copy the .rpm file for OpenFire and issue:
rpm -Uvh openfire-3.7.0-1.i386.rpm This command should install OpenFire which will listen on port 9090. Now open a web browser and point to http://
View the Original article
|
|
|
New password for the MySQL "root" user: <-- yourrootsqlpassword
Repeat password for the MySQL "root" user: <-- yourrootsqlpassword
Now we must check if both MySQL server support SSL connections. Log into MySQL...
mysql -u root -p... and run the following command on the MySQL shell:
show variables like '%ssl%';If the output is as follows (both have_openssl and have_ssl show DISABLED)...
mysql> show variables like '%ssl%';
|
|
... and update our package database:
# apt-get updateNow we bring our system up to date:
# apt-get upgrade(It is possible that the kernel gets updated. If this is the case, reboot the system...
# reboot... log in as the normal user again and become root:
$ su)
Afterwards, we install VirtualBox 4.0 as follows:
# apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.0 dkms(The dkms package ensures that the VirtualBox host kernel modules are properly updated if the Linux kernel version changes.)
Starting with version 4.0, VirtualBox has introduced so called "extension packs" and has outsourced some functionality like remote desktop connection support (VRDP) that was part of VirtualBox packages before version 4.0 into these extension packs. Because we need remote desktop connections to control our virtual machines, we need to install the appropriate extension pack now. Go to http://www.virtualbox.org/wiki/Downloads, and you will find a link to the following extension pack:
VirtualBox 4.0.6 Oracle VM VirtualBox Extension PackDownload and install the extension pack as follows:
# cd /tmp(Make sure you grab the latest version from the VirtualBox web site.)
(Make sure you run the last command with root privileges - # VBoxManage extpack install ... - because otherwise you will get an error like this:
administrator