Archive for the 'Tux-tux' Category

virtual host on ubuntu server

#cd /etc/apache2/
#create directory vhost
#nano seseorang.conf
#paste text below
NameVirtualHost *:80
<VirtualHost *:80>
ServerName seseorang.org
ServerAlias www.seseorang.org
ServerAdmin admin@seseorang.org
DocumentRoot /home/seseorang/public_html/seseorang.org/public
<Directory /home/seseorang/public_html/seseorang.org/public>
AllowOverride All
Options All

create domain on ubuntu server

#cd /etc/bind/
#nano named.conf.local
#paste text below
zone “ya-gitu.de” {
type master;
file “/etc/bind/zones/ya-gitu.de.zone”;
};
zone “0.168.192.in-addr.arpa” {
type master;
file “/etc/bind/zones/rev.0.168.192.in-addr.arpa”;
allow-query { any; };
};
#save

install squid as proxy server

to install squid as proxy server just follow this instruction:

wget http://www.squid-cache.org/Versions/v2/2.5/squid-2.5.STABLE10.tar.gz
cp squid-2.5.STABLE10.tar.gz /usr/src/
cd /usr/src/
tar xvzf squid-2.5.STABLE10.tar.gz
cd squid-2.5.STABLE10
/configure
make
make install
rm -f /usr/local/squid/etc/squid.conf
pico /usr/local/squid/etc/squid.conf, and fill it, such as under the ago save this

Login Settings On Linux

Login settings on linux, when I use this OS CentOS. To have the settings:
/etc/login.defs
There we can set the age of our users, the minimum length of our password. The words “from the file login.defs is as follows:
# PASS_MAX_DAYS Maximum number of days a password may be used.
# [...]

Google
Web seseorang.org