Author Topic: Debian / Ubuntu MISC  (Read 3304 times)

0 Members and 1 Guest are viewing this topic.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29463
  • who run it.
  • Respect: +6927
    • View Profile
    • Email
Debian / Ubuntu MISC
« on: July 17, 2013, 10:44:20 am »
0
sdgggsdhfdjdf

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29463
  • who run it.
  • Respect: +6927
    • View Profile
    • Email
Re: Debian / Ubuntu MISC
« Reply #1 on: July 17, 2013, 11:02:14 am »
0
https://wiki.ubuntu.com/DebootstrapChroot
http://linuxconfig.org/install-debian-server-in-a-linux-chroot-environment


Code: [Select]
apt-get install debootstrap
vim /etc/schroot/schroot.conf

description=Ubuntu Precise64
location=/data1/chroot/precise
priority=3
users=guy
groups=sbuild
root-groups=root

debootstrap --variant=buildd --arch amd64 precise /data1/chroot/precise http://archive.ubuntu.com/ubuntu/

 sudo chroot /data1/chroot/precise/










adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29463
  • who run it.
  • Respect: +6927
    • View Profile
    • Email
Re: Debian / Ubuntu MISC
« Reply #5 on: August 08, 2013, 10:26:37 pm »
0
bleh mod_suphp.. needed to install this for some dumb crap.

http://www.andrewzammit.com/blog/centos-5-8-apache-2-2-php-5-3-suphp-0-7-1/

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29463
  • who run it.
  • Respect: +6927
    • View Profile
    • Email



adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29463
  • who run it.
  • Respect: +6927
    • View Profile
    • Email
Re: Debian / Ubuntu MISC
« Reply #9 on: August 17, 2013, 11:26:38 pm »
0
http://blog.wwwjfy.net/2013/08/04/basic-server-tuning/

Code: [Select]

net.netfilter.nf_conntrack_max = 131072
net.ipv4.netfilter.ip_conntrack_generic_timeout = 120
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 54000
net.netfilter.nf_conntrack_tcp_timeout_time_wait = 30

fs.file-max = 5000000
net.core.netdev_max_backlog = 400000
net.core.optmem_max = 10000000
net.core.rmem_default = 10000000
net.core.rmem_max = 10000000
net.core.somaxconn = 100000
net.core.wmem_default = 10000000
net.core.wmem_max = 10000000
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_max_syn_backlog = 12000
net.ipv4.tcp_max_tw_buckets = 2000000
net.ipv4.tcp_mem = 30000000 30000000 30000000
net.ipv4.tcp_rmem = 30000000 30000000 30000000
net.ipv4.tcp_sack = 1
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_wmem = 30000000 30000000 30000000
net.ipv4.tcp_tw_reuse = 1


http://stackoverflow.com/questions/16841469/redis-performance-tuning




adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 29463
  • who run it.
  • Respect: +6927
    • View Profile
    • Email
Re: Debian / Ubuntu MISC
« Reply #12 on: August 23, 2013, 05:22:45 am »
0
Code: [Select]
# locale-gen en_US en_US.UTF-8
then

Code:
# dpkg-reconfigure locales