Eray Aydın

Eray Aydın

12 thoughts; 4 streams
last posted March 28, 2015, 11:49 a.m.
1
Konya, Turkey
Joined on March 25, 2015, 1:33 a.m.
get recent cards as: atom

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';
10 thoughts
updated March 28, 2015, 11:49 a.m.

Bring Back BackSpace Shortcut

sudo nano ~/.config/nautilus/accels

Adding this line

(gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")

Shutdown nautilus

nautilus -q
1 thought
updated March 25, 2015, 3:06 a.m.

Linking

ln -s {target} {symbolic-file}

For Example

ln -s /opt/sublime_text_3/sublime_text /bin/subl3

Result:

/bin/subl3 -> /opt/sublime_text_3/sublime_text

1 thought
updated March 25, 2015, 2:14 a.m.
1 thought
updated March 25, 2015, 3:06 a.m.
0 thoughts
updated March 25, 2015, 2:20 a.m.
10 thoughts
updated March 28, 2015, 11:49 a.m.
1 thought
updated March 25, 2015, 2:14 a.m.

Streams by this user that have been favorited by others.

No favorited streams yet.

nelovishk favorited eray
2 years, 1 month ago
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';
eray favorited orkun's stream Laravel
2 years, 2 months ago
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!
orkun favorited eray
2 years, 2 months ago
eray favorited docs's stream ThoughtStreams Changelog
2 years, 2 months ago
eray favorited orkun
2 years, 2 months ago
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
2 years, 2 months ago
0

Bring Back BackSpace Shortcut

sudo nano ~/.config/nautilus/accels

Adding this line

(gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")

Shutdown nautilus

nautilus -q
Eray Aydın
0

Linking

ln -s {target} {symbolic-file}

For Example

ln -s /opt/sublime_text_3/sublime_text /bin/subl3

Result:

/bin/subl3 -> /opt/sublime_text_3/sublime_text

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

Thoughts by this user that have been liked by others.

No liked thoughts yet.