Skip to main content

Posts

Showing posts with the label :: server

:: Install NginX from source

:: What is NGINX nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by  Igor Sysoev . o nginx :: How to install NGINX from source on OpenSUSE + installing dependency # zypper in pcre-devel zlib-devel libopenssl-devel + create username and group # groupadd nginx # useradd -r -g nginx nginx + compile and installing nginx # wget http://nginx.org/download/nginx-1.1.8.tar.gz # tar -xzf nginx-1.1.8.tar.gz # cd nginx-1.1.8 # ./configure --user=nginx --group=nginx --with-http_ssl_module # make && make install :: Starting / restarting httpd # /usr/local/nginx/sbin/nginx # /usr/local/nginx/sbin/nginx -s reload :: Link + Google + BlacKonsole

:: How to install DirectAdmin on Linux CentOS

:: What is DirectAdmin DirectAdmin is a graphical web-based web hosting control panel designed to make administration of websites easier. – wikipedia :: DA License Make sure you have DA License before installing DirectAdmin :: How to install DirectAdmin on Linux CentOS + installing dependency for DA # yum install gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev + installing DA # wget http://www.directadmin.com/setup.sh # chmod 755 setup.sh # ./setup.sh :: Testing Open DA using your web browser on : http://youripaddress:2222 :: Link + Google + DirectAdmin

:: curl-config on debian

:: curl-config: not found If during installing Git you get error like: [ root: git-1.7.5.4 ]# make configure /bin/sh: curl-config: not found make: `configure' is up to date. You can fix that issue with : # aptitude install libcurl3-gnutls-dev libcurl3-openssl-dev :: Links o Google

:: how to install pcre on centos

:: downloading pcre # wget http://sourceforge.net/projects/pcre/files/pcre/7.6/pcre-7.6.tar.gz :: extract and build pcre on linux centos # tar -xzf pcre-7.6.tar.gz # cd pcre-7.6 # ./configure --enable-utf8 --enable-unicode-properties # make && make install :: checking pcre version # pcretest -C PCRE version 7.6 2008-01-28 Compiled with UTF-8 support Unicode properties support Newline sequence is LF \R matches all Unicode newlines Internal link size = 2 POSIX malloc threshold = 10 Default match limit = 10000000 Default recursion depth limit = 10000000 Match recursion uses stack :: links + google + chrisjean

:: install rapidleech on linux / vps

:: whatis rapidleech please take a look this :: how to install rapidleech on vps / linux $ cd /home/user/public_html/ $ wget http://rapidleech.googlecode.com/files/rapidleech-svn322.zip $ unzip rapidleech-svn322.zip $ mv r322/ rl $ chmod 777 rl/files/ rl/configs/ rl/configs/files.lst open your rl on: yourdomain.tld/rl :: links + googlelinux + tutorit

:: setup qemu bridged networking on linux ubuntu

:: setup qemu bridged network + make / setup bridge on interface $ sudo vi /etc/network/interfaces # setup like : auto lo iface lo inet loopback auto br0 iface br0 inet static address 10.100.100.81 netmask 255.255.255.0 network 10.100.100.0 broadcast 10.100.100.255 gateway 10.100.100.1 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off + restarting network interfaces $ sudo /etc/init.d/networking restart :: starting qemu add network options: -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup ex: $ sudo qemu -cdrom install-x86-minimal-20110111.iso -hda gentoo -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup :: link + googlelinux + iank

:: xen error: boot loader didn't return any data!

:: xen error Error: Kernel image does not exist: /tmp/vmlinuz.ePFTKG or Error: Boot loader didn't return any data! :: how to fix the error - edit file configure for xen domain $ cd /etc/xen/vm/ $ vi xendomain remove line: kernel="/tmp/vmlinux.blabla" add this line: bootloader="/usr/bin/pygrub" - re-create domain config file $ xm create /etc/xen/vm/xendomain - start xen domain if domain not starting $ xm start xendomain :: link + googlelinux + xensource

:: backup all mysql databases

:: what is please take a look this :: backing up all mysql databases used mysqldump command $ mysqldump --all-databases -u root -p | gzip -9 > db_all.sql.gz Enter password: :: restoring all mysql databases $ tar -xzf db_all.sql.gz $ mysql -u root -p < db_all.sql Enter password: :: links + googlelinux + netadmintools

:: installing google apache mod_pagespeed

:: whatis mod_pagespeed please take a look this.. :: download and compile mod_pagespeed + download depot_tools [ linux: ~ ]# mkdir ~/bin [ linux: ~ ]# cd ~/bin [ linux: bin ]# svn co http://src.chromium.org/svn/trunk/tools/depot_tools [ linux: bin ]# export PATH=$PATH:~/bin/depot_tools + download mod_pagespeed source-code [ linux: ~ ]# mkdir mod_pagespeed [ linux: ~ ]# cd mod_pagespeed/ [ linux: mod_pagespeed ]# gclient config http://modpagespeed.googlecode.com/svn/tags/0.9.10.1/src [ linux: mod_pagespeed ]# gclient sync --force :: compiling mod_pagespeed [ linux: ~ ]# cd ~/mod_pagespeed/src [ linux: src ]# make BUILDTYPE=Release [ linux: src ]# cd install/ [ linux: install ]# ./install_apxs.sh use that command if your apache installed from source.. if your apache installing from repository, do this: [ linux: install ]# make staging [ linux: install ]# make install [ linux: install ]# make stop start :: restarting apache [ linux: install ]# /usr/local/apache2/b

:: login terminal server on console mode

:: error remote login on w2k3 if you connecting w2k3 and got error: "the terminal server has exceeded the maximum number of allowed connections" you can login to the server with console mode. :: how to login terminal server on console mode # linux / rdesktop [ linux: ~ ]$ rdesktop -0 -u administrator -p adminpassword 10.10.10.10 # windows c:\> mstsc -console 10.10.10.10 :: links + googlelinux + geegwithblogs + man rdesktop

:: installing blankon linux on pc

:: whatis blankon linux BlankOn is a Linux Distribution developed by Yayasan Penggerak Linux Indonesia (YPLI) and BlankOn developers, which aims to build a linux distribution according to the needs of Indonesian computer users. -[ http://www2.blankonlinux.or.id/english/ ]- :: how to install blankon on pc 0. download file .iso blankon linux on this 1. burn on the cd (livecd) or run it on liveusb 2. booting blankon linux in the pc and click "install blankon" 3. follow instruction on the screen :: links + googlelinux + blankonlinux

:: how to fix error: failed to convert frame to gd image

:: error gd image on ffmpeg-php Fatal error: failed to convert frame to gd image in blahblabhblah :: how to fix failed to convert frame to gd - make sure your php supported gd ( compiled with gd ) [ linux: ~ ]# php -i | grep gd - install re2c [ linux: ~ ]# zypper in re2c - download and install ffmpeg lasted version [ linux: ~ ]# svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg [ linux: ~ ]# cd ffmpeg [ linux: ffmpeg ]# ./configure --disable-mmx --enable-shared --enable-gpl --enable-pthreads --disable-static --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-libx264 --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-nonfree --enable-version3 --enable-swscale [ linux: ffmpeg ]# make && make install you can get more detail on this - download and install ffmpeg-php to lasted version [ linux: ~ ]# svn co https://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php ffmpeg-php [ linux: ~ ]# cp -rf ffmpeg