|
|
ln -s source_file symbolic_link
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
|
|
|
|
Ubuntu Linux (a GNU/Linux-based computer operating system) version 11.10 has been released and available for download. The new release includes some enhancements to make your experience even more enjoyable. The Default user interface is set to unity shell on top of GNOME 3.x. However, you will get a 2D version of Unity as a fallback for systems that lack the hardware resources for the 3D version. The good news is you will be able to install the entire GNOME 3 desktop along with GNOME Shell directly from the Ubuntu repos.
View the Original article
|
|
Fedora Linux version 16 (code name "Verne") has been released and available for download ( jump to download link ). Fedora Linux is a community-based Linux distribution which is sponsored by Red Hat, Inc. This release is dedicated to Dennis Ritchie, who co-invented Unix and the C language. Fedora is considered as the third most popular cutting edge distro, behind Ubuntu and Mint Linux for desktop and laptop usage.
View the Original article
|
|
|
|
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.10 Server (Oneiric Ocelot), so you should set up a basic Ubuntu 11.10 server installation before you continue with this tutorial (e.g. as shown on the pages 1 - 3 in this tutorial: The Perfect Server - Ubuntu 11.10
View the Original article
|
|
This tutorial is only for LedgerSMB 1.3 series.
For the 1.2 versions please refer to http://www.howtoforge.com/ledgersmb_debian_etch of which author is Falko Timme: Installing LedgerSMB (Open Source Accounting Application) on Debian Etch.
Only with this remark that libmd5-perl is not in the repositories anymore. Hereunder you will find how to download and install this Perl-module.
Thanks to Falko I could explore LedgerSMB in the beginning. Evidently I would like to thank also Chris Travers (www.ledgersmb.org) who has assisted me a lot.
Of course there is no guarantee that this will work in general terms.
This instruction is made with the intention that you can copy and paste the commands into the terminal. In case of sudo commands your password will be asked.
The same goes for the needed changes in some configuration files; evidently the changes in those files have to be done manually.
2. Installation Of Required Perl Modules And Required Texlive Modulessudo apt-get install libdata-dumper-simple-perl perl-modules liblocale-maketext-lexicon-perl libdbi-perl libdbd-pg-perl libconfig-any-perl libmime-lite-perl libhtml-linkextractor-perl libnet-tclink-perl libparse-recdescent-perl libmodule-build-perl libperl5.12 libuuid-perl liblocale-gettext-perl libyaml-tiny-perl libtext-iconv-perl libtext-charwidth-perl libmodule-install-perl liblatex-driver-perl
(This is one command.)
There are another three modules to be installed, the first two (SOURCE: Falko Timme):
libclass-std-perlBut they are not in the repositories. First both should be done by downloading from Sourceforge:
cd /tmpThe last one is:
libmd5-perlThis is to be downloaded from Debian:
cd /tmpIn connection with the above mentioned installed Perl modules a few texlive modules should be installed also. I would like to emphasize if those are not installed Perl will not work with the LedgerSMB!!!
sudo apt-get install texlive-fonts-extra texlive-latex-extra-doc texlive-lang-all texlive-latex-extra texlive-fonts-recommended texlive texlive-doc-enThis could take long time (700MB)!!!
Unfortunately one needed Texlive-module is not in the repositories:
texlive-generetic-extraThis is going to be downloaded from Ubuntu: http://packages.ubuntu.com/lucid/texlive-generic-extra
Just copy and paste this in your browser in order to enter this website. Under the page you will see this: "Download texlive-generic-extra" and go to
"all" under "architecture", then choose a "site" (a lot) for download and choose save.
In order to install this do the following:
cd|
|
Please notice that I selected a local folder only fordemonstrational purposes. A back up is supposed to save and restoreyour files in case of emergency, which is most likely a corruption ofthe hard drive the data is on, that is why you should either select anexternal hard drive or an online server you have access to. The nexttab is the Files tab, where you specify which files you want to back up and, if that is the case, which files to exclude from backing up.
View the Original article
|
|
The scripts will download necessary packages from debian repositories and my deb packages:
linux kernel 2.6.32 with patches: layer-7, imq, esfqiptables 1.4.8 with patches: layer-7 and imqiproute 20101221 with esfq patchppp 2.4.3 with mppe and mppcAll the packages are available for independent download from:
http://files.v-smart.pl/v-smart-2.0/
You may view the scripts before executing to see what they exactly do. You have to write down the MySQL root password and type it when the install script ask for. After reboot you can go to the router GUI via browser. Simply open the router IP address in the browser. First time LMS will ask you for creating an admin account. Don't forget to check full access option for admin. Example configuration is available for view after installation. You have to set up your WAN bandwidth in the /router/router.conf file in kilobits-per-second. Default is 10Mbps.
How does it work? Network administrator adds clients, computers and tariffs (download and upload speed) into LMS. There is my daemon running in the background which checks if something was changed in the GUI configuration. If so, the daemon will update the configuration file for the firewall (/router/lms.conf) and reload firewall, NAT and traffic shaping. Firewall scripts and configs are in the /router directory. LMS GUI is installed in the /var/www directory. Other stuff (messages, daemon, etc.) are in /var/v-smart directory. Network configuration you can find in /etc/rc.local script.
Installed LMS is pure and unmodified. In the database there is vsmart table with to-do records that are read by the daemon in 3-second period. I added MySQL triggers to follow changes in the LMS tables. The triggers will update to-do records when something is changed in customers' devices configuration. Then the daemon makes a decision about reloading firewall, traffic shaper and NAT. Finally - changes in LMS GUI are set in the router almost instantly. This is the main idea of my project.
In the crontab there are periodicaly run some LMS scripts (stats, payments, host alive checking and other). Feel free to view or adjust /etc/cron.d/vsmart file.
List of router main functions:
- Dynamic traffic shaping on WAN port using IMQ with HTB/esfq and service priority,
- Static traffic shaping on LAN port (LMS tariffs),
- MAC
View the Original article
|
|
NIC teaming is nothing but combining or aggregating multiple network connections in parallel. This is done to increase throughput, and to provide redundancy in case one of the links fails or Ethernet card fails. The Linux kernel comes with the bounding driver for aggregating multiple network interfaces into a single logical interface called bond0. In this tutorial, I will explain how to setup bonding under Debian Linux server to aggregate multiple Ethernet devices into a single link, to get higher data rates and link failover.
|
|
|
|
Enable the vhost and reload nginx:
cd /etc/nginx/sites-enabled/4 Creating A Self-Signed Certificate
Before we set up our SSL vhost, we need an SSL certificate. I will now show you how to create your own self-signed certificate. With this certificate, you will get browser warnings, but this certificate is required to get a trusted certificate from a trusted CA later on.
Make sure that the package ssl-cert is installed:
apt-get install ssl-certYou can now create a self-signed certificate for www.hostmauritius.com as follows:
make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/www.hostmauritius.com.crtYou will be asked for the hostname:
Host name: <-- www.hostmauritius.com
This will create the self-signed certificate and the private key in one file, /etc/ssl/private/www.hostmauritius.com.crt:
cat /etc/ssl/private/www.hostmauritius.com.crt -----BEGIN RSA PRIVATE KEY-----MIIEowIBAAKCAQEAsxOSdUsiEcay6M8EpSu5eeC797v/TpDRGnui4uaYd/YpjrPhPWW01FEIpaCixYb5U2uMuvFOlmZhyfer|
|
Don't forget to install Rex and Rex::Apache::Deploy on your Jenkins server as well. You need at least Rex 0.19.0 and Rex::Apache::Deploy 0.7.0.
Installing Tomcat
Install it on: CI Server
At first we will install Jenkins. Fire up a shell and use apt-get to installtomcat6 and tomcat6-admin. If you want, you can use this howto that shows youhow to install Tomcat with Rex and jump to Step 2 "Deploying Jenkins".
sudo apt-get install tomcat6 tomcat6-adminNow open the file /etc/tomcat6/tomcat-users.xml and replace the content with the following.
|
|
3 Using SSHFS As rootserver1:
Now I want to mount the remote directory /home/backup (on server2, owned by server2's root user) to the local /backup directory as the local root user.
First add root to the fuse group:
adduser root fuseCreate the local /backup directory and make sure it's owned by root (it should be anyway as you are running these commands as root):
mkdir /backupThen mount the remote /home/backup directory to /backup:
sshfs -o idmap|
|
I do not issue any guarantee that this will work for you!
1 Preliminary Note
I use a vhost called www.example.com/example.com here with the document root /var/www/www.example.com/web.
You should have a working LEMP installation, as shown in these tutorials:
Installing Nginx With PHP5 And MySQL Support On Debian Squeeze Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 11.04A note for Ubuntu users:
Because we must run all the steps from this tutorial with root privileges, we can either prepend all commands in this tutorial with the string sudo, or we become root right now by typing
sudo su2 What We Have So Far
On Debian/Ubuntu, PHP-FPM's pool directory is /etc/php5/fpm/pool.d/ - this is where new pools will be created. The php.ini used by PHP-FPM is /etc/php5/fpm/php.ini. There's one pool already, www.conf - let's take a look at it:
vi /etc/php5/fpm/pool.d/www.conf ; Start a new pool named 'www'.; the variable $pool can we used in any directive and will be replaced by the; pool name ('www' here)|
|
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