firewall centos

when the httpd server not accesible from outside then you just Firewall Notice that in some versions of CentOS, a firewall is installed by default which will block access to port 80, on which Apache runs. The following command will open this port: sudo iptables -I INPUT -p tcp –dport 80 -j ACCEPT Remember to […]

Read More

setting java home linux centos 6.6

alternatives —config java     Selection    Command ———————————————————————–    1           /usr/java/jdk1.6.0_26/jre/bin/java    2           /usr/lib/jvm/jre–1.6.0–openjdk/bin/java    3           /usr/java/jdk1.7.0_55/jre/bin/java *+ 4           /usr/java/jdk1.8.0_25/jre/bin/java   press 3   copy path from list above pixelgun3dfan.best choiceskeys.best mycafecheats.best coinmasterfreespin.best hscapestips.best bowmasters.best tycoontips.best klondikecheats.best choicescheats.best episodepasses.best

Read More

ftp user dan password setiap kali melakukan update

yang perlu di lakukan adalah sudo nano ./wp-config.php kemudian adding define( ‘FTP_USER’, ‘userftp’ ); define( ‘FTP_PASS’, ‘passwordFtp’ ); define( ‘FTP_HOST’, ‘hostName/fqdn’ ); massivewarfaregold sheltersurvivaltips fishingclashtips warobotscoins marvelstriketips apexlegendcoins empirespuzzlestips flixgiftcard leaguelegendskins raidshagowtips.monster/”>raidshagowtips</a>

Read More

wordpress Unable to locate WordPress Content directory (wp-content).Updating Plugin

ketika mengalami ini hal pertama yang perlu di check hanyalah sebuah previllege tentang folder dan file pada folder www untuk mengatasi ini maka di perlukan langkah berikut chown www-data:www-data /var/www/html -R   worldtankstips.monster wordscapescoins.monster gardenscapescoins.monster homescapescoins.monster arknightsunits.monster drawclimbercoins.monster dentistblingmoney.monster fireemblemhero.monster archerofreegems.monster ubble3sagacoins.monstert

Read More

setting permanent environment variable di centos

taken from here for spring or on centos 7 minimal install create new file called springRoo.sh on /etc/profile.d/ export PATH={PATH_ROO}/bin save source /etc/profile.d/springRoo.sh to reload and test with reboot the system it will automatically loaded 😀 spadespluscoins.monster mergedragonsgems.monster designhomefreegems.monster boombeachdiamonds.monster battleislandsgold.monster magicmanastrikegold.monster kingavalonfreegold.monster artwarlegionsmoney.monster lordsmobilegems.monster statesurvivalbiocaps.monster

Read More

membuat environment development testing dan production

pada yii di index file kita akan merubah / menambah [code] //choose environment development $appEnv = filter_input(INPUT_ENV, ‘APPLICATION_ENV’, FILTER_SANITIZE_ENCODED); $serverName = filter_input(INPUT_SERVER, “SERVER_NAME”, FILTER_SANITIZE_SPECIAL_CHARS); if (!isset($appEnv)) { if (true === stripos($serverName, ‘localhost’)) { $appEnv = “development”; } else if (true === stripos($serverName, ‘www.meltonice.com’)) { $appEnv = “testing”; } else if (true === stripos($serverName, ‘www.kresna.host’)) { […]

Read More

redirect dengan count down

sebelum saya tertidur karena mengantuk dan kondisi kurang fit saya akan membagikan info tentang bagaimana redirect menggunakan ajax beserta count down js 😀 pertama install ecountdown action lalu set flash yang akan di tampilkan beserta countdownnya dan ajax request [code] <?php if (Yii::app()->user->hasFlash(‘order’)) { ?> <div class="flash-success"> <?php echo Yii::app()->user->getFlash(‘order’); ?> </div> <?php $this->widget(‘ext.ecountdownaction.ECountdownAction’, array( […]

Read More

install composer via brew :D

ketika akan menginstall yii2 di mac osx yang memakai composer , kemudian muncul error sebagai berikut :  brew install composer PHP Warning:  Module ‘curl’ already loaded in Unknown on line 0 composer: Missing PHP53, PHP54, PHP55 or PHP56 from homebrew-php.   kemudian saya mengatasi nya dengan browsing di google dan menemukan source yang memberikan tulisan […]

Read More

php extension untuk mac osx maverick

http://stackoverflow.com/questions/6588174/enabling-postgresql-support-in-php-on-mac-os-x The PHP version that comes bundled with OS X doesn’t include PostgreSQL. You’ll have to compile the extension yourself. Here are some instructions: Find your version of PHP: php -v. Download the version of PHP that matches yours: curl -O http://us.php.net/distributions/php-5.3.3.tar.gz. (This example downloads PHP 5.3.3 but this must match your version) Extract the […]

Read More
© 2021 IT & Photography blog | WordPress Theme : ScrollMe