Skip to main content

Posts

Simple Step Installing WordPress in Ubuntu 24.04

Using ols1clk.sh Script This step will: Install OpenLiteSpeed Install PHP Secure your server Install MySQL Set up WordPress Run the script: bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) -w  Configuring WordPress Open your browser and navigate to your domain: http://yourdomain.com You’ll be greeted by the famous WordPress installation wizard. Follow these steps: Select your preferred language. Enter your site title, username, and password for the WordPress admin account. Click "Install WordPress." And just like that, you’ve done it!

FreeBSD: How to Resize Root Partition

Set debugflags sysctl kern.geom.debugflags=16 Resize root partition Show the current partition gpart show => 40 8388528 da0 GPT (30G) [CORRUPT] 40 1024 1 freebsd-boot (512K) 1064 7965696 2 freebsd-ufs (3.8G) 7966760 421808 - free - (206M) Apply the partition /etc/rc.d/growfs onestart Growing root partition to fill device Adding swap partition da0 recovered da0p3 added da0p2 resized super-block backups (for fsck_ffs -b #) at: 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808, 23048256, 24328704, 25609152, 26889600, 28170048, 29450496, 30730944, 32011392, 33291840, 34572288, 35852736, 37133184, 38413632, 39694080, 40974528, 42254976, 43535424, 44815872, 46096320, 47376768, 48657216, 49937664, 51218112, 52498560, 53779008, 55059456, 56339904 Metadata value stored on da0p3. Done. Check the result df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs ...

:: How to Recompile Nginx in Ubuntu

  Recompiling Nginx on Ubuntu can be a crucial task for those who need to customize their web server to meet specific requirements. Whether you need to add new modules, optimize performance, or apply patches, recompiling Nginx allows you to tailor the server to your needs. This guide will walk you through the process step-by-step, ensuring you have a smooth and successful recompilation.   Understanding the Need for Recompilation Why Recompile Nginx? Recompiling Nginx is often necessary when you need to add or remove modules that are not included in the default package. For instance, if you need to integrate a third-party module for enhanced security or performance, recompilation is the way to go. Additionally, recompiling allows you to apply custom patches or optimizations that can significantly improve your server's efficiency. Benefits of Custom Compilation Custom compiling Nginx offers several advantages. Firstly, it provides greater control over the server'...

:: Enable suPHP in Apache2 on Linux Ubuntu

  :: How to enable suPHP in Apache2 + Installing libapache2-mod-suphp in Ubuntu $ sudo apt-get install libapache2-mod-suphp + Enable mod_suphp for Apache2 in Ubuntu $ sudo a2enmod suphp + Restarting Apache2 for enable suphp on the fly $ sudo service apache2 restart + Checking suphp is enable create php file and add this line: <?php phpinfo(); ?> open that file and see on this line: Server API CGI/FastCGI :: Links + Google

:: 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

:: How to enable Java on Google Chrome in Linux Debian

:: How to enable Java on Google Chrome + Installing Java on Linux Debian # aptitude install sun-java6-jre sun-java6-plugin + Create 'plugins' directory # mkdir /opt/google/chrome/plugins + Soft-link the plugins file # ln -s /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libnpjp2.so /opt/google/chrome/plugins/ :: Links + Google + SuperUser