Source: http://ubuntuforums.org/showthread.php?t=791804
setup
1. sudo apt-get install apache2
2. sudo apt-get install openssl
3. sudo apt-get install ssl-cert
create ssl certificate:
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/localhost.pem
switch to apache sites configuration:
cd /etc/apache2/sites-available/
bakup the default configuration:
sudo cp default default.backup.date
be sure to listen the port 80 for the default:
sudo sed -i ‘1,2s/\*/*:80/’ default
create the ssl configuration:
sudo cp default ssl
set the ssl port:
sudo sed -i ‘1,2s/\*:80/*:443/’ [...]
Popularity: 1% [?]
Continue reading about Configure Apache SSL Certificate in Ubuntu 8.04
AIX 5.3
1. Create a rc.local file in /etc/
2. Apply proper permissions
a. chown root:sys /etc/rc.local
b. chmod 744 /etc/rc.local
3. Add an entry in /etc/inittab so whenever the server is rebooted the script will be started.
a. mkitab -i rcnfs “rclocal:2:wait:/etc/rc.local > /dev/console 2>&1″
4. add your services to rc.local
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about How to start daemons at the system startup in AIX servers
Just add the following entries in your /home/username/.profile
alias __A=`echo “\020″`
alias __B=`echo “\016″`
alias __C=`echo “\006″`
alias __D=`echo “\002″`
alias __H=`echo “\001″`
set -o emacs
Popularity: 1% [?]
Popularity: 1% [?]
You have to change you limits
1. Open /etc/security/limits and assign to your username thw following:
oracle:
fsize = -1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = -1
http://www.leonardoborda.com
Popularity: 1% [?]
Popularity: 1% [?]
Continue reading about Cannot copy more than 1 Gb file in AIX
Taking into account you have already a working Openvpn server, follow the steps bellow to configure static ip address to Openvpn users:
1. Create a folder called ccd inside /etc/openvpn/.
#mkdir /etc/openvpn/ccd
2. Add the following line to the openvpn server configuration file:
client-config-dir ccd
3. In /etc/openvpn/ccd/ you will create one file for each user you want to have [...]
Popularity: 49% [?]
Continue reading about How to assign a fixed ip-address to an openvpn user / lan-to-lan connection?
Grub
1. at the boot screen enter in edit mode:
1.1 Select the line that starts with kernel
1.2 Add at the end single
1.3 at the grub boot screen type ‘b’ to boot in user single mode.
LILO
1. at the LILO boot screen prompt or if you are using the graphical LILO, you press Ctrl-x to exit the graphical [...]
Popularity: 1% [?]
1. Check who is connected to the tty
#who
srv-srv1:~/test# w
08:50:26 up 152 days, 15:53, 2 users, load average: 0.00, 0.02, 0.01
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 wks1 08:27 0.00s 0.04s 0.00s w
root pts/2 wks1 Mon09 15:41m 0.17s 0.17s -bash
2. Verify its PID
ps -u root |grep -i pts/2
3. kill the connection
# kill -9 <PID>
Popularity: [...]
Popularity: 1% [?]
stop nagios2
/etc/nagios2# dpkg-statoverride –update –add nagios www-data 2710 /var/lib/nagios2/rw
/etc/nagios2# dpkg-statoverride –update –add nagios nagios 751 /var/lib/nagios2
start nagios2
Popularity: 100% [?]
Popularity: 100% [?]
Continue reading about Error: Could not stat() command file ‘/var/lib/nagios2/rw/nagios.cmd’!