Linux

Arch-Linux

10 thoughts
last posted March 28, 2015, 11:49 a.m.
0
get stream as: markdown or atom
0

PHPMyAdmin Installation

Firstly, install phpmyadmin and php-mcrypt packages.

sudo pacman -S phpmyadmin php-mcrypt

Enable extensions in php.ini

sudo nano /etc/php/php.ini

Uncomment

extension=mysqli.so
extension=mcrypt.so

Add webapps to php.ini's open_basedir path

open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/

Create new Apache configuration file in /etc/httpd/conf/extra

sudo nano /etc/httpd/conf/extra/phpmyadmin.conf

Add these lines to new file

Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
<Directory "/usr/share/webapps/phpMyAdmin">
    DirectoryIndex index.php
    AllowOverride All
    Options FollowSymlinks
    Require all granted
</Directory>

Include new file in httpd.conf (bottom)

sudo nano /etc/httpd/conf/httpd.conf
Include conf/extra/phpmyadmin.conf

Test Installation

Auto Login (Optional)

Edit /etc/webapps/phpmyadmin/config.inc.php

$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'YOUR-MYSQL-PASSWORD';
0

World Of Warcraft Installation

Install wine and extras

sudo pacman -S wine
sudo pacman -S wine-mono
sudo pacman -S wine-gecko

Download Battle.net World Of Warcraft Client

Start with wine

wine World-of-Warcraft-Setup-enGB.exe
0

Enabling Phar Extension

Edit /etc/php/php.ini file with any text editor.

sudo nano /etc/php/php.ini

Uncomment this lines:

;extension=phar.so
;extension=openssl.so

Add this string to end of open_basedir declaration

:/usr/local/bin

Restart service

sudo systemctl restart httpd
0

Virtual Host Manager for Arch Linux

Gist

~$ sudo chmod +x vhost-manager.py
~$ sudo ./vhost-manager.py -m add -n vserver1
Creating project folder...
Creating public_html folder...
Creating virtual host file...
Adding to hosts file...
Restarting httpd service...
DONE!

sudo ./vhost-manager.oy -m remove -n vserver1
Removing project folder...
Removing virtual host file...
DONE!
0

PHP Mcrypt Module Installation

First download and install mcrypt module.

sudo pacman -S php-mcrypt

Add module to php.ini

sudo nano /etc/php/php.ini

Uncomment mcrypt module

extension=mcrypt.so
0

Composer Installation

Its very easy!

sudo pacman -S php-composer
0

Sublime Text Linux x86_64 Cracking Guide

Build 3080

Offset: 0xcbe3

Original: 85

Crack: 39

cd /opt/sublime_text_3
sudo sed -i 's/\xf3\x01\x00\x85\xc0\x0f/\xf3\x01\x00\x39\xc0\x0f/' sublime_text
cd /bin/
sudo rm subl3
sudo ln -s /opt/sublime_text_3/sublime_text subl3
0

Sublime Text Installation

For Sublime Text Stable Version (2)

sudo pacman -S sublime-text

For Sublime Text Dev Version (3)

sudo pacman -S sublime-text-dev
0

Arch Linux Installation Guide

Note: Article language is Turkish

You can read in my blog post

0

PHPStorm

For install phpstorm, use this method

sudo pacman -S phpstorm

If you want try phpstorm (15 days)

sudo pacman -S phpstorm-eap